Just a tip.  Take it or leave it.  You can replace your display:none!important! codes inside your custom CSS with this more search engine friendly code, just make sure nothing snaps out of (or into) place before saving.

Use this instead:

#yourcontent {
position: absolute;
left: -9999px;
}


What does this code do?

It elegantly removes an item from the page, without affecting page flow or causing scrollbars. Much better than display: none; or even visibility: hidden;

Tags: CSS, SEO, display, none, tip, trick

Views: 496

Reply to This

Replies to This Discussion

Nice. Depends what you're hiding though, from an SEO point of view, surely?
Site description might make a difference, for example. Hiding things like add buttons etc won't make much difference.

SP

How about using javascript to hide  elements?

im gonna make an educated assumption but i'll look more into it bernard....  because search engines do not read navigations injected with javascript, i would assume that removing elements with javascript would be effective visually, but in reverse injecting javascript elements may not be so good for SEO... and because javascript elements are technically removed after the page loads, those elements still exist on page

good :D

RSS

Latest Activity

Strumelia replied to Shannon's discussion 'VOTE - NING 2.0 or NING 3.0'
"Huh??  Can you elaborate on this please?  or point us to where this is stated or shown?"
12 minutes ago
Cindy replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"I coppied all the stuff you posted and I'll check a bit later when the head feels clearer. I…"
3 hours ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Sorry for that.  Sometimes they fall between the cracks during the week b/c so many have full…"
3 hours ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Yes sometimes we need to step back and let it all sink in as 3.0 is quite different from the 2.0 we…"
3 hours ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Phoron since we've gone off topic here, why don't you begin a forum post of questions and…"
3 hours ago
Kos replied to Allison Leahy's discussion 'What is your Ning 3.0 URL?' in the group The Sandbox
"Do you mean the background image behind your avatar?   Members can upload at the right…"
3 hours ago
Kos replied to Donna Mac's discussion '3.0 Video - can someone explain?'
"idk what else Ning (if any) Ning will be releasing with respect to videos but they way it stands a…"
4 hours ago
Crestini Activi ! replied to Rafael's discussion 'Multiple Chat rooms for Ning 3.0'
"Im loving the idea !!! I was thinking about this idea before, but I thought that if I was going to…"
4 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service