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

Background Wrapper Behind Header

Discussion in 'Styling and Customization Questions' started by System0, Oct 30, 2011.

  1. System0

    System0 Active Member

    I spent all day creating a skin for my blog in the test area of Xenforo and was pleased with the outcome so clicked the buy button. Happy to finally be part of the Xenforo community - I used VB for ten years before that new company messed it up and was helped directly on a number of occasions by Kier so was keen on joining here :)

    My blog has a fixed width of around 980 px. I use a header image behind the logo. I added this to my theme correctly using the header class in the style properties area. The header changes from grey at the top to white at the bottom so on my main blog I use a wrapper to repeat a background image so that the top of my page blends from grey to white just like my header (I'm aware that CSS3 allows you to designate two backgrounds).

    Unfortunately, I cannot get this to work. For some reason, I can't get the wrapper to work. I've placed the correct code in extras.css and placed the wrapper division before the header ID but nothing shows. I also tried placing it in the page_container template but that doesn't seem to work either. (I initially described this issue in the pre-sale forums here).

    Does anyone know how I would achieve this? I can post my HTML and CSS code if that helps :)

    Kevin
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    A link to your site would probably be easier, to see exactly what it is you're trying to do.
     
  3. System0

    System0 Active Member

  4. Brogan

    Brogan XenForo Moderator Staff Member

    Can't you just add a repeating background image to the body element?
     
  5. System0

    System0 Active Member

    That was actually one of the first things I tried (I tried the content class too).
     

    Attached Files:

  6. Brogan

    Brogan XenForo Moderator Staff Member

    Have you tried the HTML Style Property?
     
  7. System0

    System0 Active Member

    Yes. At the moment I have it set as the background image in the content and HTML classes. Nothing has changed though.
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    If you're happy for me to take a look I can see if I can get it working.

    I would need an admin login and the path to the image you want to use.
     
    Shelley likes this.
  9. System0

    System0 Active Member

    Thanks Brogan. I really appreciate that :)

    I'll set up a test account and send you the details.
     

Share This Page