If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / where are the controls to center my logo.gif ?

where are the controls to center my logo.gif ?

Locked

Started by rdcast on 7 Mar 2010, 2:09 PM · Views: 2,113

Results 21 to 24 of 24
This thread is locked. New replies are disabled.
23 Mar 2010, 8:52 PM
#21
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

where are the controls to center my logo.gif ?

I assume you know to look in /common/"tpl_header.php" to edit the above code.

I await your thoughtful response.
Thank you

24 Mar 2010, 6:22 PM
#22
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: where are the controls to center my logo.gif ?

The logo div already has an id, so there is absolutely no need to edit the PHP file for alignment. Just find or add in your stylesheet #logo { and style as desired.

#logo {text-align: center;}
or
#logo {margin: auto;}
or other properties depending on your exact circumstances.

A link to see your site live will let us give the best answer.

Also, if you are having problems with the sidebox absolute positioning when the screen is resized, try using position: relative; on #contentMainWrapper or #mainWrapper so that one of those is the reference for positioning, rather than the whole window.

24 Mar 2010, 10:19 PM
#23
rdcast avatar

rdcast

Zen Follower

Join Date:
Feb 2010
Posts:
332
Plugin Contributions:
0

Re: where are the controls to center my logo.gif ?

headz:

I am trying to do this aswell, I am new to this have managed quite a few things through trail adn error, where abouts do I need to make this alteration

headz:

Thank you for the link, tried it and has not worked, the link is www.headzandhandz.co.uk/shop I am trying to get the logo to move further over to the right

gjh42:

The logo div already has an id, so there is absolutely no need to edit the PHP file for alignment. Just find or add in your stylesheet #logo { and style as desired.

#logo {text-align: center;}
or
#logo {margin: auto;}
or other properties depending on your exact circumstances.

A link to see your site live will let us give the best answer.

Also, if you are having problems with the sidebox absolute positioning when the screen is resized, try using position: relative; on #contentMainWrapper or #mainWrapper so that one of those is the reference for positioning, rather than the whole window.

Actually Glenn, I was responding to headz question, but i do appreciate your knowledge of css. I really need to take a course in the subject.

I await your thoughtful response.
Thank you

28 Mar 2010, 12:24 AM
#24
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: where are the controls to center my logo.gif ?

Yes, the first part of my post was directed to headz' question; the second part was for your previous comment.
It is better to make a layout/style change without touching PHP files if practical, as this means fewer edits to merge into a future upgraded file.