WordPress.org

Ready to get started?Download WordPress

Forums

CSS wont update sidebar? (6 posts)

  1. pomtom44
    Member
    Posted 1 year ago #

    Hey all.
    So im setting up a site for my minecraft server and I found a nice template to use.

    I have done some slight tweeking to it to make it work better for me but I have noticed that I cant change any of the sidebar colors?

    I have updated every setting I can find in CSS file but nothing seems to update it.

    Heres my site
    http://minecraft.pomtom.co.nz

    and heres my CSS code for the sidebar:
    /* sidebar */

    div#sidebar {
    float: left;
    width: 224px;
    margin-left: -226px;
    margin-top: 30px;
    border-left: 1px solid #FFF;
    -moz-border-radius-topright: 3px;
    -webkit-border-top-right-radius: 3px;
    background: url(http://4photos.net/photosv5/white_paper_1345139608.jpg) top left repeat-x;
    border-top-right-radius: 3px 3px;
    }

    ul.item-list li {
    border-bottom: 1px solid #FFFFFF;
    background:#CCCCCC;
    padding: 15px 0;
    margin: -5px -20px 0 -19px;
    position: relative;
    }

    div.item {
    background:#CCCCCC;
    }

    span.activity, div#message p {
    background: none repeat scroll 0 0 #FFFFFF;
    border-bottom: 1px solid #FFE8C4;
    border-radius: 3px 3px 3px 3px;
    border-right: 1px solid #FFE8C4;
    color: black;
    display: inline-block;
    font-size: 12px;
    font-weight: normal;
    font-color: black;
    margin-top: 6px;
    padding: 1px 8px;
    text-decoration: none;
    }

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Colours of what?
    Where are you making the CSS changes?

  3. zlajaa1
    Member
    Posted 1 year ago #

    sryle.css line 136 remove background-image and add background color.
    Do the same on default.css line 251

    Note: I didn't understand what is sidebar in this case, but if you think on the paper background in the right side section, do the above.

  4. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I would not recommend making any changes to theme files - as those changes will be overwritten and lost when the theme is updated. Instead you should use a Child Theme or custom CSS for any changes.

  5. pomtom44
    Member
    Posted 1 year ago #

    Sorry i should have been a bit more clear.
    I want to try change the color of the text in the boxes.

    The paper background is just temporary because the one I wanted to use was too dark to use without changing the text colours.

    I can modify the background image fine,

    Also this isnt a standard theme from the wordpress site,
    Its a downloaded one that someone made and posted on forum
    So i dont think its going to be updated for a while, if ever

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    This should do it - but again, making changes to theme files is not a good idea as you will lose all of them when the theme is updated. So add this to custom CSS:

    .textwidget p {
       color: red;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags