Header and Nav Bar Below Header Flush | Widget Align Center

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 and Nav Bar Below Header Flush | Widget Align Center

Postby hohlanhealth » 25 Apr 2012, 15:13

Here's the website: http://hohlanhealth.org/thesacredembodimentcenter/
1. How do I decrease the gap between the header and the navigation bar below header to make them flush (no gap)?
2. How do I center the Newsletter subscribe button in the Left column widget above header?
hohlanhealth
 
Posts: 7
Joined: 08 Nov 2011, 21:20

Re: Header and Nav Bar Below Header Flush | Widget Align Cen

Postby drake » 25 Apr 2012, 18:40

Try to add at Suffusion Options -> Backend -> Custom Includes -> Custom Styles (you can change slightly that 83px value until nav bar became aligned):
Code: Select all
#header {height:83px;}
#text-2 {text-align:center;}
drake
 
Posts: 3778
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: Header and Nav Bar Below Header Flush | Widget Align Cen

Postby hohlanhealth » 26 Apr 2012, 16:31

Worked perfectly, Thank you Drake!
hohlanhealth
 
Posts: 7
Joined: 08 Nov 2011, 21:20

Re: Header and Nav Bar Below Header Flush | Widget Align Cen

Postby popngen » 03 May 2012, 13:30

drake wrote:Try to add at Suffusion Options -> Backend -> Custom Includes -> Custom Styles (you can change slightly that 83px value until nav bar became aligned):
Code: Select all
#header {height:83px;}
#text-2 {text-align:center;}


Drake,

why does the height: 83px work in fixing his padding?
popngen
 
Posts: 6
Joined: 03 May 2012, 09:34

Re: Header and Nav Bar Below Header Flush | Widget Align Cen

Postby drake » 03 May 2012, 17:27

Probably at that moment it was a gap between his header and navigation bar. Remember that the height settled for header at Skinning -> Header is a minimum height. A 83px min-height CSS property means that if the header image have 100px with the paddings around the background will take 100px and the navigation bar will be moved with 17px down. But these 17px are just padding, mathematically is a correct behavior but visually you will have a black gap between header images and navigation bar. By setting "height" I overwrite that "min-height" and I force the header to stay in those 83px, so the next element (navigation bar) was moved up, over the black padding.

In his case was necessary 83px, but the same idea can be applied with any value for moving up the navigation bar over the header background.
drake
 
Posts: 3778
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: Header and Nav Bar Below Header Flush | Widget Align Cen

Postby popngen » 04 May 2012, 09:00

drake wrote:Probably at that moment it was a gap between his header and navigation bar. Remember that the height settled for header at Skinning -> Header is a minimum height. A 83px min-height CSS property means that if the header image have 100px with the paddings around the background will take 100px and the navigation bar will be moved with 17px down. But these 17px are just padding, mathematically is a correct behavior but visually you will have a black gap between header images and navigation bar. By setting "height" I overwrite that "min-height" and I force the header to stay in those 83px, so the next element (navigation bar) was moved up, over the black padding.

In his case was necessary 83px, but the same idea can be applied with any value for moving up the navigation bar over the header background.


It's a little difficult for me to visually sort this out, but I think I understand! Thank you
popngen
 
Posts: 6
Joined: 03 May 2012, 09:34


Return to Support Requests

Who is online

Users browsing this forum: hfeggxqrv and 5 guests