-
AuthorPosts
-
September 24, 2019 at 10:05 am #1141308
Hi,
In my website i’m using Color section with some elements inside.
I have activated the tick to display the down arrow to go to the next section, but if i click on it it doesn’t lead me below, the pages don’t move and the arrow seems to be disabled.
Any tips?
Thanks for the support!September 24, 2019 at 5:45 pm #1141479Hey Real-3D,
You have to give the grid below an ID of #next-section.
Best regards,
Jordan ShannonSeptember 24, 2019 at 5:59 pm #1141488Hi Jordan and thanks for your reply.
I’ve never used ID-section, so i don’t know how it works.
I tried to insert as you said the text “#next-section” in the below “section ID for developers” dut it didn’t change anything.
Maybe I’m missing out something?
Thanks and best regardsSeptember 26, 2019 at 7:25 pm #1142462Hi,
Show us please what you are doing and on which page
Best regards,
BasilisSeptember 27, 2019 at 8:56 am #1142599Hi and thanks.
I link the 2 pages of my website here in Private Content.
As said in the question I have activated the tick to display the down arrow to go to the next section (the issue is on the first section with image at the top of the pages), but if i click on it it doesn’t lead me below, the pages don’t move and the arrow seems to be disabled.
Jordan said to use “an ID of #next-section” but I don’t know how to do it.
Thanks!September 29, 2019 at 4:43 am #1143058Hi,
Sorry for the late reply, I have taken a look at your pages and it looks like you have hidden sections at the top of the page for mobile devices. So for mobile the down arrows are working but for desktop they are not because you will now have duplicate matching IDs
So for both of these pages, on desktop, the next ID is av-layout-grid-1, we can correct this with some javascript.
First, to ensure that we only target the correct links you will need to add a custom ID to the color sections that contain the down arrow links that are not working correctly, please use “change_down_arrow”
If you don’t see the developer tab in the color section, please enable at: Enfold Theme Options > Layout Builder > Builder Options For Developers > ID attribute input field
Then add this code to the end of your child theme functions.php file in Appearance > Editor:function change_down_arrow(){ ?> <script> (function($){ $(window).load(function(){ $("#change_down_arrow a.scroll-down-link").attr("href", "#av-layout-grid-1"); }); })(jQuery); </script> <?php } add_action('wp_footer', 'change_down_arrow');
Then clear your browser cache and check.
If you have any issues with these steps, then please include an admin login in the Private Content area and I will take a look for you.Best regards,
MikeSeptember 30, 2019 at 8:48 am #1143242Hi and thanks for your kind reply.
As you said that the problem is that i have hidden sections at the top of the page for mobile devices, i tried this solution: move up or down the elements in the editor to be the first (with the down arrow) next to the second (where i need the first to be linked), and now everything is ok.
So i didn’t use ID or text functions.
Thanks a lot for the explanation and the help!
Best regardsOctober 1, 2019 at 4:56 am #1143558Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Color section arrow issue’ is closed to new replies.