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

XF 1.2 Sidebar question

Discussion in 'Styling and Customization Questions' started by kbarg, Jul 31, 2013.

  1. kbarg

    kbarg Member

    I want to make this sidebar, background image start at the top of each sidebar section and fill in fully from left to right. What would I need to do?

    [​IMG]
     
  2. EQnoble

    EQnoble Well-Known Member

    Add this to EXTRA.css

    Change the background-color line to background-image and replace with your image and tweak as needed

    Code:
    .sidebar .section .secondaryContent {
    padding: 0;
    }
    .sidebar .section .secondaryContent h3 {
    background-color: #E0E0E0;
    padding: 5px;
    }
    .sidebar .section .secondaryContent div {
    padding: 5px 10px;
    }
    
     
    Last edited: Jul 31, 2013
  3. kbarg

    kbarg Member

    That seemed to do the trick nicely, but...then it distorted some of the internal layouts...

    [​IMG]

    and

    [​IMG]
     
  4. EQnoble

    EQnoble Well-Known Member

    Well I did mine based on the default theme...without a link to your forum I can't help you more than that with just a cropped picture for an example.
     
  5. kbarg

    kbarg Member

    I got it now. I appreciate you for setting me on the right path.
     
  6. EQnoble

    EQnoble Well-Known Member

    Not a problem...happy hunting.
     

Share This Page