WordPress.org

Ready to get started?Download WordPress

Forums

design help (12 posts)

  1. aliferste
    Member
    Posted 10 years ago #

    Hello there,
    Can someone tell me how to change the colour of the post background.....i think the answer is staring me in the face but i just cant see it....everything seems to be covered here but that!
    http://www.tamba2.org.uk/graphicalcss/content/index.html#five
    Its the actuall background colour I want to change...
    so that on this http://theriverkelvin.co.uk/blog/index.php the post content is the same colour as the background!
    Thanks!

  2. nsxpower
    Member
    Posted 10 years ago #

    Just add background-color: #363; to .storycontent
    I would recommend against it though. Are you sure you want your entry background to be green?

  3. nsxpower
    Member
    Posted 10 years ago #

    I just looked at your style sheet and you don't seem to have a .storycontent class ... so make one:
    .storycontent {
    background: #363;
    }

    I would also suggest that you organize your style sheet. It is a bit all over the place right now ;) You'll find it much easier to edit.

  4. aliferste
    Member
    Posted 10 years ago #

    Thanks for the replys!
    Im a bit new to this.......a complete newbie in fact :)
    I would go as far as to say that I have no design sense whatsoever so i appreciate your commnent about it not being green....what other colour do you think it should be?
    Im not sure how to go about organizing my style sheet....I just added things as I went along :) Any advice?

  5. Mark (podz)
    Support Maven
    Posted 10 years ago #

    I'll add that to the guide.
    To organise it, copy the whole thing into Notepad (Right-click in the box with the code in - Select All - Copy) and then just use cut/paste to put it into some sort of order.
    When you are done to your satisfaction (there are no 'rules' about it) go back to your edit screen, right-click, select all, delete and then paste your newly sorted into the box.
    Save the Notepad file though .. just in case.
    (I'm off now to correct the Guide)
    :)

  6. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Post Content:
    #content {
    margin: 30px 13em 0 3em;
    padding-right: 60px;
    background: #00ff00;
    }
    Will make your post bg bright green
    The page bg still shows tho ... give me a few :)

  7. Mark (podz)
    Support Maven
    Posted 10 years ago #

    Rap
    The above changes just that area that your post actually occupies.
    To alter the rest, put a colour into the rap div
    #rap {
    background: #ff0000;
    }
    (That's a bright red bg)

  8. Mark (podz)
    Support Maven
    Posted 10 years ago #

    It is now added to the page.
    Thanks for pointing that out :)

  9. nsxpower
    Member
    Posted 10 years ago #

    Design is a relative thing. However it is much easier to read black on white/light grey (like here in the forums), because our eyes are so used to this text/background combo. If you are set on changing the backgound you could use a very light shade of green like CCFF99, 99FF66 or 99FF99 ... that way it will still be easy to read. If your content is hard to read people will get frustrated and leave, and we don't wont that do we? ;)

  10. aliferste
    Member
    Posted 10 years ago #

    hmmm, talking of organising things....this may sound like a daft question...but i take it that it does not matter where things are as long as they are actually there in teh style sheet is that correct?
    Also, can i make headings in my style sheet so that i know what is what and what is where if you know what i mean?
    Like put something like
    POST CONTENT
    and then all the code underneath it
    do you see what i mean?

  11. nsxpower
    Member
    Posted 10 years ago #

    Yes, you can put comments in your style sheet. Just place them betwen /* YOUR COMMENT */

  12. aliferste
    Member
    Posted 10 years ago #

    Hmmmm, decided against the whole green thing :)
    Thanks for the advice!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.