-
AuthorPosts
-
March 20, 2014 at 11:30 am #240641
Hello
I have had a anchor in a page and a link to this anchor at the top of the page.
When I click this link, yes the smoothscrool works but do not go at the exact position of the anchor
Maybe something to change in the $.fn.avia_smoothscroll = function(apply_to_container) ?
thanksMarch 21, 2014 at 10:27 am #241076Hi pako69!
You can try to use the “Color Section” and the “Section ID” option: http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/color-section-ID.png to set a target for the smooth scroll effect. Also see: http://kriesi.at/documentation/enfold/add-anchors-to-your-page-for-single-page-navigation/ . The anchor element itself is probably too small for a proper viewport adjustment.
Best regards,
PeterMarch 21, 2014 at 10:37 am #241082This reply has been marked as private.March 24, 2014 at 8:24 am #241965Hi!
You shouldn’t be using
<a name="ecosystem">as it isn’t supported in html5. I’m not actually getting an issue on the page with the link/location of the anchor but that could be related.Regards,
DevinMarch 24, 2014 at 8:54 am #241979Hello Devin
Anchor are not html? I was not aware about that… Regardless, everybody use anchor, isn’t it ?“I’m not actually getting an issue on the page with the link/location of the anchor but that could be related.”
I do not understand… You are saying that it worls for you?March 27, 2014 at 8:43 am #243701Hey!
Try to place the headline inside the a href element:
<a name="ecosystem">L’écosystème SQLI</a>The height of the element must be 1px or more. Otherwise the smoothscroll animation doesn’t work.
Regards,
PeterMarch 27, 2014 at 9:07 am #243712This reply has been marked as private.March 29, 2014 at 8:30 pm #244876Regarding its usage: http://www.w3.org/TR/html5/obsolete.html
For example on the kriesi.at home page the “our themes” anchor link code looks like this:
<a href="#our-themes" class="avia-double-button avia-double-button-2">Learn More</a> -
AuthorPosts
- You must be logged in to reply to this topic.
