1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 can't change color to this style

Discussion in 'Styling and Customization Questions' started by Huskermax, Sep 6, 2016.

  1. Huskermax

    Huskermax Member

    So trying to change the background and border color of the last post info in forum list. Right side of the main list of forums. I found this code in firbug, when I edit the colors in firebug it works but when I copy and past it in to extra.css it does not work? I did this for the side bar background and boarder and it worked so why not this one?

    Code:
    .node .nodeLastPost {
        background: #f0f7fc url("styles/default/xenforo/gradients/category-23px-light.png") repeat-x scroll center top;
        border: 1px solid #d7edfc;
        border-radius: 3px;
        font-size: 11px;
        height: 28px;
        line-height: 14px;
        margin: 10px;
        overflow: hidden;
        padding: 3px 10px;
        position: absolute;
        right: 0;
        top: 0;
        white-space: nowrap;
        width: 210px;
        word-wrap: normal;
    }
     
  2. Russ

    Russ Well-Known Member

    Use a higher CSS selector:

    Code:
    .pageContent .node .nodeLastPost
    See if that helps.
     
  3. Huskermax

    Huskermax Member

    That worked thanks:)
     

Share This Page