• 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

Custom Header Issue in Magazine Pro

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 › Custom Header Issue in Magazine Pro

This topic is: not resolved

Tagged: Custom header, Magazine Pro, pluggable.php

  • This topic has 1 reply, 2 voices, and was last updated 8 years, 1 month ago by anotherusername.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 10, 2014 at 7:23 am #134156
    CindyLeighDesign
    Participant

    Help!! I'm trying to resize the header in Magazine Pro. I followed this tutorial:
    http://sridharkatakam.com/use-wide-header-magazine-pro/ and added the new header image sizes to my functions.php file as follows:

    //* Add support for custom header
    add_theme_support( 'custom-header', array(
    'default-text-color' => '000000',
    'header-selector' => '.site-title a',
    'header-text' => false,
    'height' => 461,
    'width' => 963,
    ));

    Then I added the following to my style.css file (modifying the max height using photoshop for each mobile):

    /* Title Area
    --------------------------------------------- */

    .title-area {
    width: 100%;
    }

    .header-image .title-area {
    min-height: 461px; /* Height of header image */
    }


    @media
    only screen and (max-width: 1024px) {

    .header-image .site-header .title-area, .header-image .site-header .widget-area {
    padding: 2rem 0;
    }

    }


    @media
    only screen and (max-width: 768px) {

    .header-image .site-title a {
    min-height: 368px;
    }

    }


    @media
    only screen and (max-width: 568px) {

    .header-image .site-title a {
    min-height: 272px;
    }

    }


    @media
    only screen and (max-width: 480px) {

    .header-image .site-title a {
    min-height: 230px;
    }

    }


    @media
    only screen and (max-width: 320px) {

    .header-image .site-title a {
    min-height: 153px;
    }

    }

    Now I'm getting this error:

    Warning: : Cannot modify header information - headers already sent by (output started at /home/cindyl9/public_html/sea2/index.php:5) in /home/cindyl9/public_html/sea2/wp-includes/pluggable.php on line 1179

    What have I done wrong??? Help!!

    http://sea2.cindyleighdesign.com
    December 10, 2014 at 11:06 am #134204
    anotherusername
    Member

    It looks like you will want to do a google search for something like:

    wordpress Warning: : Cannot modify header information – headers already sent

    And look at the possible solutions.

    You should have a good text editor (like notepad++) ready because you MIGHT have to edit your index.php file (not normally a good idea).

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