• 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

Make Full Width Header Responsive

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 › Make Full Width Header Responsive

This topic is: not resolved

Tagged: daily dish pro, header, padding, responsive

  • This topic has 3 replies, 3 voices, and was last updated 4 years, 5 months ago by Jessdesigns4u.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 25, 2018 at 3:38 pm #221128
    latimeria
    Member

    I have Daily Dish Pro and my designer made the header full width. It's not resizing on mobile, though. Is there custom CSS I can add to make it happen since I am not sure how soon it can be fixed? Thanks.

    http://2dorksinlove.com
    June 26, 2018 at 4:34 am #221132
    Victor Font
    Moderator

    You have to change the CSS for .site-header at line 1354 in style.css.

    Change this:

    .site-header {
        background: url(https://2dorksinlove.com/wp-content/uploads/2018/05/2-Dorks-in-Love-1.png);
        height: 305px;
        width: 100%;
    }

    To this:

    .site-header {
        background: url(https://2dorksinlove.com/wp-content/uploads/2018/05/2-Dorks-in-Love-1.png);
            background-size: auto auto;
        height: auto;
        max-height: 305px;
        width: 100%;
        background-size: cover;
    }

    Regards,

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

    June 27, 2018 at 5:13 pm #221169
    latimeria
    Member

    I did try that, but it didn't seem to do it.
    Someone gave me this code and it works, except there is a whole lot of padding around the header. How would I reduce? Thx.

    .site-header {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    }

    @media
    only screen and (min-width: 1300px) {
    .site-header {
    min-height: 350px;
    }
    }

    @media
    screen and (max-width: 960px) and (min-width: 1299px) {

    .site-header {
    min-height: 250px;
    }
    }

    @media
    screen and (max-width: 770px) and (min-width: 959px) {

    .site-header {
    min-height: 200px;
    }
    }

    @media
    screen and (max-width: 600px) and (min-width: 769px) {

    .site-header {
    min-height: 150px;
    }
    }

    @media
    screen and (max-width: 280px) and (min-width: 599px) {

    .site-header {
    min-height: 100px;
    }
    }

    October 13, 2018 at 10:42 am #223720
    Jessdesigns4u
    Member

    We put your code in and nothing changed. Please advise. https://vitalizedbody.com/

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • 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