• 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

Resize header in Sample Theme

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 › Resize header in Sample Theme

This topic is: resolved
  • This topic has 5 replies, 2 voices, and was last updated 4 years, 5 months ago by Terry.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • April 2, 2019 at 1:34 pm #490437
    odnt
    Member

    I want to reduce the header width in the Sample Theme so the site title and navigation are positioned similar to the Breakthrough Pro Theme.

    Any suggestions?
    Thanks!

    https://www.rickpaulson.com/webdev/custom/
    April 3, 2019 at 7:03 am #490450
    Terry
    Member

    Morning odnt,

    Do you want it to match the content width on larger screens?

    April 3, 2019 at 7:45 am #490451
    odnt
    Member

    I'd like to match the proportion, as in a percentage value. For example, 80 percent of the window on any device.

    April 3, 2019 at 8:05 am #490452
    Terry
    Member

    OK, to make this change requires changing the css. Depending on your comfort level, you can ftp the file, change and upload or make the change in the Customizer => Additional CSS.

    Let's move forward making the change in the Customizer...

    If you want the change to be applied to all screen sizes and centered, add the following after navigating to Customizer => Additional..

    .site-header .wrap {
    		width: 80%;
    	margin: auto;
    	}

    If you'd like it only applied to larger screen sizes (still centered), wrap it in a media query...

    @media only screen and (min-width: 960px) {
    .site-header .wrap {
    		width: 80%;
    	margin: auto;
    	}
    }

    Hope this helps!

    April 3, 2019 at 8:30 am #490454
    odnt
    Member

    Thanks Terry! That works well. I had to resize the nav, but that's simple stuff.
    Cheers,
    -Rick

    April 3, 2019 at 8:34 am #490455
    Terry
    Member

    Great Rick, so glad it worked for you.

    Please mark this thread as resolved.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Resize header in Sample Theme’ is closed to new 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