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

XF 1.3 How to make the header same size as width?

Discussion in 'Styling and Customization Questions' started by vishall, Feb 11, 2014.

  1. vishall

    vishall Active Member

    Hello all,

    I'm using stock xenforo style on my forum (i just changed the colors & width) but i want to make the header the same size as the forum page width, can i do that?

    This is a screenshot from this website, it's just an example. The orange part i want to remove to make it the same size.
    foro.png

    Regards,
    Vishall
     
  2. Russ

    Russ Well-Known Member

    Style Properties -> Header and Navigation -> Header

    Remove the background color.

    Extra.css ->

    #logoBlock .pageWidth .pageContent { background-color: #000; }

    Should do the trick for you.
     
    Sasa and vishall like this.
  3. jmurrayhead

    jmurrayhead Well-Known Member

    Using CSS, you can set the width like so:

    Code:
    #logoBlock .pageWidth
    {
        max-width: none;
    }
     
    vishall likes this.
  4. vishall

    vishall Active Member

    Thanks guys, gonna try now :)
     
  5. jmurrayhead

    jmurrayhead Well-Known Member

    Russ gave the correct answer. I thought you wanted to move the logo and navbar over as well, but it seems you just wanted the background color to go all the way across.
     
    vishall likes this.
  6. vishall

    vishall Active Member

    Correct hehe, thanks tho :D
     
    jmurrayhead likes this.

Share This Page