Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #852631

    Hey guys,

    On my homepage, http://www.ccyran.com

    Is there a way to code “↓ View my latest work below” so that if it’s clicked on, it pushes to the next section of the page?

    Thanks!
    Chris

    #852987

    Hey ccyran,
    You could add a Anchor link to your page. Or use this to make it a link:

    <a href="#next-section" class="myscroll">↓ View my latest work below</a>

    and add this css:

    a.myscroll {text-decoration: none!important;}

    Best regards,
    Mike

    #853603

    Hey Mike,

    I see, currently, this is what I have for the styling of that text…

    “<h5 style=”text-align: center;”><span style=”font-size: 20px; font-family: ‘Rubik Light’; line-height: 1.2em;”><span style=”color: #f9f9f9;”>↓ View my latest work below</span></span></h5>”

    where would I add “↓ View my latest work below

    And how could I do it so that it pushes completely to the next section? I have it done on my site right now, but it doesn’t go completely to the next page.

    thanks!
    Chris

    • This reply was modified 7 years, 3 months ago by ccyran.
    #854747

    Hi,

    You can add it in a text or code block element.

    Best regards,
    Ismael

    #854927

    Hey Ismael,

    Apologies, I’m a bit confused how to do that. Could you explain a bit further?

    Currently is works on my site, http://www.ccyran.com, but it doesn’t push completely down to the next page with the red background.

    Thank you,
    Chris

    #855233

    Hi,

    Thank you for the update. I can see the issue now. Please try this filter in the functions.php file to increase the scroll offset.

    add_filter('avf_header_setting_filter', 'avf_header_setting_filter_mod', 9999, 1);
    function avf_header_setting_filter_mod($header) {
    	$header['header_scroll_offset'] = $header['header_scroll_offset'] + 48;
    	return $header;
    }

    Best regards,
    Ismael

    #860751

    Hey Ismael,

    I tried that but it looks like it doesn’t push down further. it actually does the opposite. Can you help?

    Thanks!

    #860755

    I think I solved it! Let me know if this was correct…

    By making the “+” “-“

    #861252

    Hi,

    Yes, that’s correct. Glad that you figured it out. :)

    Best regards,
    Ismael

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