Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   CSS for a single page (http://forum.bytesforall.com/showthread.php?t=562)

jockoe Feb 26, 2009 02:46 PM

CSS for a single page
 
I see where I can add CSS code to append to the theme. I would like to style a single page though. How can I do that? (I have a stylesheet at css\resume.css of my struture already, if that helps.)

Flynn Feb 26, 2009 06:03 PM

Please provide more details, explain more

jockoe Feb 26, 2009 07:38 PM

My site is at http://www.tracyandcarol.com. All of my pages have a white background. But I have one page, which has a resume on it, that I do not want to have a white background. Is there a way to change the background of this one page without changing the white background of my other pages?

Flynn Feb 26, 2009 09:50 PM

The background of the whole layout, only the middle column, or only the "body copy" of the page = the headline plus text?

At the moment you'd have to edit theme files for that

Add in header.php, i.e. after

PHP Code:

div.post {
    <?php echo $bfa_ata_post_container_style?>
    }

this:
PHP Code:

<?php if ( is_page('tracys-resume') ) { ?>
td#middle, div.post {
background: #123456;
}
<?php ?>

This would change the middle column and the (whole) post/page inside

I am letting Wordpress add unique ID's per post / page again from the next version on so this can be addressed with CSS only and without PHP

jockoe Feb 27, 2009 06:58 AM

Thank you, Flynn.

For anybody that might find this thread useful I found the line of code to add to reads...
Quote:

div.post {
<?php echo ['bfa_ata_post_container_style']; ?>
}
without...
Quote:

$cur_opt
(in my file at least)

Flynn Feb 27, 2009 08:08 AM

Sorry about that. In 3.2.1 it'll be $cur_opt[' but up to 3.2 it is not

jockoe Feb 27, 2009 08:12 AM

The info you provided got me to where I needed. I was just trying to provide some useful info for the next person.


All times are GMT -6. The time now is 08:49 AM.

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