Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to create full width responsive header w/Genesis Magazine Pro theme
Tagged: full width header, genesis, Magazine Pro
- This topic has 5 replies, 2 voices, and was last updated 8 years, 10 months ago by
jlcpvr.
-
AuthorPosts
-
July 8, 2017 at 12:10 pm #208852
jlcpvr
MemberI've searched for a way to create full-width header on Magazine Pro, but lots of different advice and nightmare crash stories. Is there a plugin to create full width responsive headers? If not, what's the best way to tweak the code to over-ride the settings? I found this...
and
But neither seems exactly right for the current Magazine Pro theme, looking at the code. I've backed up both the css and php codes in Notes, but want to make sure I have the best advice before starting.
http://www.paveroads.com
I searched the topics but didn't see answer to this -- any help is much appreciated!(My site has not launched yet, just setting up.)July 8, 2017 at 12:24 pm #208853Brad Dalton
ParticipantAre you wanting to use a full screen width image or are you referring to using a full width of the content/sidebar container?
July 8, 2017 at 12:40 pm #208856jlcpvr
MemberHi, sorry for any confusion. I am trying to create a full-width header image for homepage instead of the default smaller header. Thanks.
July 8, 2017 at 12:41 pm #208857Brad Dalton
ParticipantJuly 8, 2017 at 1:58 pm #208862Brad Dalton
ParticipantAlso, did you try this tutorial which is more specific to what you need.
July 10, 2017 at 12:46 pm #208918jlcpvr
MemberHi Brad,
I saw that tutorial but didn't try because it says "you can change the PHP code for the Custom Header function located under your Appearance Menu, in your child themes functions.php file around line 42" When I copied my php file to notes, line 42 is "child theme do not remove, define child theme" etc. The "add support for custom header" area is at line 101. Also, there are a few other differences from the tutorial example: mine has a line that says 'flex-height' = true and the 'header-selector = '.site-title a' (although yours may have just been cut off, but I only see .site-title) Also, my height is 180 and width is 760.
Also, in my css style sheet, the header-image area starts at line 1417 (from notes).
Then to change padding the tutorial says line 1106, but that's also not congruent. (There are many places where .site header appears, including under widgets, etc. but they start at line 1356 under /*Site Header)I could just go ahead and change the php code to h=200 and w=1140 and then change the css min-height from 90 px to 200 px as your tutorial shows -- but just want to be sure since there are some differences. Then, I'm not sure how to change padding because mine is different than tutorial.
Any clarification is much appreciated! -
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.