• 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

Header Image width in streamline

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 › Header Image width in streamline

This topic is: resolved

Tagged: header image, streamline

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 8 months ago by thom.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 19, 2014 at 8:05 am #85866
    thom
    Member

    Hey there

    I am trying to make my header image as wide as the header in the streamline pro child theme so far I have not been succefull:

    I have been trying by changing the width in functions.php:

    //* Add support for custom header
    add_theme_support( 'custom-header', array(
    'header_image' => '',
    'header-selector' => '.site-title a',
    'header-text' => false,
    'height' => 183,
    'width' => 1140,

    And in styles.php:
    /*
    Site Header
    ---------------------------------------------------------------------------------------------------- */

    .site-header {
    background: #c6b88b;
    background-size: 3px 1px;
    box-shadow: 0 0 10px #222;
    margin: 0 auto;
    max-width: 1140px;
    padding: 40px;
    padding: 4rem

    Finally I have used this hook in simple hooks:

    <div align="center">

    <img src="http://sub.tidenssamling.dk/wp-content/uploads/2014/01/nyheaderForsideDanish.jpg" style="float:center;" hspace="0" vspace="0" width="1140" height="183"
    alt="">

    </div>

    I hope there is one here, who has an answer.

    Thank you.

    http://sub.tidenssamling.dk/
    January 19, 2014 at 11:32 am #85900
    Sridhar Katakam
    Participant

    Add the following at the end of child theme's style.css:

    .site-header {
        padding: 0;
    }

    Genesis Tutorials | Follow me on Twitter

    January 20, 2014 at 2:18 am #86047
    thom
    Member

    Thank You Sridhar

    It worked:-)

    /Thomas

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

© 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