• 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

Lifestyle Pro Responsive Header Issues

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 › General Discussion › Lifestyle Pro Responsive Header Issues

This topic is: resolved
  • This topic has 5 replies, 3 voices, and was last updated 10 years, 4 months ago by Steve@316 Design.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 21, 2015 at 2:15 pm #141673
    samw
    Member

    Hi

    I have been through all the posts and various approaches to getting a full size Lifestyle Pro Responsive Header Image but am still hitting an issue

    I have set the image size to 1140 x 200 in functions an adjusted CSS but cant resolve the media queries for 768 and 1023 screens!! It works fine on all other sizes

    If anyone can help with the final CSS tweaks site is http://www.massageinbrighton.co.uk/

    Many Thanks


    SEO & Online Marketing Consultant

    Metta3 | G+ | LinkedIn

    http://www.massageinbrighton.co.uk/
    February 21, 2015 at 3:12 pm #141675
    Victor Font
    Moderator

    You set the header image in custom css on the page for .site-title a. Add background-size: 100%; after the image and the image will be responsive.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 22, 2015 at 5:09 am #141729
    samw
    Member

    Hi

    Many Thanks for taking the time to reply - unfortunately that didnt work - are you suggesting to just add this to the custom media section in the original css file? My css file is below thanks

    (edited to remove all the CSS)


    SEO & Online Marketing Consultant

    Metta3 | G+ | LinkedIn

    February 22, 2015 at 9:35 am #141749
    Victor Font
    Moderator

    You have a sitetitle a tag in the page itself as inline CSS. If you view the page source in your browser, it is on line 53. This is the code to which I am referring:

    <style type="text/css" id="custom-background-css">
    body.custom-background { background-image: url('http://www.massageinbrighton.co.uk/wp-content/themes/lifestyle-pro/images/bg.png'); background-repeat: repeat; background-position: top left; background-attachment: scroll; }
    </style>

    You can see by the code block that this is not being enqueued through the correct WordPress process. It appears to have been added manually to your page. This is the wrong place for it because it is outside of the style sheet. I know the fix I mentioned earlier works because I tested it on a responsive test site: http://mattkersley.com/responsive/ or http://www.studiopress.com/responsive/. The fix I tested was to add the background-size dimension after the declaration of the background image url like this:

    <style type="text/css" id="custom-background-css">
    body.custom-background { background-image: url('http://www.massageinbrighton.co.uk/wp-content/themes/lifestyle-pro/images/bg.png'); background-repeat: repeat; background-position: top left; background-attachment: scroll; 
    background-size: 100%;}
    </style>

    To fix it the right way, this code should be removed from the page header and added to the style sheet where it belongs.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 23, 2015 at 5:28 am #141844
    samw
    Member

    Hi

    Thanks for taking a look - I changed the header to be more SEO friendly and it resizes fine using this approach

    http://keypresswp.com/full-width-responsive-header-image-lifestyle-pro/


    SEO & Online Marketing Consultant

    Metta3 | G+ | LinkedIn

    February 23, 2015 at 8:16 am #141862
    Steve@316 Design
    Member

    Hello Sam, thanks for the solution. On another note, how did you do your navigation? Meaning, at the smaller screen sizes/mobile, it turns into lines. (like I've seen on many other mobile responsive themes)

    Thank You, Steve


    Steve Adams | 316 Design | 619.726.9923
    We live the lifestyles that we promote.™

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ 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

© 2025 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