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 » Header configuration & styling »

[SOLVED] Stylize Whole Layout Differently Post Vs Page

Old Aug 31, 2012, 04:50 PM
158 posts · Aug 2010
I've found some threads on stylizing post content vs. page content, but that only affects stuff in the center column (div.post). Is there any way to actually stylize the stuff above that for just posts? On all posts, I want to hide the header image and shrink the layout margins.

The only way I can think of doing this is adding a conditional ID based on post v. page in the main index just outside of the container. Is there an easier way to do it?
Old Aug 31, 2012, 05:39 PM
juggledad's Avatar
23,742 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Stye your site for the posts. Then in the 'CSS Inserts' options style things for the pages using 'body.page' as the prefix for each CSS selector.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Sep 1, 2012, 03:36 PM
158 posts · Aug 2010
This worked. I reworked all post-only elements as the default, then restored the originals item by item with body.page as the prefix. It's still a bit of a clunky solution, but a solution nonetheless and a good trick in my Ata back pocket. Thanks!


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Post Layout Area PHP file kayel_justice Center area post/pages 1 May 2, 2012 05:19 PM
[SOLVED] Styling the homepage differently than the single page winsila Forum How-To 2 Mar 24, 2011 06:10 AM
Style each post differently by category lisyan Center area post/pages 15 Jan 21, 2011 07:03 PM
Widgets page and plug ins add page not working, and displaying differently shamrock 2000 Sidebars & Widgets 10 Feb 16, 2010 04:19 PM
Format a "particular" Post differently Shepherd Jim Post-Kicker, -Byline & -Footer 1 Mar 23, 2009 02:41 PM

All times are GMT -6. The time now is 05:18 PM.

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