I would like to hide the header in my home page, so this is the code I'm using
#index postheader {
visibility: none;
}
Yet, it still show up. What am I missing here?
Regards,
Angela
I would like to hide the header in my home page, so this is the code I'm using
#index postheader {
visibility: none;
}
Yet, it still show up. What am I missing here?
Regards,
Angela
assuming that the selectors are right, check the css:
http://www.w3schools.com/cssref/pr_class_visibility.asp
just a guess - i have no possibility checking it without a link to your site.
Oh my, newbie mistake, thanks for the heads up. But, the header is still not gone. This is the CSS now:
#index postheader {
visibility: hidden;
}
Regards,
Angela
can you post a link to the site?
is postheader a css class?
in which case it might need a dot . before the name:
.postheader
Try:
#index .postheader {
display:none;
}
Or if you want the content to be seen by screen readers, use:
#index .postheader {
position:absolute;
left: -1000em
}Nada, I have no idea why. But I do think that, I don't have to specify the full selector path, correct? I mean there are some other classes also wrapping around post header, but this selector path should be enough, isn't it?
Regards,
Angela
Can you show a link?
You mean link to my site?
You must log in to post.