
-
AuthorPosts
-
August 23, 2019 at 10:38 am #1130276
Good Morning,
on our homepage there is a button to scroll up. Where can I find this Button to change / activate / deactivate it?
I would like to add a button that does the opposite. Scroll down. How can I accomplish this?
Thanks in advance for your help!
Regards
N. FrommelAugust 23, 2019 at 5:26 pm #1130419Hey acmaerospace,
Please have a look at the following threads
https://kriesi.at/support/topic/enfold-remove-scroll-top-button/
Best regards,
VictoriaAugust 26, 2019 at 11:52 am #1130920Hi Victoria,
for testing I tried the styling suggested in your Link.
Unfortunatly the button doesn’t change its color.
August 27, 2019 at 5:50 am #1131193Hi,
Thanks for the screenshot, could you post a link to where we can see the actual element as well please?
Best regards,
RikardAugust 27, 2019 at 7:40 am #1131239Hi Rikard,
please see the following link to our homepage.
The button appears when you scroll down on the page.
Regards,
N. FrommelAugust 27, 2019 at 12:28 pm #1131294Scroll down to what position ? Footer ?
if you do not need the scroll to top button – just use that for your needs
it has an absolute position so you can shift him anywhere you like:#scroll-top-link { right: inherit; bottom: inherit; left: 20px; top: 90px; } #scroll-top-link::before { content: "\e87b"; }
the second rule changes that arrow to an arrow down!
now the link if you link to the #socket ( otherwise give a link target your want on that page – best would be a unique ID )
do this to your child-theme functions.php:function change_href_of_scroll_top_link(){ ?> <script> (function($) { $('#scroll-top-link').attr("href", "#socket"); $('#scroll-top-link').attr("title", "Scroll to bottom") $('.avia_hidden_link_text').text('Scroll to bottom'); })(jQuery); </script> <?php } add_action('wp_footer', 'change_href_of_scroll_top_link');
Now the only thing is that the button appears the same manner like the scroll to top button ( after some scrolling) this could be changed too.
August 29, 2019 at 4:18 pm #1131950Hi acmaerospace,
Did you try the solution suggested above? Did you get it working for you or do you need more help?
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.