Header Height

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
maggini

Header Height

Post by maggini »

Hi Guys,
I am new to CMS Made Simple, it seems like a great system, I am just stuck on one small issue.

I have changed the logo with a graphic that is the same height as the original, i.e. 80px. The new graphic displays just fine but the header is higher than the graphic. Where do I change the actual height of the header please? It is as if the header is perhaps 100px. and therefore I get a band above my graphic.

Many Thanks,

Brian
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Header Height

Post by RonnyK »

You have to change that in de stylesheet belonging to the template. Check the CSS button on the row of the template, the stylesheet with the name of the template has "DIV#header" and "div#header h1 a" there, both need to be changed with the height-element.

Ronny
maggini

Re: Header Height

Post by maggini »

Hi Ronny,
I appreciate what you are saying but the "DIV#header" and "div#header h1 a"  have a height that is the same as the image i.e. 80 pixels. The image is 80 pixels high and the height set in the two header tags is also 80 pixels. I can only assume that there is also a border or height padding set somewhere. Very strange.

Regards,

Brian
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Header Height

Post by RonnyK »

To see what elements are active on a page, you can use the webdeveloper extension for FireFox. If you use "style sheet information" and hover the page, an addressbar will show the elements being active, so you'll see what causes the effect.

Do you have a link?

Ronny
maggini

Re: Header Height

Post by maggini »

Hi Ronny,
As I say I have only just started the site but here is the link:

http://www.placeofmind.com/

I don't have the webdeveloper extension for FireFox, just a basic install, perhaps I should install it.

Regards,

Brian
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm

Re: Header Height

Post by RonnyK »

I'll check tomorrow what causes the effect, WebDeveloper is a good addon when you're developing.

Ronny
maggini

Re: Header Height

Post by maggini »

Hi Ronny,
Many thanks,

It looks like it might be pagewrapper.

Perhaps you can find the glitch tomorrow.

Regards,

Brian
User avatar
Deblus
Forum Members
Forum Members
Posts: 105
Joined: Fri Jun 22, 2007 8:52 am

Re: Header Height

Post by Deblus »

remember there are two places in the CSS to change the header height
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Header Height

Post by Nullig »

You also need to change the offset for your graphic placement:

div#header h1 a {
/* you can set your own image here */
  background: #78D2E1 url(/uploads/images/pomlogo.jpg) no-repeat 0 0;

Nullig
maggini

Re: Header Height

Post by maggini »

Hi Nullig,
You are a star, many thanks for that. The problem was the offset, I had left it at 12 which was the default and thought that it was related to width rather than height.

Regards,

Brian
Locked

Return to “Layout and Design (CSS & HTML)”