header height

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

header height

Postby greenmile00 » 15 May 2012, 03:27

Hi there everybody.
First of all, I want to thank Sayontan for the wanderful theme he has developed, which I am using and all i can say is that it is a great one.
My question is related to the height of the header, which i cannot control in different pages. I set in the admin settings (under skinning- header) the height to 255px, and it works just fine for every page. I want to know how to make it 100px for a single page. I know the id of the page and everything, but do not know what to add in custom include under the back-end settings.

The website I am trying to build is http://smartdesign.com.ro, but unfortunetly it cannot be visited yet ... some of the companie's policies :) ... so please, if you can help me it would be great.
greenmile00
 
Posts: 16
Joined: 15 May 2012, 03:19

Re: header height

Postby drake » 15 May 2012, 03:35

You need to address:
Code: Select all
.page-id-XXX #header {height:100px;}

where XXX is the id of the page.
drake
 
Posts: 3798
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: header height

Postby greenmile00 » 15 May 2012, 03:55

drake wrote:You need to address:
Code: Select all
.page-id-XXX #header {height:100px;}

where XXX is the id of the page.


Thank you drake for your reply, but unfortunetly I have already tried this code, and it does not work. I also tried with .page-id-xxx #header.container {height:100px;} and still does not work.
greenmile00
 
Posts: 16
Joined: 15 May 2012, 03:19

Re: header height

Postby greenmile00 » 15 May 2012, 04:00

Thanks all, solved it :)

the needed code was:
.page-id-xxx #header {min-height:100px;}
greenmile00
 
Posts: 16
Joined: 15 May 2012, 03:19

Re: header height

Postby drake » 15 May 2012, 04:47

With "min-height" tell to extend the header more than 100 px if the content of header don't fit, with "height" force the header elements to fill just the specific height. Depends of situation both properties can be applied. By example, with "min-height" the nav-bar will float below the header image, with "height" I can force the nav bar to came over the header image.
drake
 
Posts: 3798
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: header height

Postby Colin » 15 May 2012, 06:54

Don't forget that some versions of IE don't understand min-height and they interpret it as height so make sure your 100px looks OK on all versions of IE.
Colin
 
Posts: 2798
Joined: 27 Oct 2009, 10:46


Return to Support Requests

Who is online

Users browsing this forum: drake, Google [Bot], Poonifoot, Thomas F and 8 guests