Site maintenance: Sun 15 Nov, from 20:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / Changing position of store address in header

Changing position of store address in header

Started by luciano9876 on 6 Feb 2011, 8:06 PM · Views: 592

Results 1 to 3 of 3
6 Feb 2011, 8:06 PM
#1
luciano9876 avatar

luciano9876

New Zenner

Join Date:
Jan 2011
Posts:
26
Plugin Contributions:
0

Changing position of store address in header

I am using 1.3.9h.

I tried with 2 templates (and firebug). In both templates the address is like this:

<address style="float: right; text-align: right; margin: 105px 40px 1px 1px; font-weight: bold;"the address/address>

I would like to change the margins (to 20px 20px 1px 1px), but I cannot find where to do that. Firebug doesn't mention the file. I tried to put in the margins that I want in the ADDRESS section in the stylesheet.css, but it is overridden somehow and becomes the above.

How can I change this?

6 Feb 2011, 10:52 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Changing position of store address in header

address style - - is not part of the default code

Must be from a template

Post a link to this to get better answers

Do it like this to avoid your site from being indexed

zen-cart dot com

Zen-Venom Get Bitten

7 Feb 2011, 4:39 PM
#3
luciano9876 avatar

luciano9876

New Zenner

Join Date:
Jan 2011
Posts:
26
Plugin Contributions:
0

Re: Changing position of store address in header

It was indeed from the template. The reason 2 templates acted the same, is because I mixed them up experimenting how things work.

It turned out it was hard-coded in the tpl_header.php file.

I hope this post saves others from searching for hours (literally).