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

Old Jul 25, 2011, 06:04 AM
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
Old Jul 25, 2011, 06:36 AM
juggledad's Avatar
23,742 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
Old Jul 27, 2011, 07:06 AM
14 posts · Jun 2011
many thanks juggledad! it works! ^^


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 12:22 AM
[SOLVED] Post container style different for Home Page than single post page maurixx Center area post/pages 13 Jul 23, 2010 03:14 PM
How Does You Make a Page-Wide Billboard-style Container? acolburn Center area post/pages 0 Jul 17, 2010 12:16 PM
How can I style a single post? ahc Center area post/pages 2 Jan 21, 2010 08:07 AM
[SOLVED] Unwanted style difference in singel post and that same post on single displa Sakshin Header configuration & styling 4 Sep 16, 2009 01:29 PM

All times are GMT -6. The time now is 04:39 PM.

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