Stuart Wright
Well-known member
Hello folks.
So our sticky header over at www.avforums.com means that anchors in threads are in the wrong place.
The sticky header covers up the first 94 pixels of the page.
e.g. https://www.avforums.com/threads/the-blu-ray-ripping-guide-for-media-streamers.917696/#post-8705811
^ click it and you will see the post it links to is part hidden by the header.
So what I want to do is have anchors in each post moved up by 94 pixels.
I actually fixed this problem in our editorial system by adding hidden div anchors using the class anchorOffset.
(I actually shift them up a round 100 pixels to make it look a little better).
My question is what template changes are needed to add new, hidden anchors which are used instead of the existing ones in messages? By doing this would it negatively affect SEO or anything else?
Thanks in advance for any help you can give.
So our sticky header over at www.avforums.com means that anchors in threads are in the wrong place.
The sticky header covers up the first 94 pixels of the page.
e.g. https://www.avforums.com/threads/the-blu-ray-ripping-guide-for-media-streamers.917696/#post-8705811
^ click it and you will see the post it links to is part hidden by the header.
So what I want to do is have anchors in each post moved up by 94 pixels.
I actually fixed this problem in our editorial system by adding hidden div anchors using the class anchorOffset.
Code:
.anchorOffset {
display: block;
position: relative;
top: -100px;
visibility: hidden;
}
My question is what template changes are needed to add new, hidden anchors which are used instead of the existing ones in messages? By doing this would it negatively affect SEO or anything else?
Thanks in advance for any help you can give.