• 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

What file is generating this code…?

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 › What file is generating this code…?

This topic is: not resolved

Tagged: header, header image, inline css, streamline

  • This topic has 1 reply, 2 voices, and was last updated 10 years, 3 months ago by Rellek.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • June 22, 2013 at 7:33 am #47164
    jimdavis46
    Member

    Using the Streamline theme and trying to customize the header image. The theme is generating this line of code and placing it in the <head>.
    <style type="text/css">#header { background: url(http://powerqualityprofessionals.com/wp-content/uploads/2013/06/logo_960x110.jpg) no-repeat !important; }</style>

    I need to either modify this line of code or delete it and manage the header image in my css file. I have searched the funtion.php file and other files and can't seem to find source of this inline css style. Where is the magic happening?
    Jim

    http://powerqualityprofessionals.com/
    June 22, 2013 at 11:23 am #47190
    Rellek
    Member

    Remove this code from your functions.php file

    /** Add support for custom header */
    add_theme_support( 'genesis-custom-header', array( 'width' => 960, 'height' => 120 ) );

    It controls the look of your header from the appearance section in wordpress. By removing this code you manage the header image in your css file.


    Rellek Designs

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