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

[SOLVED] Stylize Whole Layout Differently Post Vs Page


  #1  
Old Aug 31, 2012, 05:50 PM
bswb97
 
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?
  #2  
Old Aug 31, 2012, 06:39 PM
juggledad's Avatar
juggledad
 
23,765 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
  #3  
Old Sep 1, 2012, 04:36 PM
bswb97
 
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!

Bookmarks



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


All times are GMT -6. The time now is 10:32 PM.


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