Problems with style.css (template-directory)

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
emkay
Regular
Posts: 7
Joined: Tue Apr 20, 2004 5:24 pm

Problems with style.css (template-directory)

Post by emkay »

Well, please call me stupid. I tried to change something in the style.css as you can see below:

<snip from style.css>

body {
background-color: #C7D0D9;
color: #FFFFFF;
font-family: Tahoma, Trebuchet MS, Verdana;
font-size: 10pt;
margin: 0px;
padding: 0px;
top: 0px;
left: 0px;
}

</snip>

Well, nothing changed in the design of my blog.. Any hints? I'm feeling damn stupid :P

Oh yes, I uploaded the new version of the css on the web-server..

TIA Markus
tomsommer
Core Developer
Posts: 240
Joined: Tue Sep 02, 2003 6:43 pm
Location: Denmark
Contact:

Post by tomsommer »

did you upload it to the right directory?

templates/[theme]/style.css
Tom Sommer (Serendipity Core Developer)
http://blog.dreamcoder.dk
emkay
Regular
Posts: 7
Joined: Tue Apr 20, 2004 5:24 pm

Post by emkay »

yeah, right into:

/templates/moz-modern/

as this is the template i'm using..
emkay
Regular
Posts: 7
Joined: Tue Apr 20, 2004 5:24 pm

Post by emkay »

hmm.. this worked:

<snip from style.css>
#serendipity_banner h2 a:hover {
color: #CC0066;
}
</snip>

So it has something to do with the body-entry...
houndbee
Regular
Posts: 18
Joined: Fri Apr 30, 2004 4:53 pm
Location: Bangalore, India
Contact:

Post by houndbee »

Edit this to change the properties of your entries:

Code: Select all

.serendipity_entry {
    clear: both;
    font-family:Verdana, Arial, Geneva, Helvetica, sans-serif;
    color: #333333;
    border: 2px solid #666666;
    border-top: 0;
    -moz-border-radius: .0em 0em 1em 1em;
    font-size: 9.5pt;
    font-weight: normal;
    padding-left: 10px;
    padding-right: 10px;
    display: block;
    background-color: #FAFFFF;
}
Edit this to change the properties for your sidebars.

Code: Select all

td.serendipitySideBar {
    font-size: 12px;
    width: 180px;
    padding: 10px;
    border-right: 1px dashed #4068ab;
}
Look through the styles.css CSS file and you will very easily understand what to change to edit properties of everything else.
Post Reply