I want to center the nav bar and footer bar. how do i do that?
I want to center the nav bar and footer bar. how do i do that?
Lextechs.com Powered By ZenCart
The links in the footer bar are centered.
To center the links (Home Login) do the following:
(1) Open includes/templates/comstock/common/tpl_header.php
find the following code:
Delete the portion highlighted in red, save the file and upload to your server.Code:<div id="navMain"> <ul class="back">
(2) open includes templates/comstock/css/stylesheet/css
find the following declaration:
Delete the portion highlighted in red, save the file and upload to your server.Code:#navMain ul li a { margin-right:2px; padding:2px 10px; background:#999; color:#fff; border:1px solid; float:left; font-weight:Bold; line-height:14px; text-decoration:none; border-color:#66006B; }
That's not what i am looking to do the links are fine where there are what i want to do is instead of haveing the sliver bar across the top i want the bar centered over the main page, i figured out how to make the bar shorter but know i just want it centered....<a href="http://keepnitrealentertainment.com/">test</a>
Lextechs.com Powered By ZenCart
make the change highlighted in red in your stylesheet.css
div#mainWrapper {
margin: 0 auto;
padding: 0;
background: #fff;
border: 1px solid #000;
text-align: left;
width: 907px;
vertical-align: top;
}
Try using an unmodified version of the comstock stylesheet since that works in both browsers then start adding your modified declarations until you find where the culprit is.
Thanks for your help. would it be possible to send me the photo templates so i can change the color. What is the purpose of the black bar that says "This text can be changed in inludes/languages/english/comstock/header.php"
You can view the template changes here:
"http://www.keepnitrealentertainment.com/
The last thing i need to do after i figure out the broswer issue is change the color.
again thanks for your help.
Lextechs.com Powered By ZenCart
You can use this to place your company "tagline" instead of in the header. You can use it to place "promotional/sales" text or any other information you wish.What is the purpose of the black bar that says "This text can be changed in inludes/languages/english/comstock/header.php"
Comstock images (photoshop *psd files)
Attachment 1663
Last edited by clydejones; 31 Dec 2009 at 02:31 AM.
Thanks alot By the way i love the template i just wanted to customize a bit for me thanks again.
Lextechs.com Powered By ZenCart
Bookmarks