Zen Follower
- Join Date:
- Mar 2005
- Location:
- Tempe, AZ
- Posts:
- 316
- Plugin Contributions:
- 0
Comstock Template
I want to center the nav bar and footer bar. how do i do that?
Lextechs.com Powered By ZenCart
Views: 132,660
Zen Follower
I want to center the nav bar and footer bar. how do i do that?
Lextechs.com Powered By ZenCart
Deceased
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:
<div id="navMain">
<ul class="back">
Delete the portion highlighted in red, save the file and upload to your server.
(2) open includes templates/comstock/css/stylesheet/css
find the following declaration:
#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;
}
Delete the portion highlighted in red, save the file and upload to your server.
NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Zen Follower
<div id="navMain"> <ul class="back"> ``` > > Delete the portion highlighted in red, save the file and upload to your server. > > (2) open includes templates/comstock/css/stylesheet/css > > find the following declaration: > > ``` #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; } ``` > > Delete the portion highlighted in red, save the file and upload to your server.clydejones:
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:
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
Deceased
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;
}
NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Zen Follower
clydejones:
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;
}
I have merge your template with another, for some reason the footer is not showing up in Firefox But its shows up In IE any idea what could cause the page to show correctly in one browser and incorrectly in the other?
Lextechs.com Powered By ZenCart
Deceased
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.
NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Zen Follower
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
Deceased
What is the purpose of the black bar that says "This text can be changed in inludes/languages/english/comstock/header.php"
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.
NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Deceased
Comstock images (photoshop *psd files)
[Attachment no longer available]
NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Zen Follower
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
Zen Follower
I just installed this template for someone, but the tabbed categories aren't showing up. It's turned on in the Admin. Have I done something wrong?
I'll finish that project tomorrow, I've made enough mistakes today!
Deceased
Boggled:
I just installed this template for someone, but the tabbed categories aren't showing up. It's turned on in the Admin. Have I done something wrong?
just make sure the includes/templates/comstock/images is included.
the graphics for the template are in there.
NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Zen Follower
Hi Clyde!
Thanks for the quick response.
The image is there and if I make a fake EZpages page, it shows up.
What's not showing up is the categories list (text version) that usually shows up on most templates when you turn the tabs on. Like in the screenshot I attached.
Personally I prefer it this way, but my friend wants them to show. LOL
I'll finish that project tomorrow, I've made enough mistakes today!
Deceased
Boggled:
Hi Clyde!
Thanks for the quick response.
The image is there and if I make a fake EZpages page, it shows up.
What's not showing up is the categories list (text version) that usually shows up on most templates when you turn the tabs on. Like in the screenshot I attached.Personally I prefer it this way, but my friend wants them to show. LOL
I see (said the blind man!)
let me check, but I think I have the categories bar commented out by default.
NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Zen Follower
Boy I hope it's something that simple! LOL
I'll finish that project tomorrow, I've made enough mistakes today!
Deceased
Boggled:
Boy I hope it's something that simple! LOL
open includes/templates/comstock/common/tpl_header.php
find this code:
<!--bof-optional categories tabs navigation display-->
<!--<?php // require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>-->
<!--eof-optional categories tabs navigation display-->
Delete the two highlights and that should take care of it.
NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
Zen Follower
Thanks Clyde! That worked like a charm. :smile:
I'll finish that project tomorrow, I've made enough mistakes today!
Deceased
Boggled:
Thanks Clyde! That worked like a charm. :smile:
glad it worked out.
NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.
New Zenner
clydejones:
glad it worked out.
Clyde
I know you addressed this in this thread but I followed your instructions and the footer is still displayed wrong with IE6 but ok in FF (footer is to wide and legal info is not displayed properly in IE6)
I added this to the css in lu of orginal
#copyrightBox {
margin: 0;
padding: 0 5px;
width: 20%;
float: right;
height: 1%;
}
After close inspection of footer in FF the PayPal logo extends below the line outling the footer.
Thanks chas1
Zen Follower
For some reason in IE6 and IE7 my welcome or the log yourself in line. and the product header info is miss if you look at a product. but this only happens in IE6 and IE7 works fine in FF is not showing up i know it's a css issues but jsut can't seem to find it can you help
Lextechs.com Powered By ZenCart
Tell staff why this post should be reviewed.