![]() |
Remove the footer box from a sticky post
I want to sitck a post with a little notice but I would like to remove the footer box. I tried to put in css inserts the follow instruction that I read on other thread:
body.page-id-xxx td#footer { display: none; } But the footer is still there. :( |
You did change the xxx to the proper page ID didn't you?
|
Are you trying to remove the footer from the sticky post or from the page?
they are two different things... |
Yes, lmilesw, i think I put the right number (http://www.cafeimpresso.com.br/wp-ad...50&action=edit) 6450. Isn't it?
And I'm trying to remove the footer from the sticky post, juggledad. Thanks. |
If you want to remove the post footer, do you want to remove it on all pages that post will show on or just one page?
|
Just the post I will stick, juggledad.
|
Use the class identifying the post and the class identifying the post as a sticky and then set the post fiooter element to a display of none
|
Sorry, jungledad, but I didn't understand.
|
Look at the page with the sticky and then at the source of that page and find the classes you can use to uniquely identify the post. Use them in your CSS selector
|
I don't have enough knowledge to do it. Thanks anyway.
|
To get rid of the post footer on the page with and id of 6450 you would use the following.
HTML Code:
.post-6450 .post-footer { |
you would need to use the class 'stickey' to isolate the css to just when the post is a sticky, so it would be
.post-6450.sticky .post-footer { display: none; } note there is no space between '.post-6450' and '.sticky' but there is a space after '.sticky' - if you want an explaination as to why, i suggest you go do a google search using 'css multiple class' |
Thanks a lot, lmilesw and jungledad. I will follow the instructions.
|
How do you come up with 'jungledad'?
|
Sorry! I am ashamed because i have been misreading it since i start to use atahualpa! Years and years...
|
All times are GMT -6. The time now is 01:20 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.