Zen Cart Logo
Forums / Basic Configuration / How to remove currency drop-down menu from header?

How to remove currency drop-down menu from header?

Views: 6,046

Results 1 to 8 of 8
10 May 2011, 4:52 PM
#1
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

How to remove currency drop-down menu from header?

Good day. I am using the latest version of Zen Cart and template theme376 and am looking to make some simple layout changes to my website, https://www.on-grade.ca. I feel that the currency drop down menu doesn't suit my needs as all prices are in Canadian dollars.

[IMG]http://img641.imageshack.us/img641/338/unledrk.png[/IMG]

After exploring the forums a little bit, I read a recommendation on modifying my tpl_header.php file from directory 'includes/template/xxxx/common'. In my case, 'xxxx' is replaced by 'theme376'. So I opened it up and saw a section labelled CURRENCIES :

[IMG]http://img862.imageshack.us/img862/16/unledek.png[/IMG]

The red X's denote where I removed the text from the .php file. After making the change, my currency drop down menu is gone. However, the layout freaks out and changes dramatically.

[IMG]http://img135.imageshack.us/img135/9039/unlednt.png[/IMG]

As you can see, the top menu is no longer being affected by the CSS and is appearing as a normal list. In addition, the main content of the site is now on the left of the screen as opposed to the centre. Does anyone know how to remove the currencies drop down menu without this happening?:lookaroun

10 May 2011, 5:11 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: How to remove currency drop-down menu from header?

Try this:

Locate this:

includes/templates/theme376/css/stylesheet_tm.cssFind this:
.currencies {
color: #717171;
float: right;
font-weight: bold;
padding: 0 11px 0 0;
}

  1. add this:
  1. display: none;
10 May 2011, 5:23 PM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,806
Plugin Contributions:
15

Re: How to remove currency drop-down menu from header?

Or... Try turning off the sidebox in Admin >> Tools >> Layout Boxes Controller.

10 May 2011, 5:27 PM
#4
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: How to remove currency drop-down menu from header?

haredo:

Try this:

Locate this:
Find this:

[/LIST]

Unfortunately, this did not change the layout from it's default state. With your change, that line in my CSS looked like:

.currencies{ float:right; padding:0 11px 0 0; color:#717171; font-weight:bold; display:none;}

10 May 2011, 5:34 PM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,806
Plugin Contributions:
15

Re: How to remove currency drop-down menu from header?

Don't ya just LOVE TM -- NOT!!:censored:

Try ONLY display: none; in the css. Having anything else nullifies the none.

.currencies{ display:none;}

10 May 2011, 5:40 PM
#7
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,616
Plugin Contributions:
0

Re: How to remove currency drop-down menu from header?

Any other problems with that template should be addressed to the designer.

10 May 2011, 5:41 PM
#8
tamuren avatar

tamuren

New Zenner

Join Date:
Apr 2011
Posts:
95
Plugin Contributions:
0

Re: How to remove currency drop-down menu from header?

dbltoe:

Don't ya just LOVE TM -- NOT!!:censored:

Try ONLY display: none; in the css. Having anything else nullifies the none.

.currencies{ display:none;}

Huzzah! It works! Thank you for the assistance, both of you.