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 » Sidebars & Widgets »

color of wp-calendar


  #1  
Old Apr 4, 2009, 11:00 AM
boris
 
2 posts · Apr 2009
Hello guys,
I'm really a newbie of wordpress and php in general, so I'm sorry if I'm asking something of so obvious:
I'm try to fix the layout of this site: www.fuorifuoco.org (Atahualpa 3.2)
The issue is, since my body color is white, how could I turn the calendar color to black (not the backgroud but the numbers, months, etc.)

I paste the slice of stlye.css I edited:

PHP Code:
/*-------------------- CALENDAR WIDGET --------------------*/

#calendar_wrap {
    
padding0;
    
bordernone;
        
background-color#ffffff;        
        
color#000000 !important;
    
}
    
table#wp-calendar {
    
width100%; 
    
font-size:90%;
    
border-collapsecollapse;
    
background-color#ffffff;
        
color#000000;
    
margin0 auto;
    }

table#wp-calendar caption {
    
widthauto;
    
background#eeeeee;
        
color#000000;
    
bordernone;;
    
padding3px;
    
margin0 auto;
    
font-size1em;
    }

table#wp-calendar th {
    
bordersolid 1px #eeeeee;
    
background-color#ffffff;
    
color#000000;
    
font-weightbold;
    
padding2px;
    
text-aligncenter;
    }
    
table#wp-calendar td {
    
padding0;
    
line-height18px;
    
background-color#ffffff;
        
color#000000;
    
border1px solid #dddddd;
    
text-aligncenter;
    }

table#wp-calendar tfoot td {
    
bordersolid 1px #eeeeee;
    
background-color#ffffff;
        
color#000000;

    
}
    
table#wp-calendar td a {
    
displayblock;
    
background-color#ffffff;
        
color#000000;
    
width100%;
    
height100%;
    
padding0;
    } 
best regards

Boris
  #2  
Old Apr 5, 2009, 02:19 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
The first line (April 2009) is

HTML Code:
table#wp-calendar caption { 
     background: #eeeeee; 
    color: #000000; 
    }


The second line (Mo, Tu, We) is

HTML Code:
table#wp-calendar th { 
    border: solid 1px #eeeeee; 
    background-color: #ffffff; 
    color: #000000; 
    }


The body cells (1,2,3...31) are

HTML Code:
table#wp-calendar td { 
    background-color: #ffffff; 
    color: #000000; 
    border: 1px solid #dddddd; 
     }


The footer (<< Mar May >>) is
HTML Code:
table#wp-calendar tfoot td { 
    border: solid 1px #eeeeee; 
    background-color: #ffffff; 
    color: #000000; 
    }


etc...

All the sections of the CSS you posted are being used, ecept the first one, #clandar_wrap

I'd suggest you add styles similar to the ones above via HTML/CSS Inserts -> CSS Inserts, instead of directly editing style.css

  #3  
Old Apr 6, 2009, 05:12 AM
boris
 
2 posts · Apr 2009
thanks a lot Flynn

Bookmarks

Tags
calendar, color, wp-calendar



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Calendar gproper Page & Category Menu Bars 3 Nov 22, 2011 02:40 PM
How to make Current page color different than Hover color? 25jai Page & Category Menu Bars 7 Jul 17, 2009 05:06 AM
Calendar Date Problem yosh66 Sidebars & Widgets 0 Jun 21, 2009 10:16 AM
Fixed width site. Different page background color from body color? blueprairie Forum How-To 1 Mar 20, 2009 08:55 PM
Best calendar plugin? paulae Plugins & Atahualpa 0 Mar 13, 2009 10:33 AM


All times are GMT -6. The time now is 04:54 PM.


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