- This topic has 57 replies, 7 voices, and was last updated 2 years, 9 months ago by Michael.
April 29, 2016 at 11:56 pm #190513xyz
The above works beautifully. I found it here – http://stackoverflow.com/questions/17534661/make-anchor-link-go-some-pixels-above-where-its-linked-to
after completely not being able to work out where to put the
Happy.April 29, 2016 at 11:59 pm #190514xyz
<p style="position: relative;"><a id="economics" style="position: absolute; top: -100px;" name="economics"></a></p>
Happier now I finally figured that bit out as well.April 30, 2016 at 12:02 am #190516TomLead DeveloperLead DeveloperApril 30, 2016 at 12:13 am #190522xyz
Thanks for your perseverance Tom, I appreciate it. I’m enjoying playing in GeneratePress.
Cheers.April 30, 2016 at 9:53 am #190617TomLead DeveloperLead DeveloperJuly 13, 2016 at 2:51 pm #209388Bin
Hi. Wouldn’t this plugin the easier way to solve the problem (until Tom integrates his own solution! ;))
Cheers, BinJuly 13, 2016 at 5:29 pm #209412TomLead DeveloperLead DeveloperJuly 14, 2016 at 7:41 am #209591Bin
Yes, but unfortunately NOT perfect as i found out last night. If you click an anchor link (absolute link!) from the actual/same page (e.g. a top menu button) it does not work properly. It’s really a pity! The very best option would be: YOU (Dear Tom) integrate a plugin that fits perfectly into GP!!! Maybe there is one on the way already???
Bye, BinJuly 14, 2016 at 9:08 am #209635TomLead DeveloperLead DeveloperJuly 14, 2016 at 9:33 am #209642Bin
OK, sounds good.
By the way, you solved the problem by using the section-ID for the INSTALL-Button on your page:
But the url “…/#generate-section-2” is not soooo good for SEO! 😉
Is there a way to rename/customize the Section-Name?July 14, 2016 at 6:00 pm #209821TomLead DeveloperLead Developer
I’m afraid not, but you can add an anchor into your section content and link to it:
<a name="my-seo-friendly-id"><!-- anchor --></a>July 15, 2016 at 8:52 am #210009BinJuly 15, 2016 at 12:07 pm #210083TomLead DeveloperLead DeveloperJuly 15, 2016 at 3:41 pm #210152Bin
Wow, that would be great! Thanks, BinJuly 16, 2016 at 8:58 am #210324Bin
AND a Section-CTA-Button-Field would even be greater! ;))
- You must be logged in to reply to this topic.