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

.sidebar .secondaryContent won't change

Discussion in 'Styling and Customization Questions' started by Matthew Hawley, Jun 10, 2013.

  1. Matthew Hawley

    Matthew Hawley Well-Known Member

    So I put this in the EXTRA.css and nothing will change!

    Code:
    .sidebar .secondaryContent {
    background: rgb(242, 250, 247) url('xxx') repeat-x top;
    padding: 10px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-radius: 4px;
    border: solid 1px #C8C8C8;
    }
     
  2. Lisa

    Lisa Well-Known Member

    Not sure why you've put all that border css in:-

    Code:
    .sidebar .secondaryContent {
    background: rgb(242, 250, 247) url('xxx') repeat-x top !important;
    padding: 10px;
    border-bottom: 1px solid #C8C8C8 !important;
    border-radius: 4px;
    }
    Try that. Without seeing what you're trying to do and where, it's hard to give a full answer to the issue :)
     
  3. Matthew Hawley

    Matthew Hawley Well-Known Member

    Nope, still won't work.
     
  4. Lisa

    Lisa Well-Known Member

    Can you share a link to where you want it... and the image url you're trying to put as the background, since 'xxx' really won't show anything up :D
     
    Matthew Hawley likes this.
  5. Matthew Hawley

    Matthew Hawley Well-Known Member

  6. Lisa

    Lisa Well-Known Member

    Site is closed, can't see anything :)
     
    Matthew Hawley likes this.
  7. Matthew Hawley

    Matthew Hawley Well-Known Member

    Oh, sorry. Its open now.
     
  8. Lisa

    Lisa Well-Known Member

    Think you need to clear your cache, I can see the sidebar css showing fine.
     
    Matthew Hawley likes this.
  9. Matthew Hawley

    Matthew Hawley Well-Known Member

    I cleared it. Still don't see it...
     
  10. Lisa

    Lisa Well-Known Member

    What browser are you using? Can you check it in another browser.
    sidebar.png
     
    Matthew Hawley likes this.
  11. Matthew Hawley

    Matthew Hawley Well-Known Member

    Yeah thats what is shows up to me. I wan't it looking different.
     
  12. Lisa

    Lisa Well-Known Member

    Your css is still showing as the same as your original post, using my changed version should fix it.
     
    Matthew Hawley likes this.
  13. Matthew Hawley

    Matthew Hawley Well-Known Member

    I wan't it showing up like this. http://www.letspwn.com/forums

    I added this but nothing changes.

    Code:
    .sidebar .secondaryContent {
    padding: 10px;
    border-bottom: 1px solid rgb(228, 240, 247);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #C8C8C8;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -khtml-border-radius: 4px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    }
     
  14. Jeremy

    Jeremy XenForo Moderator Staff Member

    Do you have templates as files?
     
    Matthew Hawley likes this.
  15. Filetrip

    Filetrip Member

    Code:
    /*** Menu ***/
    .Menu .secondaryContent {
    background-color: rgba(242, 242, 242, 0.96);
    border-bottom: 1px solid #e4e4e4 !important
    { 
    Last bracket needs to be a closing one.
     
    Matthew Hawley likes this.
  16. Lisa

    Lisa Well-Known Member

    Why on earth do you have all that?

    All you need is:-

    Code:
    .sidebar .secondaryContent {
    background: rgb(242, 250, 247) url('xxx') repeat-x top !important;
    padding: 10px;
    border-bottom: 1px solid #C8C8C8 !important;
    border-radius: 4px;
    }
     
    Matthew Hawley likes this.
  17. Jeremy

    Jeremy XenForo Moderator Staff Member

    @Azhria Lilu, he's probably copying the Chrome output. "background" is translated and all those browser-specific items are output.
     
    Matthew Hawley likes this.
  18. Matthew Hawley

    Matthew Hawley Well-Known Member

    Nvm got it fixed.
     
  19. Lisa

    Lisa Well-Known Member

    True, good point!
     
    Matthew Hawley likes this.
  20. Lisa

    Lisa Well-Known Member

    You're welcome for all the help you've received from everyone. . . .
     
    Tracy Perry and Matthew Hawley like this.

Share This Page