• Vonn

    (@vonn)


    I’ve found a dark theme (Urban View 1.05) that I really feel at home in. I don’t want to mess around with it too much because of my neanderthal coding prowess but I would like to lighten the post background and change the post font colour and size. Could some kind person tell me should I look at stylesheet or php files to find the relevant code? What code tags should I be looking for? My site, wearing new jacket, is here;
    Many thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi

    (@esmi)

    You need to look in your theme’s stylesheet. Look for:

    .post-c {
    background:transparent url(images/post-c.png) repeat scroll 0 0;
    width:100%;
    }
    .post .entry p {
    padding-bottom:15px;
    }

    Thread Starter Vonn

    (@vonn)

    esmi, thanks I changed the post background fine but can you explain how the font tag works?

    .post .entry p {
    padding-bottom:15px;

    is that just the start of the font tags or is it the font tag; and if so, what is it saying?? I just need a black font

    esmi

    (@esmi)

    That’s where you’d add a font size tag that would target just the text of your posts. Not the post titles or the text in the sidebar. so:

    .post .entry p {
    padding-bottom:15px;
    font-size:1.2em;
    }

    would increase the post content text size by about 20-25%.

    Thread Starter Vonn

    (@vonn)

    Thanks esmi – that worked great – it’s just right. Last question, is this the code that refers to the default font colour for posts?

    .post-meta { color:#fff; font-size:11px; }

    Thread Starter Vonn

    (@vonn)

    Sorted! Decided to decipher stylesheet by means hexadecimal colour numbers and that way, I found where font colour was – inelegant but it worked… Thanks again esmi

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to lighten post background on dark theme’ is closed to new replies.