Post by Earnshaw24 » Thu Jul 03, 2008 11:53 pm

Yo Yo,

How do I make the section at the top larger - in height?

As you can see on my site www.footyshirts.eu, I want my header larger than the height allows on the top section.

Newbie

Posts

Joined
Wed Jul 02, 2008 7:44 pm

Post by keyjo » Fri Jul 04, 2008 12:02 am

Hi!

I need to go to catalog/template/default/css/
and edit default.css

Take care.

New member

Posts

Joined
Tue Jun 03, 2008 12:18 am

Post by Earnshaw24 » Fri Jul 04, 2008 12:13 am

Thanks keyjo,

What do I look for once in the .css - which area do I edit?

Thanks.

Newbie

Posts

Joined
Wed Jul 02, 2008 7:44 pm

Post by bruce » Fri Jul 04, 2008 6:44 am

Grab yourself a copy of the firefox browser and the "web developer" extension for it. One of the many useful things it allows you to do is that you can examine the style of elements displayed on the page and it will tell you the file and the css class name.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by sakathecheetah » Fri Jul 04, 2008 2:14 pm

Assuming that you're basing your template on the default one, the sections that you would care about would be these in default.css... I'm using the XHTML-compliance patch so that probably affects this as well...

Code: Select all

#header {
	height: 70px; 
	clear: both; 
}

#header .a {
	background: url('../image/logo.gif') no-repeat;
	behavior: url('catalog/javascript/png/iepngfix.htc');
	width: 157px;
	height: 32px;
	float: left;
	position: absolute;
	top: 22px;
	left: 10px;
}
....
The div that represents the logo is "#header .a" (the within the in layout.tpl). You can just replace the background for ".a" with your own logo instead, and adjust the width and height to fit. If you do change the width, don't make it longer than the #container width minus the width of ".b", or the top navigation may drop unexpectedly, or overlap the logo in some browsers. There are ways to resolve this, of course.

fwiw, when I templated this I decided to scrap the default header styles and restyled the navigation to be under the header, with a modified shopping cart in the top right within the header that lists number of items instead of an expanding list. It looks really great, although because nested modules don't mesh well, only my navigation is in header.tpl...

New member

Posts

Joined
Wed Jul 02, 2008 8:50 am
Who is online

Users browsing this forum: No registered users and 0 guests