Community Forums › Forums › Archived Forums › Design Tips and Tricks › Changing Magazine Header Area
- This topic has 15 replies, 2 voices, and was last updated 10 years, 9 months ago by ambition.
-
AuthorPosts
-
November 27, 2013 at 7:41 am #75853ambitionMember
I would like to decrease the space on the top and bottom of the header area (including the header right widget) in the Magazine theme, not the actual header dimensions. How would I go about changing that?
Thank you!
November 27, 2013 at 8:35 am #75861Davinder Singh KainthMember1. Open style.css file (backup before making changes, copy contents in a notepad file).
2. Look for following:/*
Site Header
---------------------------------------------------------------------------------------------------- */.site-header {
padding-top: 64px;
padding-top: 6.4rem;
}.site-header .wrap {
border-bottom: 2px solid #222;
padding: 30px 0;
padding: 3rem 0;
}3. Above change padding values to adjust spacing.
4. For changing space in widget at top right, change padding value in following code found in style.css file
/* Widget Area
--------------------------------------------- */.site-header .widget-area {
float: right;
text-align: right;
width: 728px;
}.header-image .site-header .title-area,
.header-image .site-header .widget-area {
padding: 40px 0;
padding: 4rem 0;
}.site-header .widget-area p {
margin-bottom: 0;
}
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 27, 2013 at 3:05 pm #75947ambitionMemberThanks for your advice. I changed it to the following but nothing changed. Did I not change something that I was supposed to?
/*
Site Header
---------------------------------------------------------------------------------------------------- */.site-header {
padding-top: 24px;
padding-top: 6.4rem;
}.site-header .wrap {
border-bottom: 2px solid #222;
padding: 30px 0;
padding: 3rem 0;
}/* Widget Area
--------------------------------------------- */.site-header .widget-area {
float: right;
text-align: right;
width: 728px;
}.header-image .site-header .title-area,
.header-image .site-header .widget-area {
padding: 24px 0;
padding: 4rem 0;
}.site-header .widget-area p {
margin-bottom: 0;
}November 28, 2013 at 9:00 am #76036Davinder Singh KainthMemberYou need to find the above code and then change padding values to adjust space.
Like
padding-top: 64px;
padding-top: 6.4rem;Change this to
padding-top: 20px;
padding-top: 2rem;and so on.
***Note: Remember to change rem values accordingly:
10px = 1rem
40px = 4rem
55px = 5.5remTry again.
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 28, 2013 at 7:13 pm #76095ambitionMemberThank you! Okay, I put in this code and it worked for the top but not the bottom. I tried adding a padding for the bottom but it didn't do anything. Is there something I need to add to adjust the bottom padding?
Site Header
---------------------------------------------------------------------------------------------------- */.site-header {
padding-top: 30px;
padding-top: 3.0rem;
}.site-header .wrap {
border-bottom: 2px solid #222;
padding: 30px 0;
padding: 3rem 0;
}November 28, 2013 at 8:40 pm #76099Davinder Singh KainthMemberTo reduce overall height of the header, reduce 90px of min-height: 90px; in the following code.
/* Logo, hide text */
.header-image .site-header .wrap {
padding: 0;
}.header-image .site-title a {
background-position: center !important;
background-size: contain !important;
float: left;
display: block;
min-height: 90px;
text-indent: -9999px;
width: 100%;
}--------------------------------
For more customization, in the following code
Site Header
—————————————————————————————————- */.site-header {
padding-top: 30px;
padding-top: 3.0rem;
}.site-header .wrap {
border-bottom: 2px solid #222;
padding: 30px 0;
padding: 3rem 0;
}Change padding:30px 0; to padding: 30px 0 0 0;
and
padding:3rem 0; to padding: 3rem 0 0 0;Let me know how it goes!
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 29, 2013 at 1:10 am #76123ambitionMemberOkay, so I changed it to this and nothing changed. I don't want the actual header changed, just the space from the bottom of the header to the nav bar. So basically I want to change the padding for the bottom. Somehow! lol Again, THANK YOU!
Site Header
---------------------------------------------------------------------------------------------------- */.site-header {
padding-top: 30px;
padding-top: 3.0rem;
}.site-header .wrap {
border-bottom: 2px solid #222;
padding: 30px 0 30px 0;
padding: 3rem 0 3rem 0;
}November 29, 2013 at 5:28 am #76134Davinder Singh KainthMember1. In the above code change
padding: 30px 0 30px 0;
padding: 3rem 0 3rem 0;to
padding: 30px 0 0 0;
padding: 3rem 0 0 0;2. Then remove all widget(s) that you have placed in header right area. Save and now check if padding goes away. If yes, then we need to change padding in header right widget section.
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 29, 2013 at 6:56 pm #76237ambitionMemberSo it looks like header right area needs to be changed. I wasn't sure which was the correct header right widget section.
Thank you once again!
November 29, 2013 at 8:48 pm #76243Davinder Singh KainthMember1. Look for following code:
/* Widget Area
--------------------------------------------- */.site-header .widget-area {
float: right;
text-align: right;
width: 728px;
}.header-image .site-header .title-area,
.header-image .site-header .widget-area {
padding: 40px 0;
padding: 4rem 0;
}.site-header .widget-area p {
margin-bottom: 0;
}2. Change
padding: 40px 0; to padding:10px 0;
padding: 4rem 0; to padding:1rem 0;Then check!
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 29, 2013 at 9:23 pm #76244ambitionMemberLOL - That did decrease the bottom padding but it also cut off the top of my logo! This is never-ending! But you are so awesome for still sticking with me!
November 30, 2013 at 3:49 pm #76327ambitionMemberWhen I adjusted it to 20px and 2rem, it increased the bottom space but showed a little more of the logo. I just want a little padding on the top and bottom of the logo. Any other suggestions?
November 30, 2013 at 9:10 pm #76358Davinder Singh KainthMemberFor more padding top / bottom of logo, change padding values for header wrap
.site-header .wrap {
border-bottom: 2px solid #222;
padding: 30px 0;
padding: 3rem 0;
}Above change 30px 0 and 3rem 0 values. Try 10, 20 and check which final look you want. As such, best option is using firebug or inspect element feature in Google Chrome to find exact class to modify padding values.
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesDecember 1, 2013 at 10:27 am #76435ambitionMemberThis reply has been marked as private.December 1, 2013 at 9:02 pm #76529Davinder Singh KainthMemberHi, I cannot see your private reply. You can email iguiding AT gmail DOT com for follow up
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesDecember 2, 2013 at 9:11 pm #76755ambitionMemberThank you so much!
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.