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

XF 1.2 Header logo doesn't resize.

Discussion in 'Styling and Customization Questions' started by ix2013, Jul 9, 2013.

  1. ix2013

    ix2013 Member

    I set the path of a large logo (1310x640) and it's almost the same size as my browser window. Lowering the height of the logo isn't doing anything.
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Use the following in your EXTRA.css:
    Code:
    #logo img {
      height: 30px;
    }
    Adjust height accordingly.

    Although, it may be better for you to actually shrink the logo.
     
  3. ix2013

    ix2013 Member

    I thought about doing that but I'm concerned why that page isn't setting it.
     
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    What page?
     
  5. ix2013

    ix2013 Member

    admin.php?styles/default-style.1/style-properties&group=header
     
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    The Height of Header Logo (@headerLogoHeight) style property is for the container, not the actual image.
     
  7. ix2013

    ix2013 Member

    I see. Is there an in page field for the image size?
     
  8. Jeremy

    Jeremy XenForo Moderator Staff Member

    A style property? No, I do not believe so. The EXTRA.css edit I provided above will accomplish the same end task a style property would.
     
  9. ix2013

    ix2013 Member

    Where is this EXTRA.css? Not seeing it.
     
  10. Jeremy

    Jeremy XenForo Moderator Staff Member

    EXTRA.css is a template.

    ACP -> Appearance -> Styles -> (Your Style) -> Templates (link next to the style name) -> EXTRA.css
     

Share This Page