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 »

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

Old Jul 25, 2011, 07: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, 07:36 AM
juggledad's Avatar
23,765 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, 08: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 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 11:07 AM.

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