Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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!

    #1141479

    Hey Real-3D,

    You have to give the grid below an ID of #next-section.

    Best regards,
    Jordan Shannon

    #1141488

    Hi 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 regards

    #1142462

    Hi,

    Show us please what you are doing and on which page

    Best regards,
    Basilis

    #1142599

    Hi 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!

    #1143058

    Hi,
    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
    2019-09-28-221654
    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
    2019-09-28-223544
    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,
    Mike

    #1143242

    Hi 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 regards

    #1143558

    Hi,
    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Color section arrow issue’ is closed to new replies.