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


  #1  
Old Jul 25, 2011, 06: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, 06:36 AM
juggledad's Avatar
juggledad
 
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
  #3  
Old Jul 27, 2011, 07: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 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 05:59 PM.


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