|
#1
Jun 10, 2013, 01:42 PM
|
|
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.
|
#2
Jun 10, 2013, 06:13 PM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
You did change the xxx to the proper page ID didn't you?
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#3
Jun 10, 2013, 06:43 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Are you trying to remove the footer from the sticky post or from the page?
they are two different things...
|
#4
Jun 10, 2013, 07:05 PM
|
|
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.
Last edited by juggledad; Jun 10, 2013 at 07:41 PM.
|
#5
Jun 10, 2013, 07:11 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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?
|
#6
Jun 10, 2013, 07:36 PM
|
|
Just the post I will stick, juggledad.
Last edited by juggledad; Jun 10, 2013 at 07:44 PM.
|
#7
Jun 10, 2013, 07:44 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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
Last edited by juggledad; Jun 10, 2013 at 09:07 PM.
|
#8
Jun 10, 2013, 08:24 PM
|
|
Sorry, jungledad, but I didn't understand.
|
#9
Jun 10, 2013, 09:08 PM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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
|
#10
Jun 10, 2013, 09:26 PM
|
|
I don't have enough knowledge to do it. Thanks anyway.
|
#11
Jun 10, 2013, 09:38 PM
|
|
|
|
10,176 posts · Jul 2009
Central New York State USA
|
|
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 {
display: none;
}
In order to do any styling, especially unique styling like this, requires you to know how to use some of the tools available. Otherwise you will always be relying on hopefully someone taking the time to look at your situation and giving you the answer. Also not all answers are as straight forward as this.
__________________
~Larry ( CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
|
#12
Jun 11, 2013, 05:38 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
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'
|
#13
Jun 11, 2013, 05:49 AM
|
|
Thanks a lot, lmilesw and jungledad. I will follow the instructions.
|
#14
Jun 11, 2013, 07:55 AM
|
|
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
How do you come up with 'jungledad'?
|
#15
Jun 11, 2013, 08:20 PM
|
|
Sorry! I am ashamed because i have been misreading it since i start to use atahualpa! Years and years...
|
|