• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How do you use full size header Lifestyle Pro??

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How do you use full size header Lifestyle Pro??

This topic is: not resolved

Tagged: header image, lifestyle Pro

  • This topic has 33 replies, 6 voices, and was last updated 8 years, 7 months ago by Bargnchk.
Viewing 20 posts - 1 through 20 (of 34 total)
1 2 →
  • Author
    Posts
  • October 8, 2013 at 9:19 am #65841
    SteveDub
    Member

    Hi,

    Lifestyle PRO:

    Have tried searching but can't seem to find an answer. How do you change the header image so it is full size?? i.e. replace the big block of colour? It seems to only let you upload an image of 320x110. Is this because it re-sizes and you can't put a fixed size image in it's place?

    Thanks for your help,
    Steve

    October 9, 2013 at 4:13 am #65938
    Brad Dalton
    Participant

    Try this http://wpsites.net/web-design/custom-header-image-genesis/

    You can change the width in the PHP code located in your child themes functions.php file and also the values under your header section in your child themes style.css file.


    Tutorials for StudioPress Themes.

    October 13, 2013 at 2:02 pm #66532
    Sam Angel
    Participant

    I followed the directions from http://wpsites.net/web-design/changing-custom-header-image-sizes-in-different-themes to resize the header in a Lifestyle Pro theme I'm working on.

    I set the widget width to 0.

    Everything worked fine except for there are blocks of color on each side the the header image that I can't find how to get rid of.

    Header with Unwanted Color Blocks

    I would like the header to extend out across the color blocks so that the green doesn't show at all.

    How can I get this to work?

    October 13, 2013 at 10:07 pm #66574
    Brad Dalton
    Participant

    Link to your site please.


    Tutorials for StudioPress Themes.

    October 14, 2013 at 5:51 am #66612
    SteveDub
    Member

    Thank you for your help guys, I will try and have a look at this today as haven't had chance yet.

    October 14, 2013 at 9:11 am #66651
    Brad Dalton
    Participant

    Here's the solution you can paste at the end of your child themes style.css file before the Media Queries.

    .site-header {
    	background-color: #fff;
    }
    

    Source http://wpsites.net/web-design/customize-lifestyle-pro-theme-header-image-area/


    Tutorials for StudioPress Themes.

    October 14, 2013 at 11:55 am #66683
    Sam Angel
    Participant

    Here's the link: http://members.staceymyers.com/sara/

    I'm not sure why the header isn't taking up all of the space inside the header area either. I would like it to extend as far out as the menu bars. When I looked the dimensions were 320 width for the header and 600 width for the header widget so I made my header image 920 width. I would have thought it would take up the entire space by making it that wide. Why didn't it?

    October 14, 2013 at 12:05 pm #66684
    Sam Angel
    Participant

    If this info:

    .site-header {
    background-color: #fff;
    }

    was for me. I tried it and it didn't do anything that I could see after inserting it so I took it back out.

    October 14, 2013 at 9:53 pm #66748
    Brad Dalton
    Participant

    Try this:

    .site-header {
    background-color: #ffffff!important;
    }
    

    The reason the other code didn't work was because its being over-ridden by the class for the color style options.

    Actually, this code is better because it uses the color style class:

    .lifestyle-pro-green .site-header {
    background-color: #fff;
    }
    

    As far as the padding and width etc, you'll find the solution in the tutorial i linked too above.


    Tutorials for StudioPress Themes.

    October 15, 2013 at 3:37 pm #66885
    Sam Angel
    Participant

    Thank you so much! Everything is working now and looks great!

    October 16, 2013 at 5:37 am #66964
    SteveDub
    Member

    Thanks for all your help guys, glad you got your site sorted Sam looks good now! Exactly what I'm trying to do, although still with no success, I am going to re-read through these posts and look at the links again!

    Is there a specific size you have made your Header Image Sam?? OR does this not matter once the new code is implemented and will this rezise anything to full width??

    Thanks for your patience people 🙂
    Steve

    October 16, 2013 at 8:11 am #66982
    Sam Angel
    Participant

    Steve,

    I originally made it to 920x150 but after following the directions from http://wpsites.net/web-design/customize-lifestyle-pro-theme-header-image-area I made it to be 1140x200 and it worked.

    Sam

    October 16, 2013 at 10:47 am #67010
    SteveDub
    Member

    Yep that's done the trick awesome 🙂

    Thank You very much everyone,
    Steve

    October 21, 2013 at 6:24 am #67994
    SteveDub
    Member

    Have just checked this change on an iPad and it doesn't render the header image correctly, it cuts off part of it and doesn't reveal the full size banner. Although seems to look ok on a couple of different PC screen sizes.. any ideas??? This does concern me as obviously the usage of tablet/mobile devices is huge now! I'm wondering whether I need to update to a newer Child Theme that supports this better?

    Advice appreciated as usual 🙂

    Thanks,
    Steve

    October 21, 2013 at 7:09 am #68011
    Brad Dalton
    Participant

    You will need to modify the CSS code in the Media Queries for the header elements to fix that.

    Its a pretty basic modification.

    Just reduce the padding and margins for the site header and other header elements if needed.


    Tutorials for StudioPress Themes.

    October 21, 2013 at 7:27 am #68015
    Brad Dalton
    Participant

    This is the modifed CSS for the Media Queries i tested:

    @media only screen and (max-width: 1023px) {
    
    	.footer-widgets,
    	.site-container,
    	.wrap {
    		max-width: 772px;
    	}
    
    	.content-sidebar-sidebar .content-sidebar-wrap,
    	.content-sidebar-sidebar .content,
    	.content,
    	.footer-widgets-1,
    	.footer-widgets-2,
    	.footer-widgets-3,
    	.sidebar-content-sidebar .content-sidebar-wrap,
    	.sidebar-content-sidebar .content,
    	.sidebar-primary,
    	.sidebar-secondary,
    	.sidebar-sidebar-content .content-sidebar-wrap,
    	.sidebar-sidebar-content .content,
    	.title-area {
    		width: 100%;
    	}
    	
    	.site-header {
    		padding: 0;
    		padding: 0;
    	}
    	
    	.header-image .site-title a {
    		background-position: center !important;
    		margin: 0 0 0px;
    		margin: 0 0 0rem;
    	}
    
    	.genesis-nav-menu li,
    	.site-header ul.genesis-nav-menu,
    	.site-header .search-form {
    		float: none;
    	}
    
    	.genesis-nav-menu,
    	.site-description,
    	.site-footer p,
    	.site-header hgroup,
    	.site-header .search-form,
    	.site-title {
    		text-align: center;
    	}
    
    	.genesis-nav-menu a {
    		padding: 16px;
    		padding: 1.6rem;
    	}
    	
    	.site-header .widget-area {
    		margin-top: 16px;
    		margin-top: 1.6rem;
    	}
    
    	.site-header .search-form {
    		margin: 16px auto ;
    		margin: 1.6rem auto;
    	}
    
    	.genesis-nav-menu li.alignleft,
    	.genesis-nav-menu li.right {
    		display: none;
    	}
    
    	.entry-footer .entry-meta {
    		margin: 0;
    		padding-top: 12px;
    		padding-top: 1.2rem;
    	}
    	
    	.home-bottom-left,
    	.home-bottom-right {
    		width: 332px;
    	}
    	
    	.footer-widgets-1 {
    		margin: 0;
    	}
    
    	.site-footer {
    		padding: 24px;
    		padding: 2.4rem;
    	}
    
    }
    
    @media only screen and (max-width: 767px) {
    
    	body {
    		font-size: 14px;
    		font-size: 1.4rem;
    	}
    	
    	.site-container {
    		padding: 20px 5%;
    		padding: 2rem 5%;
    		width: 94%;
    	}
    
    	.five-sixths,
    	.four-sixths,
    	.home-bottom-left,
    	.home-bottom-right,
    	.one-fourth,
    	.one-half,
    	.one-sixth,
    	.one-third,
    	.three-fourths,
    	.three-sixths,
    	.two-fourths,
    	.two-sixths,
    	.two-thirds {
    		margin: 0;
    		width: 100%;
    	}
    	
    	.site-title {
    		font-size: 44px;
    		font-size: 4.4rem;
    	}
    	
    	.genesis-nav-menu a,
    	.nav-primary .sub-menu a {
    		font-size: 12px;
    		font-size: 1.2rem;
    		padding: 12px;
    		padding: 1.2rem;
    	}
    	
    	.nav-secondary a,
    	.nav-secondary .sub-menu a {
    		font-size: 11px;
    		font-size: 1.1rem;
    		padding: 10px 8px;
    		padding: 1rem 0.8rem;
    	}
    	
    	.genesis-nav-menu .sub-menu .sub-menu {
    		margin: -31px 0 0 199px;
    	}
    	
    	.nav-primary .sub-menu .sub-menu {
    		margin: -36px 0 0 199px;
    	}
    	
    	.entry-meta .entry-tags {
    	  clear: both;
    	  float: left;
    	}
    	
    	.entry-meta .entry-comments a {
    		margin: 0 0 10px;
    		margin: 0 0 1rem;
    	}
    	
    	.lifestyle-pro-home .featuredpost .alignleft,
    	.lifestyle-pro-home .featuredpost .alignright {
    		float: none;
    		margin: 0 auto;
    	}
    
    }
    

    Tutorials for StudioPress Themes.

    October 21, 2013 at 2:42 pm #68089
    SteveDub
    Member

    Thanks Brad,

    Sorry are you saying I need to completely replace the 'Media Queries'? also what are the links that are included, I take it I'm not copying these?

    Sorry to ask but I'm a little rusty with code! I did copy and paste but wasn't sure which padding to adjust. It looks fine without doing this change on both my PC monitors, which I thought I had solved it through help here. Sam's (above) works fine and I followed the same instructions someone gave to her, so not sure what I've done different?

    Thanks again for your time,
    Steve

    October 23, 2013 at 5:42 am #68390
    Brad Dalton
    Participant

    Its an example of what i used locally to for testing. You can compare it to your existing code and make the changes in your own files.


    Tutorials for StudioPress Themes.

    October 24, 2013 at 6:12 am #68596
    SteveDub
    Member

    Thanks Brad, If I'm being honest I'm struggling a little to get my head around this. As I'm so early on in the design process I'm going to start from scratch and start the above tutorial again, maybe I went wrong somewhere?! Like I said it seems Sam did exactly this and her site renders fine on an iPad and Moble device.

    Thanks again,
    Steve

    October 24, 2013 at 6:57 am #68603
    Brad Dalton
    Participant

    It depends on how you want it to look on different sized devices and what size your image is.

    Different people want it to look differently on different sized devices so its impossible to cover all bases.

    The Media Queries will need to be modified according to how you want it to look.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 34 total)
1 2 →
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble