Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: chada - syyskuu 30, 2011, 03:20:02 IP

Otsikko: Help with Header adjustment
Kirjoitti: chada - syyskuu 30, 2011, 03:20:02 IP
First and foremost I want to thank ya'll for SMF
I use it through Godaddy and working with it has been very user friendly.

Link to site: panhandlepierfishing.com

Now my question is:

I would like to set the header logo top dead center of the page and remove slogan line completely but for the life of me I can't figure it out.
It is probably so simple that I am just over looking it.

Thanks for any  help.

Chad
Otsikko: Re: Help with Header adjustment
Kirjoitti: IchBin™ - syyskuu 30, 2011, 03:26:11 IP
Chad, it will really help if you tell us which version of SMF you are using as well which theme you are trying to customize. This is really a Theme issue, so I'm going to move you to the themes board.

Looking at your site I see you are using 2.0.1. However, I'm still wondering which theme. As a different theme can show for users vs guests.
Otsikko: Re: Help with Header adjustment
Kirjoitti: chada - syyskuu 30, 2011, 03:34:04 IP
current thene is SMF Default Theme - Curve

I do not use a different theme for guest or users.
Otsikko: Re: Help with Header adjustment
Kirjoitti: IchBin™ - syyskuu 30, 2011, 07:29:28 IP
You are going to run into a small problem unless you move some code. The upshrink icon in the top right of the forum will be pushed below the banner if you do this. So if you don't like that, you'll need to open the index.template.php file and move the link/image code for it.

index.css file (about line # 365):
Lainaah1.forumtitle {
    line-height: 45px;
    font-size: 1.8em;
    font-family: Geneva, verdana, sans-serif;
    margin: 0;
    padding: 0;
    /*float: left;*/
    /* Comment out line above like I have, and add the line below this comment */
    text-align: center;
}
Otsikko: Re: Help with Header adjustment
Kirjoitti: chada - syyskuu 30, 2011, 08:05:07 IP
With the upshrink pushed below the banner that would be just fine.

So what is needed done to center the header logo or is that the code you posted.
Otsikko: Re: Help with Header adjustment
Kirjoitti: IchBin™ - syyskuu 30, 2011, 08:24:51 IP
Yes the code I posted has some comments in it to tell you what to remove and what to add.