- This topic has 18 replies, 4 voices, and was last updated 4 months, 1 week ago by
David.
-
AuthorPosts
-
October 13, 2020 at 2:23 am #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?
Thanks
GregOctober 13, 2020 at 2:49 am #1486269David
StaffCustomer SupportHi there,
can you clear any cache plugins, and any Server Page Caching you have?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 13, 2020 at 2:59 am #1486300Greg
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
GregOctober 13, 2020 at 4:54 am #1486503David
StaffCustomer SupportIf you could ask the client to clear the cloudflare/page caches. let us know.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 13, 2020 at 6:18 am #1486611Greg
Hi David
Client ran a full Cloudflare cache reset and both problems still persisting, thoughts appreciated…
Thanks
GregOctober 13, 2020 at 7:18 am #1486708David
StaffCustomer SupportVery odd… can you try disabling the Back to Top button in Customizer > Layout > Footer. Publish those changes and then re-enable it ?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 13, 2020 at 8:22 am #1486955Greg
Hi David, gave that a go but comes back the same unfortunately…
Thanks
GregOctober 13, 2020 at 10:03 am #1487121Tom
Lead DeveloperLead DeveloperHi there,
The class for the icon isn’t correct on your site.
Are you using any custom functions/filters?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 13, 2020 at 10:30 am #1487163Greg
Hi Tom
Has the class changed? Just as I haven’t change anything on the site/theme before the recent update.
Thanks
GregOctober 13, 2020 at 10:32 am #1487164Greg
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' ) ); }
`
October 13, 2020 at 10:33 am #1487168Tom
Lead DeveloperLead DeveloperYou want to change
arrow
toarrow-up
: https://github.com/tomusborne/generatepress/blob/3.0.1/inc/structure/footer.php#L241That should fix it π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 13, 2020 at 10:35 am #1487172Greg
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
GregOctober 13, 2020 at 10:37 am #1487175Tom
Lead DeveloperLead DeveloperCheck your Simple CSS for slick-related CSS: https://www.screencast.com/t/HmvQbFE9MkU
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 13, 2020 at 10:50 am #1487195Greg
All sorted, thanks Tom – not quite as I had it before but that’s down to my CSS!
Appreciate the quick help π
October 13, 2020 at 10:51 am #1487200Tom
Lead DeveloperLead DeveloperNo problem!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.