• Resolved fanny300

    (@fanny300)


    Hello,

    I’m french,

    I have a custom image for the scroll top button. The plugin displayed this line : “<style>a.scrollup-image {background-image: url(“‘.$scrollup_custom_image.'”) !important; }</style>”. which isn’t valid w3c.

    So i change by :

    global $wp_styles;
    $wp_styles->add_inline_style(‘styleSmoothScrool’, ‘ a.scrollup-image {background-image: url(“‘.$scrollup_custom_image.'”) !important; }’);
    $wp_styles->enqueue(array(‘styleSmoothScrool’));

    If you can add it for your future update, for the w3c validation ?

    Thanks.

    https://www.ads-software.com/plugins/smooth-scroll-up/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘W3c’ is closed to new replies.