Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] change style for post container in single page only


  #1  
Old Jul 25, 2011, 07:04 AM
fsastrow
 
14 posts · Jun 2011
Dear all

Is there any way to change the style for post container in single page only? Meaning I don't want the style to be applied to the home page etc. just the single page.

I've been wondering on how to do it since the id and class looks same. Do we have to hardcode it?

Thanks in advance
  #2  
Old Jul 25, 2011, 07:36 AM
juggledad's Avatar
juggledad
 
23,687 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
If you want to apply styling to the post container on a single page, you will have to manually create the styling and put it in the CSS Inserts. You can use the CSS selector

body.single-post div.post {....}

so if you used

body.single-post div.post {background-color: #00ffff;}

the background color will be a 'interesting' blue
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Jul 27, 2011, 08:06 AM
fsastrow
 
14 posts · Jun 2011
many thanks juggledad! it works! ^^

Bookmarks

Tags
post container

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Change Link Style for Single Page c12281 New Versions, & Updating 2 Sep 23, 2010 01:22 AM
[SOLVED] Post container style different for Home Page than single post page maurixx Center area post/pages 13 Jul 23, 2010 04:14 PM
How Does You Make a Page-Wide Billboard-style Container? acolburn Center area post/pages 0 Jul 17, 2010 01:16 PM
How can I style a single post? ahc Center area post/pages 2 Jan 21, 2010 09:07 AM
[SOLVED] Unwanted style difference in singel post and that same post on single displa Sakshin Header configuration & styling 4 Sep 16, 2009 02:29 PM


All times are GMT -6. The time now is 01:53 PM.


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