Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   Remove the footer box from a sticky post (http://forum.bytesforall.com/showthread.php?t=20484)

ahc Jun 10, 2013 12:42 PM

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. :(

lmilesw Jun 10, 2013 05:13 PM

You did change the xxx to the proper page ID didn't you?

juggledad Jun 10, 2013 05:43 PM

Are you trying to remove the footer from the sticky post or from the page?

they are two different things...

ahc Jun 10, 2013 06: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.


juggledad Jun 10, 2013 06:11 PM

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?

ahc Jun 10, 2013 06:36 PM

Just the post I will stick, juggledad.

juggledad Jun 10, 2013 06:44 PM

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

ahc Jun 10, 2013 07:24 PM

Sorry, jungledad, but I didn't understand.

juggledad Jun 10, 2013 08:08 PM

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

ahc Jun 10, 2013 08:26 PM

I don't have enough knowledge to do it. Thanks anyway.

lmilesw Jun 10, 2013 08:38 PM

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.

juggledad Jun 11, 2013 04:38 AM

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'

ahc Jun 11, 2013 04:49 AM

Thanks a lot, lmilesw and jungledad. I will follow the instructions.

juggledad Jun 11, 2013 06:55 AM

How do you come up with 'jungledad'?

ahc Jun 11, 2013 07:20 PM

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 07:09 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.