- This topic has 18 replies, 4 voices, and was last updated 3 years, 6 months ago by David.
-
AuthorPosts
-
October 13, 2020 at 2:23 am #1486226Greg
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 #1486269DavidStaffCustomer SupportHi there,
can you clear any cache plugins, and any Server Page Caching you have?
October 13, 2020 at 2:59 am #1486300GregHi 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 #1486503DavidStaffCustomer SupportIf you could ask the client to clear the cloudflare/page caches. let us know.
October 13, 2020 at 6:18 am #1486611GregHi David
Client ran a full Cloudflare cache reset and both problems still persisting, thoughts appreciated…
Thanks
GregOctober 13, 2020 at 7:18 am #1486708DavidStaffCustomer SupportVery odd… can you try disabling the Back to Top button in Customizer > Layout > Footer. Publish those changes and then re-enable it ?
October 13, 2020 at 8:22 am #1486955GregHi David, gave that a go but comes back the same unfortunately…
Thanks
GregOctober 13, 2020 at 10:03 am #1487121TomLead DeveloperLead DeveloperHi there,
The class for the icon isn’t correct on your site.
Are you using any custom functions/filters?
October 13, 2020 at 10:30 am #1487163GregHi 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 #1487164GregAhh 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 #1487168TomLead 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 π
October 13, 2020 at 10:35 am #1487172GregAwesome 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 #1487175TomLead DeveloperLead DeveloperCheck your Simple CSS for slick-related CSS: https://www.screencast.com/t/HmvQbFE9MkU
October 13, 2020 at 10:50 am #1487195GregAll 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 #1487200TomLead DeveloperLead DeveloperNo problem!
-
AuthorPosts
- You must be logged in to reply to this topic.