Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

hide post-kicker on specific page


  #1  
Old Mar 20, 2012, 06:33 PM
cway
 
154 posts · Jul 2009
Is it possible to hide or not display the post-kicker on a particular page?
The page I want to hide the post-kicker on has an id of 425.

I've tried this, but it doesn't work:

Code:
body.page page-id-425 #post-kicker {
display: none;
}
  #2  
Old Mar 20, 2012, 07:35 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
HTML Code:
body.page page-id-425 #post-kicker
That syntax is incorrect. what it says is for any element with an ID of post–kicker that is a child of an element called page–id–425 in the body of the page with a class called page apply the CSS. If you wanted to use both classes “page” and “page–id–425” you would have to say body.page.page–id–425 but since both page and page-id-425 art classes you can just say body.page–id–425
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 20, 2012, 07:52 PM
cway
 
154 posts · Jul 2009
Thanks for explaining that.
It looks like I should be able to use the below, but it isn't working.
Am I missing something? I also tried it without !important

Code:
body.page–id–425 #post-kicker {
display: none !important;
}
  #4  
Old Mar 20, 2012, 08:09 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Well is post-kicker a 'ID' or an 'class'? If it is an ID you use the # but if it is a class you use a period
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Mar 21, 2012, 07:39 AM
cway
 
154 posts · Jul 2009
post-kicker is a class.
Maybe I've still got the syntax incorrect:

Code:
body.page–id–425.post-kicker {
display: none !important;
}
  #6  
Old Mar 21, 2012, 08:03 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
yup you still have it incorrect. the format is
element#idname or
element.classname

so you can use something like 'element#idname element.classname' which can be shortened to
element#idname .classname or
#idname element.classname or even
#idname .classname

when you say 'body.page–id–425.post-kicker' you are saying "apply this to a body that has a class of page-id-425 and a class of post-kicker" you need a space in there
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Mar 21, 2012, 08:14 AM
cway
 
154 posts · Jul 2009
I've tried that, too. No good.

Code:
body.page–id–425 post-kicker {
display: none !important;
}
http://dev.advantagecardservices.com/application-form/
Application Form, How Can We Help, the background image behind these, shouldn't be there.
  #8  
Old Mar 21, 2012, 10:38 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
HTML Code:
body.page–id–425 post-kicker {
background-image: none !important;
}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Mar 21, 2012, 11:16 AM
cway
 
154 posts · Jul 2009
Didn't work. I'd like to not show the entire post-kicker. Any other ideas?
  #10  
Old Mar 21, 2012, 03:32 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I don't see the post kicker showing
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] post-specific header image w/ css insert (page-specific ones work, but not o viewdesigninc Header configuration & styling 10 Oct 1, 2012 03:43 PM
How to hide one specific category from posts page? unelma Center area post/pages 18 Feb 9, 2012 04:55 PM
How to hide a menu from specific pages? Sparklesperson Page & Category Menu Bars 5 Dec 29, 2011 09:45 AM
hide title on specific pages lambdaka Center area post/pages 0 Jul 10, 2010 09:25 AM
How to remove kicker from specific pages Fredr Center area post/pages 1 Jun 16, 2010 05:49 AM


All times are GMT -6. The time now is 09:15 PM.


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