Saturday, December 4, 2021

Hiding a piece of text seo friendly way

Hi. I have a huge description on my homepage and of course I can't show it all. That's why I decided to hide some of it with a combination of JS + CSS. Users can unfold the rest of the description with one click and everything is visible in page source.

The text is hidden via such CSS:

.hidden-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

Do you guys thing this approach is ok? Or should I hide the text any other way?

submitted by /u/kacperq
[link] [comments]

from Search Engine Optimization: The Latest SEO News https://www.reddit.com/r/SEO/comments/r8os5q/hiding_a_piece_of_text_seo_friendly_way/>

No comments:

Post a Comment