• 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?

Jake Bunce

XenForo moderator
Staff member
#2
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
 

karoshio

Active member
#3
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.
 

Ryan Kent

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

karoshio

Active member
#5
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.
 

Brogan

XenForo moderator
Staff member
#6
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;
}
 

karoshio

Active member
#7
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.
 

Ryan Kent

Well-known member
#8
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.
 

Brogan

XenForo moderator
Staff member
#9
Who created your style?

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