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 »

CSS for a single page


  #1  
Old Feb 26, 2009, 02:46 PM
jockoe
 
23 posts · Feb 2009
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.)
  #2  
Old Feb 26, 2009, 06:03 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Please provide more details, explain more
  #3  
Old Feb 26, 2009, 07:38 PM
jockoe
 
23 posts · Feb 2009
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?
  #4  
Old Feb 26, 2009, 09:50 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
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

Last edited by Flynn; Feb 27, 2009 at 08:07 AM. Reason: removed cur_opt[' which is since 3.2.1
  #5  
Old Feb 27, 2009, 06:58 AM
jockoe
 
23 posts · Feb 2009
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)
  #6  
Old Feb 27, 2009, 08:08 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Sorry about that. In 3.2.1 it'll be $cur_opt[' but up to 3.2 it is not

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
TIP: How to create single page website (salesletter-type) with Atahualpa gesman Sidebars & Widgets 4 Aug 14, 2010 01:40 AM
widget on a single page woman Sidebars & Widgets 2 Jun 10, 2009 08:45 AM
Javascripted excerpt of other site embedded into single page's center: Howto? vagabond Atahualpa 3 Wordpress theme 1 May 25, 2009 06:38 PM
Single Header image on home page Lok52 Header configuration & styling 0 Apr 20, 2009 04:44 PM
[SOLVED] How to show single post special category on static home page?? Shepherd Jim Post-Kicker, -Byline & -Footer 5 Mar 19, 2009 07:42 AM


All times are GMT -6. The time now is 03:31 AM.


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