First the position and layout of this bar is dependent on the css description so first we must change this by adding a new class.
in catalog\view\theme\default(your cart name\stylesheet\stylesheetcss you will find
Code: Select all
#header .div3 {
float: right;
padding-top: 7px;
height: 38px;
}
#header .div3 a {
margin-left: 15px;
padding: 1px 0px 2px 20px;
background-repeat: no-repeat;
background-position: left center;
}
Code: Select all
#header .div33 {
float: left;
padding-top: 7px;
height: 38px;
}
#header .div33 a {
margin-left: 15px;
padding: 1px 0px 2px 20px;
background-repeat: no-repeat;
background-position: left center;
}
Now we have to go to the header.tpl to adjust the position of the menubar
catalog\view\theme\default(name of your theme\template\common\header.tpl
look for the following code:
Code: Select all
<div class="div6">
<div class="left"></div>
<div class="right"></div>
<div class="center">
<?php if (isset($common_error)) { ?>
<div class="warning"><?php echo $common_error; ?></div>
<?php } ?>
<div id="breadcrumb">
<?php foreach ($breadcrumbs as $breadcrumb) { ?>
<?php echo $breadcrumb['separator']; ?><a href="<?php echo str_replace('&', '&', $breadcrumb['href']); ?>"><?php echo $breadcrumb['text']; ?></a>
<?php } ?>
</div>
Code: Select all
<div class="div33"></div>
Code: Select all
<div class="div3"><a href="<?php echo str_replace('&', '&', $special); ?>" style="background-image: url('catalog/view/theme/default/image/special.png');"><?php echo $text_special; ?></a><a onclick="bookmark(document.location, '<?php echo addslashes($title); ?>');" style="background-image: url('catalog/view/theme/default/image/bookmark.png');"><?php echo $text_bookmark; ?></a><a href="<?php echo str_replace('&', '&', $contact); ?>" style="background-image: url('catalog/view/theme/default/image/contact.png');"><?php echo $text_contact; ?></a><a href="<?php echo str_replace('&', '&', $sitemap); ?>" style="background-image: url('catalog/view/theme/default/image/sitemap.png');"><?php echo $text_sitemap; ?></a></div>
Now paste this betwenn the <div class="div33"></div>
You are nearly all set but to stop the tabs jumping to the top of the page you should add the following between the tags you have just cut from <div class="div3"></div>
Code: Select all
<p> </p><p> </p>
I never believe in deleting or changing existing code that is why I have the new stylesheet "div33" and if you are chaning code in future always try keep the old code on the page as a comment.
Hope that all goes well
see http://www.online-biz-uk.co.uk