The code in this download folder adds the header right widget area back to the Genesis Sample child theme and also repositions the primary menu after the header as well as making it full width in desktops like this :
The download folder also contains code to change the width the responsive menu kicks in from 960px width to 660px.
Note : If using version 3.4.1, change the width back to 960px, See the comments for more details.
Shows the primary menu repositioned to the after header hook and displayed full width on desktops.
Adds back the header right widget area.
There’s 2 steps :
- # Remove or comment out the PHP code in functions.php on lines 135, 146 & 147 as seen in the image named functions.png located inside the download folder . If using version 3.4.1, the code is located on lines 200, 215 & 216,
- # Copy & paste the CSS from the style.css file to the end of your child themes style sheet and clear all types of caching.
If you want to add a button in the header right widget area, add this HTML in Custom HTML widget in the Header Right widget area.
<a class="button" href="http://example.com">Schedule Service Now 800-123-4567</a>
You can also go to config > theme-supports and change the name of the primary menu on line 39.Subscribe for new Tutorials