Forums / Templates, Stylesheets, Page Layout / Absolute Positioning of Login and Account Links in Header

Absolute Positioning of Login and Account Links in Header

Locked

Views: 853

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
3 Mar 2009, 2:55 AM
#1
bsteinagel avatar

bsteinagel

Zen Follower

Join Date:
Sep 2007
Location:
Neenah, WI
Posts:
112
Plugin Contributions:
0

Absolute Positioning of Login and Account Links in Header

I'm trying to reposition the Home and Log In links in my header so that they appear just to the left of my search box in the header. I'm not familiar enough with the CSS commands to know what values I need to use. Preferrably, I'd like to use x and y coordinate values if this possible.

Anyone have any suggestions?

Thanks,

3 Mar 2009, 9:47 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Absolute Positioning of Login and Account Links in Header

Hi Brad

There are good css tutorials on the WWW. I sometimes refer to w3schools.com.

20 years a Zencart User

3 Mar 2009, 10:01 AM
#3
kobra avatar

kobra

Black Belt

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

Re: Absolute Positioning of Login and Account Links in Header

As others appear once logged in you must account for this in design...

The search is out of order in your tpl_header.php but you can find & add this to your stylesheet to get a flavor for what it could look like

#navMain ul, #navSupp ul, #navCatTabs ul  {
float: right;
margin: 1em 0em 0em 0em;
	padding:  0.5em 0em;
	list-style-type: none;
	text-align: center;
	line-height: 1.5em;
	background-color: #666666;
	}

Zen-Venom Get Bitten