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

Removing the padding or margin left of logo?

Discussion in 'Styling and Customization Questions' started by karoshio, Jun 21, 2011.

  1. karoshio

    karoshio Active Member

    I'm drawing a blank and i cannot find it anywhere. I'm obviously missing something simple but i searched and can't find anything else on this.

    http://gamercafe.net need to remove the approx 20px gap to the left of it.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I spy a left margin in your CSS:

    Code:
    /* logo temporary margin fix */
    #logo {
    	margin-left: 18px;
    }
    
    Search the templates for this and you should find it:

    Admin CP -> Appearance

    Screen shot 2011-06-20 at 9.38.07 PM.png
     
  3. karoshio

    karoshio Active Member

    No luck, thanks for the reply though. I went through all the CSS to do with the logo, all i know of anyway and there's no margins or anything. Unless it's padding not apart of the logo? I don't know.
     
  4. Ryan Kent

    Ryan Kent Well-Known Member

    karoshio, the #logo css appears in header.css by default unless you added it elsewhere such as EXTRA.css. Try checking those two templates.
     
  5. karoshio

    karoshio Active Member

    Code:
    #logo
        {
            display: block;
            float: left;
            line-height: {xen:calc '@headerLogoHeight - 4'}px;
            *line-height: @headerLogoHeight;
            height: @headerLogoHeight;
            vertical-align: middle;
        }
    
            /* IE6/7 vertical align fix */
            #logo span
            {
                *display: inline-block;
                *height: 100%;
            }
    
            #logo a:hover
            {
                text-decoration: none;
            }
    
            #logo img
            {
                vertical-align: middle;
            }
    None of that seems to be affecting it. Unless I'm just completely missing something.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    As Jake said, you have this as custom css.
    Search for "logo temporary margin fix" in the templates.

    /* --- xeno_custom.css --- */

    /* logo temporary margin fix */
    #logo {
    margin-left: 18px;
    }
     
  7. karoshio

    karoshio Active Member

    If by search you mean "Search Templates" then "Template Contains" i have done that and it found no results. I tried as many searches out of that CSS I could.
     
  8. Ryan Kent

    Ryan Kent Well-Known Member

    From the ACP click on APPEARANCE, then do not click on anything else.

    In the upper right corner of your screen, below the word STYLES you will see a search box with the words "template code" in it. Type in that box and press search.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    Who created your style?

    Is it possible they created a .css file on the server and it's being called from the file system?
     
  10. karoshio

    karoshio Active Member

    my style is from themesinc.com

    I have no idea because i just can't find it anywhere.
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    If you're unable to locate the .css, ask the style author then.
     

Share This Page