[Resolved] Back to top arrow (since latest GP update)

Home Forums Support [Resolved] Back to top arrow (since latest GP update)

Home Forums Support Back to top arrow (since latest GP update)

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #1486226
    Greg

    Hi guys

    The back to top arrow seems to now be pointing downwards instead of upwards since the most recent update, any idea how to fix?

    https://ibb.co/mBVmvMb

    Thanks
    Greg

    #1486269
    David
    Staff
    Customer Support

    Hi there,

    can you clear any cache plugins, and any Server Page Caching you have?

    #1486300
    Greg

    Hi David

    Thanks for your quick reply, I’ve cleared the Autoptimize cache and still shows the same – the client is using Cloudflare, should I ask them to clear the cache for the domain there?

    Thanks
    Greg

    #1486503
    David
    Staff
    Customer Support

    If you could ask the client to clear the cloudflare/page caches. let us know.

    #1486611
    Greg

    Hi David

    Client ran a full Cloudflare cache reset and both problems still persisting, thoughts appreciated…

    Thanks
    Greg

    #1486708
    David
    Staff
    Customer Support

    Very odd… can you try disabling the Back to Top button in Customizer > Layout > Footer. Publish those changes and then re-enable it ?

    #1486955
    Greg

    Hi David, gave that a go but comes back the same unfortunately…

    Thanks
    Greg

    #1487121
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    The class for the icon isn’t correct on your site.

    Are you using any custom functions/filters?

    #1487163
    Greg

    Hi Tom

    Has the class changed? Just as I haven’t change anything on the site/theme before the recent update.

    Thanks
    Greg

    #1487164
    Greg

    Ahh just deactivated a snippet I had to make the link a followed link and it’s back to facing the correct direction! Any idea which part may have changed?

    
    add_filter( 'generate_back_to_top_output', 'tu_custom_back_to_top_icon' );
    function tu_custom_back_to_top_icon() {
        printf(
    		'<a title="%1$s" href="#">
    				<span class="screen-reader-text">%5$s</span>
    				%6$s
    			</a>',
    			esc_attr__( 'Scroll back to top', 'generatepress' ),
    			absint( apply_filters( 'generate_back_to_top_scroll_speed', 400 ) ),
    			absint( apply_filters( 'generate_back_to_top_start_scroll', 300 ) ),
    			esc_attr( apply_filters( 'generate_back_to_top_icon', 'fa-angle-up' ) ),
    			esc_html__( 'Scroll back to top', 'generatepress' ),
    			generate_get_svg_icon( 'arrow' )
    	);
    }

    `

    #1487168
    Tom
    Lead Developer
    Lead Developer

    You want to change arrow to arrow-up: https://github.com/tomusborne/generatepress/blob/3.0.1/inc/structure/footer.php#L241

    That should fix it πŸ™‚

    #1487172
    Greg

    Awesome thanks Tom, that has indeed fixed it πŸ™‚
    Any ideas on the double arrows I’m getting on the WP Show Posts carousel, wondering if it’s a similar issue?

    add_filter( 'wpsp_carousel_args', function( $args ) {
        $args['arrows'] = true;
    	
        return $args;
    } );

    Thanks
    Greg

    #1487175
    Tom
    Lead Developer
    Lead Developer

    Check your Simple CSS for slick-related CSS: https://www.screencast.com/t/HmvQbFE9MkU

    #1487195
    Greg

    All sorted, thanks Tom – not quite as I had it before but that’s down to my CSS!

    Appreciate the quick help πŸ™‚

    #1487200
    Tom
    Lead Developer
    Lead Developer

    No problem!

Viewing 15 posts - 1 through 15 (of 19 total)
  • You must be logged in to reply to this topic.