Hard coded link jumps to id anchor. on third try scroll to. help
-
I’m really confused on this one. I’ve tried a bunch of different ways to code this. The rel=”m_PageScroll2id” technique, class “ps2id” and selector change in the plugin settings (which I’m not sure if I’m doing it correctly). I’m using a font awesome down angle icon as the hyperlink to a id anchor tag.
Interestingly, if I include a semi-colon after the syntax of the href
—
<i class=”fa fa-angle-down fa-2x arrowfa”></i>
—
If seems to scroll to anchor correctly the majority of times but doesn’t show in address bar (which is fine by me).__________________________________________
My coding attempt:
<i class=”fa fa-angle-down fa-2x arrowfa”></i>
<i class=”fa fa-angle-down fa-2x arrowfa”></i>
Changing the plugin selector settings (now this I’m confused on as I don’t know if I’m properly write multiple parameters, if I do so within your plugin or in my styles.css.
Your web page instructions:
To enable the plugin on any link that has a hash (#) in its URL, insert a[href*=#]:not([href=#]) as a single selector._________________________________________
Thoughts? I’d really appreciate any coding help.
Thanks
https://manos.malihu.gr/page-scroll-to-id-for-wordpress-tutorial/#menu-links-alt-section
- The topic ‘Hard coded link jumps to id anchor. on third try scroll to. help’ is closed to new replies.