DIY Themes Forums  

Go Back   DIY Themes Forums > Thesis Theme > Thesis Customization Tips
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 08-03-2008, 01:43 AM
Senior Member
 
Join Date: Jul 2008
Location: Connersville, IN
Posts: 2,244
Send a message via ICQ to kingdomgeek Send a message via AIM to kingdomgeek Send a message via MSN to kingdomgeek Send a message via Yahoo to kingdomgeek
Default

kderevan: It doesn't appear that you've added anything to your custom.css file yet?
__________________
Rick Beckman, Kingdom Geek & Thesis Support Ninja (Forums Moderator)
[ Thesis Manual | Help, my posts don't show up! ]


Amazon Wishlist | My custom.css
Get Thesis! | Earn Cash as a DIY Affiliate!
Reply With Quote
  #12 (permalink)  
Old 08-03-2008, 09:32 AM
 
Join Date: Jul 2008
Posts: 14
Default

Well, yes, I thought I had? I will look at it again, but I copied and pasted into the custom.css in the "edit themes" section.
Reply With Quote
  #13 (permalink)  
Old 08-03-2008, 09:51 AM
 
Join Date: Jul 2008
Posts: 14
Default

My custom.css file located with all the other style files has the code I copied into it.
Reply With Quote
  #14 (permalink)  
Old 08-03-2008, 10:09 AM
Senior Member
 
Join Date: Jul 2008
Location: Connersville, IN
Posts: 2,244
Send a message via ICQ to kingdomgeek Send a message via AIM to kingdomgeek Send a message via MSN to kingdomgeek Send a message via Yahoo to kingdomgeek
Default

kderevan: Thesis doesn't support the thesis/custom.css file; you'll need to edit the file located at thesis/custom/custom.css and upload it. At this time, there's no way to edit this file via the WordPress admin panel, meaning you'll need to edit it on your computer and upload the finished file.

Alternatively, you could add this line to your header.php file:

HTML Code:
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/custom.css" type="text/css" />
Add that line *after* this:

PHP Code:
<?php 
wp_head
();
thesis_hook_header();
?>
However, the current official way is, as said above, to edit the custom.css file found in the /custom/ folder.
__________________
Rick Beckman, Kingdom Geek & Thesis Support Ninja (Forums Moderator)
[ Thesis Manual | Help, my posts don't show up! ]


Amazon Wishlist | My custom.css
Get Thesis! | Earn Cash as a DIY Affiliate!
Reply With Quote
  #15 (permalink)  
Old 08-03-2008, 10:11 AM
 
Join Date: Jul 2008
Posts: 14
Default

DOH!! Thank you. You have probably solved 99% of my problems with that. Obviously I was "unclear on the concept" as I have been messing around with that silly file forever!
Reply With Quote
  #16 (permalink)  
Old 08-03-2008, 10:16 AM
Senior Member
 
Join Date: Jul 2008
Location: Connersville, IN
Posts: 2,244
Send a message via ICQ to kingdomgeek Send a message via AIM to kingdomgeek Send a message via MSN to kingdomgeek Send a message via Yahoo to kingdomgeek
Default

kderevan: No problem.
__________________
Rick Beckman, Kingdom Geek & Thesis Support Ninja (Forums Moderator)
[ Thesis Manual | Help, my posts don't show up! ]


Amazon Wishlist | My custom.css
Get Thesis! | Earn Cash as a DIY Affiliate!
Reply With Quote
  #17 (permalink)  
Old 08-03-2008, 05:28 PM
 
Join Date: Jul 2008
Posts: 14
Default

I'm sorry, I must be a hard case. I'm still not getting it. I edited the custom.css file and uploaded it and still, nothing.
Reply With Quote
  #18 (permalink)  
Old 08-03-2008, 05:44 PM
Senior Member
 
Join Date: Jul 2008
Location: Connersville, IN
Posts: 2,244
Send a message via ICQ to kingdomgeek Send a message via AIM to kingdomgeek Send a message via MSN to kingdomgeek Send a message via Yahoo to kingdomgeek
Default

kderevan: Looks like you added the code into the comment text.

Right now, your file looks like this:

Code:
/*
File:            custom.css
Description:    Custom styles for the Thesis Theme that you define

body.custom {
    background: #44443f;
}

.custom #container {
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 0.3em;
    background: #33332f;
    border: 0.4em solid #3e3e3a;
}

.custom #page {
    background: #fff;
}




Why this works:

By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!
*/

se over them

Why this works:

By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!
*/
Switch that out with this code and you should be fine:

Code:
/*
File:            custom.css
Description:    Custom styles for the Thesis Theme that you define

Use:

If you have enabled the custom stylesheet in the Thesis options panel, the <body> tag 
will be appended with the "custom" class, like so: <body class="custom">. You can use 
the "custom" class to overwrite *any* CSS declarations contained in the style.css file.

For example, if you wish to change the default link color to green, you would add the 
following declarations to this file:

    .custom a, .custom a:visited { color: #090; } <--- This makes links green
    
    .custom a:hover { color: #00f; } <--- This makes links blue when you mouse over them

Why this works:

By using the "custom" class, you are creating more specific CSS declarations for HTML
elements. CSS styling is applied through rules of specificity, and because declarations
prepended with .custom are more specific, they get applied when the page is rendered!
*/

body.custom {
    background: #44443f;
}

.custom #container {
    margin-top: 2em;
    margin-bottom: 2em;
    padding: 0.3em;
    background: #33332f;
    border: 0.4em solid #3e3e3a;
}

.custom #page {
    background: #fff;
}
__________________
Rick Beckman, Kingdom Geek & Thesis Support Ninja (Forums Moderator)
[ Thesis Manual | Help, my posts don't show up! ]


Amazon Wishlist | My custom.css
Get Thesis! | Earn Cash as a DIY Affiliate!
Reply With Quote
  #19 (permalink)  
Old 08-03-2008, 07:10 PM
 
Join Date: Jul 2008
Posts: 14
Default

Rick, may I just say that YOU ARE WONDERFUL and I might marry you.
Reply With Quote
  #20 (permalink)  
Old 08-03-2008, 07:11 PM
 
Join Date: Jul 2008
Posts: 14
Default

A warning, though. What I really want to do is use an image as the background, so, emboldened by this small success, I am going to try, and you might hear from me again.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:47 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0