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

Pages

Discussion in 'XenForo Questions and Support' started by Drae, Sep 4, 2012.

  1. Drae

    Drae Active Member

    This might be a cross admin/styling thing, but I was wondering if there was a way to make pages have a background of the same stying as posts (rather than showing the very back of the forum which can make it hard)?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Drae likes this.
  3. Drae

    Drae Active Member

    Thanks for the link, but that's not really what I want to do. Where the content of the page is contained, I want to give that the background of the same colour as the post, whilst still allowing the body/very back to look the same.
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    When edit your page you can surround your content with a div that has the desired background color. Example:

    Code:
    <div style="background-color: red;">
    
    </div>
    
    Or use a CSS class if you have one prepared:

    Code:
    <div class="primaryContent">
    
    </div>
    
    primaryContent is the background color of posts by default, unless this is changed in your style.
     
    Drae likes this.
  5. Drae

    Drae Active Member

    Thanks, Jake! That does exactly what I'm after. Thank you!
     

Share This Page