• 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 to adjust the CSS for the header (Magazine 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 › General Discussion › How to adjust the CSS for the header (Magazine theme)

This topic is: resolved

Tagged: css, full width, header

  • This topic has 5 replies, 2 voices, and was last updated 12 years ago by Stine G.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • February 14, 2014 at 4:58 am #90258
    Stine G
    Member

    Hey peeps,

    I'm customizing the Magazine theme (locally) and want to insert a full width slider in the header area.
    I asked StudioPress how to, and got this answer:

    "You can use the header right widget area to add your slider then adjust the CSS for the header so that is full width and your title area is hidden."

    I have hidden the title area, but can't seem to find the CSS that controls the width of my header.
    What is the exact css code I need to add to my style.css to control the header width?

    Thanks in advance and kind regards,
    Stine

    February 14, 2014 at 3:18 pm #90354
    hobbygirl66
    Member

    You need to change in both functions and css.

    in functions.php look for something like:

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

    and make is exact size of your header.

    In css look for

    something like:

    .header-image .site-title a {
    	background-color: none;
    	max-width: 400px;
    	min-height: 150px;
    	padding: 0;
    }

    It can mess up if you try and use header right widget.

    Hope that helps!

    February 17, 2014 at 8:42 am #90764
    Stine G
    Member

    Thank you very much for your help. I've got 2 questions though 🙂
    I have adjusted the width in functions.php which definitely made the header image full width (1140 px).

    However, I didn't quite get what to add to the CSS - did you mean:
    "width: 1140 px;" ?

    Also this theme allows for you to add a the custom header image via the dashboard, but not a slider, which is what I'm going for. Do you know how I can add the Genesis Responsive Slider to the header area (http://wordpress.org/plugins/genesis-responsive-slider/)?

    Hope you can help - thanks in advance 🙂

    February 17, 2014 at 9:03 am #90771
    Stine G
    Member

    Btw. I'm really sorry if I'm asking about something that's obvious, but I'm quite a newbie 😉

    February 18, 2014 at 7:21 pm #91047
    hobbygirl66
    Member

    look for the width in your css. the old width. Then change to your new width/height.

    Don't ever worry about especially here- people are unusually helpful on this forum. It is a nice fresh change and makes for a supportive atmosphere in general.

    I would defer to some one else opinion on adding slider as header. My background is in SEO and I personally would not do. I don't want to hijack your thread ...

    I see there are several posts and couple of plugins that will work if you have your heart set on it....
    If you were my SEO client I would wrestle you to the ground til you cried uncle tho 🙂

    Display Image Slider In WordPress Header On Home Page Only

    Lisa

    February 19, 2014 at 7:29 am #91127
    Stine G
    Member

    Ok, thanks for the CSS info 🙂

    I'm curious - would it hurt my SEO, if I put a slider in the header? 🙂

    Stine

  • 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

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