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
Started by rdcast on 7 Mar 2010, 2:09 PM · Views: 2,113
Zen Follower
I assume you know to look in /common/"tpl_header.php" to edit the above code.
I await your thoughtful response.
Thank you
Black Belt
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.
Zen Follower
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
Black Belt
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.
Tell staff why this post should be reviewed.