Make Offscreen Sliding Content Without Hurting SEO [duplicate]
- by etangins
This question already has an answer here:
How bad is it to use display: none in CSS?
5 answers
On my website I have content which is positioned off the screen, and then slides in when you click a button. For example, when you click the news button, content slides in with news.
It didn't occur to me that this might be labeled as a black hat SEO technique, because I have content positioned off the screen with CSS that links elsewhere on my site, and a search engine could very easily interpret that as me hiding content for SEO purposes by positioning it off screen.
Obviously, my intention was not to hide content, but was to make a sort of UI/UX content slider where content slides into view when a button is clicked. How can I make something to this effect (where content slides in and out), that would not comprise SEO?