[SOLVED] Post/Page Styling
I'm currently editing a site that will be going live soon.
I am editing intended to edit the post styling as to make sure that the text did not get lost in the background image that I'm using on the center column style. (For some reason, this is only really an issue with posts, which are basically current event type articles from the organization I'm designing this site for.) I styled the posts the way I wanted them using the Style Post Container option in the theme options menu and have placed a conditional tag around the styling so that it only shows up on single post pages. It basically looks like this: PHP Code:
Could someone lend me a hand in figuring out a workaround so that I can apply the needed formatting to single post pages as well as multi-post pages, but not have to worry about PAGE pages. This is especially an issue because the site uses a static front page, so the post styling shows up there even if there is no content in the static front page. Thanks for any help you can provide. I'm running WP 3.0 and ATA 3.5.1. Unfortunately, I cannot provide a link at the moment, so whatever assistance you can provide with what I've written is very much appreciated. |
I should really not post after staying up for hours and not having any type of morning energy boost.
I think I may have solved my own problem. To get the formatting I wanted, I simply created an additional set of style variables and placed them in a conditional tag for my "home" page. It looks something like this: PHP Code:
I suppose I only wonder if this would cause any type of conflict that I haven't noticed as of yet. I don't recall the Style Post Container option in the theme options specifying whether you can use php there. Does anyone know anything about this? Either way, it appears that I may have solved my own problem after having a nice hot Americano. :-) |
Can anyone confirm that it is okay to use php in the Style Post Container section of the theme options? Other than a slight fear that I may have committed a no no. I think this is officially solved.
|
All times are GMT -6. The time now is 02:57 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.