Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #629280

    Hi,
    I would like to put an anchor link on the three images in an accordion slider so that when the user clicks the image, the page scrolls down to a portfolio grid.

    I have tried putting the portfolio grid inside a colour section to add the anchor link, but the portfolio grid is no longer full width, and I want it to be full width.

    I have attached a link to the page in question.

    I have also tried adding a code block containing something similar to below

    <div id="your-anchor"></div>
    

    but the code block leaves some space on the page, and I don’t want to change that. Can you please help.
    I include a link to the page in question below.

    Thanks in advance…

    #629283

    Hey jonrouse!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    #your-anchor { clear: both !important; }

    Best regards,
    Yigit

    #629317

    Thanks Yigit,

    That doesn’t work. I’ve left the code as “your-anchor” so you can see the page still.
    There is still an empty box where the code block appears.

    I see this when I inspect the page code

    <div id="after_full_slider_0" class="main_color av_default_container_wrap container_wrap fullsize"><div class="container"><div class="template-page content  av-content-full alpha units"><div class="post-entry post-entry-type-page post-entry-151"><div class="entry-content-wrapper clearfix">
    <section class="avia_codeblock_section avia_code_block_0" itemscope="itemscope" itemtype="https://schema.org/CreativeWork"><div class="avia_codeblock " itemprop="text"> <div id="your-anchor"></div> </div></section>
    </div></div></div></div><!-- close content main div --></div>

    Any ideas?

    EDIT: I found this when googling the after_full_slider_0 bit.

    .page-id-151 #after_full_slider_0 .content {
    min-height: 0!important;
    padding: 0;
    }

    Is this a bonafide fix?

    • This reply was modified 8 years, 6 months ago by jonrouse.
    #630161

    Hi,

    To make the portfolio section full width please use a stretched layout from Enfold > General Layout > Layout > stretched layout

    It appears you are currently using a boxed layout. The current structure will be difficult to modify using custom css to make the colorsection fullwidth.

    Best regards,
    Vinay

    #630169

    I already fixed it. See my edit.

    #630736

    Hey!

    Yes, your solution is fine :)
    Let us know if you have any other questions or issues

    Regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.