Zen Cart Logo

nav bar / nav links

Locked

Views: 1,175

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Jun 2008, 3:37 AM
#1
eaglepg avatar

eaglepg

New Zenner

Join Date:
Jun 2008
Location:
Santa Barbara, CA
Posts:
7
Plugin Contributions:
0

nav bar / nav links

Ok, I am lost...

refer to the following image which is a snapshot of a page on the store I am developing

**Screenshot**

I want to move the "Log In" text, which also has "My Account" listed with it after someone signs in, to what I believe is called the "Nav Bar”, which currently lists "Languages", "Shopping Cart", and "Currencies" with drop down box (also shown in the screenshot).

The code that changes the alignment and text properties of the “Log In” text is in the stylesheet_tm.css document. Here is the code:

.nav_links {padding:64px 39px 0 0; color:#9C6D43;}
.nav_links a {color:#9C6D43; text-decoration:none;}
.nav_links a:hover {text-decoration:underline;}
.nav_links .indent {margin:3px 20px 6px 28px;}

I do not know how to remove the log in text from the header area. I presume I just need to delete the text above. Haven’t tried that yet.

So, how do I remove “Currencies” on the nav bar and insert “log in”, which changes to “Log In | My Account” after someone logs in. I will also want to remove “Languages” and eventually put something else there. Just not sure how to do it.

Lastly, you can see by looking at the product description area that the light gray area (is this the body?), expands out to the right too much past the right edge of the header and looks sloppy. It may have something to do with the images that are included in the body of the product description. Anyone know how to fix this? I would like to adjust the margins/padding instead of resizing the images.

Thanks in advance for all of your help!!!

11 Jun 2008, 5:28 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: nav bar / nav links

Csn't tell squat from a pic

What is a link to your site

11 Jun 2008, 6:08 AM
#3
eaglepg avatar

eaglepg

New Zenner

Join Date:
Jun 2008
Location:
Santa Barbara, CA
Posts:
7
Plugin Contributions:
0

Re: nav bar / nav links

sorry about that.

I didnt want there to be a link to the site yet. I dont want it indexed on any search engines yet.

below is the url...just add the second line to the first when you paste into your browser. Thanks again.

htt p://eag lepa ragli ding.com/
store/index.php?main_page=product_info&cPath=37_40&products_id=4

11 Jun 2008, 9:01 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: nav bar / nav links

You, unfortunately, have fell prey to the Template Monster syndrome - -

Search this site for them and see all the issues surrounding their templates.

Basically, as they do not adhere to the Zen Cart schema when coding a template, anything that would be offered as a normal solution will not apply to their template.

Bottom line, unless you can dicipher their coding, one must take the template as provided, or bite the bullet and start from scratch and build their own.

You have the option of attempting to get assistance from them.

On another note:

You should publish your site NOW!! And submit it to the search engines so that they begin to crawl it. Resubmit every time you make additions or weekly at a minimum. They will see that their is new content and you will be well ahead of the game by doing so.

11 Jun 2008, 9:06 AM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: nav bar / nav links

This appears to be a Template Monster template, which means that they have hacked the standard template files in unknown ways and it will be difficult for us to give accurate advice.

Deleting the stylesheet declarations you mention will only remove all control of the styling for the login element. You will need to remove the php code for it in (probably) /includes/templates/your_template/common/tpl_header.php.
TM calls the nav bar ".navigation", so that is the div and code block you want to put the login code into. It should be in tpl_header.php.

The "size vs loading" chart image is the item that is causing the expansion of the #contentMainWrapper .centerColumn.
To reduce margins and padding, get the Firefox Web Developer extension. Its Information > Display Element Information button will show class/id tags and other info you need to identify the places to change.
The CSS > Edit CSS button will let you see instantly the effects of changes in the stylesheet.

11 Jun 2008, 3:49 PM
#6
eaglepg avatar

eaglepg

New Zenner

Join Date:
Jun 2008
Location:
Santa Barbara, CA
Posts:
7
Plugin Contributions:
0

Re: nav bar / nav links

ok, thanks for all your help!!!! :smile: