-
AuthorPosts
-
September 15, 2017 at 6:17 pm #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!
ChrisSeptember 17, 2017 at 12:38 am #852987Hey 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,
MikeSeptember 18, 2017 at 10:54 pm #853603Hey 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.
September 21, 2017 at 11:35 am #854747September 21, 2017 at 3:59 pm #854927Hey 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,
ChrisSeptember 22, 2017 at 8:28 am #855233Hi,
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,
IsmaelOctober 5, 2017 at 8:47 pm #860751Hey Ismael,
I tried that but it looks like it doesn’t push down further. it actually does the opposite. Can you help?
Thanks!
October 5, 2017 at 8:54 pm #860755I think I solved it! Let me know if this was correct…
By making the “+” “-“
October 7, 2017 at 3:37 am #861252 -
AuthorPosts
- You must be logged in to reply to this topic.