• 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

Remove a div on all pages apart from home.

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 › Remove a div on all pages apart from home.

This topic is: resolved
  • This topic has 3 replies, 2 voices, and was last updated 12 years ago by jourdain.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 9, 2014 at 6:57 pm #104357
    jourdain
    Member

    Hi all,

    I have a large banner image that I only want to be displayed on the homepage. I would like to remove it from all other pages.

    The div that needs to be removed is .site-header .wrap.

    Is there anyway to achieve this?

    Jourdain

    http://creativefreaks.co.uk/
    May 9, 2014 at 8:39 pm #104378
    nutsandbolts
    Member

    The easiest way would be to add a widget area that displays on the homepage only. Removing .site-header .wrap across the entire site would likely cause a Jenga effect of other problems you'd have to fix.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    May 10, 2014 at 3:10 am #104407
    jourdain
    Member

    So if I add the widget area to the homepage, would I then use the text widget to add an image and tagline?

    Also I will need to remove the widget are below a certain page width.

    This all sound good to you?

    Jourdain

    May 10, 2014 at 10:46 am #104448
    jourdain
    Member

    Thanks for the suggestion, I have changed my original plan and added another widget that only displays on the home page (like you suggested.

    Thanks again.

    Jourdain

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

© 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