adyrockstar
Forum Replies Created
-
Forum: Plugins
In reply to: [Table of Contents Plus] How to customize anchors with CSS?Welcome. You can now mark this topic as ‘resolved’.
Thanks!Forum: Plugins
In reply to: [Table of Contents Plus] How to customize anchors with CSS?I researched and found that the option to adjust the offset is actually there in TOC+ settings, but to do that, first you need to enable the “smooth scroll effect” in the settings and then follow the additional steps:
1) go to wp-admin, settings, toc+
2) Enable “Enable smooth scroll effect” and click update options.
3) Click on “advanced” at the bottom of this same “toc+” screen
4) Add px under “Smooth scroll top offset” (for me it was 95px).
5) click “update options” – done.
However, as I mentioned in my previous comment, if your sticky header is disabled on mobile devices, then the anchored reference will be a little below the mark in the mobile device (depending upon the value of your offset). If you can live with that, then this is the optimal solution for this issue I guess.
Forum: Plugins
In reply to: [Table of Contents Plus] How to customize anchors with CSS?I too face the same issue. The problem with modifying margin-top is that it would look awkward on the mobile devices where the sticky header is disabled. Can developers please come up with a solution for this issue?