• 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 transparency when static

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 › Header transparency when static

This topic is: not resolved

Tagged: education pro

  • This topic has 1 reply, 1 voice, and was last updated 11 years, 5 months ago by MBWS Marketing.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • February 20, 2015 at 3:50 am #141423
    MBWS Marketing
    Member

    Hello,

    I'm using the education pro theme to make a website for a photographer and I'm running into a problem on the home page.

    I want the home page to feature a transparant header and the rest of the website a black site header. The home page one should be static and on other pages fixed.

    The code I'm using works fine when I used fixed header everywhere, but as soon as I make the home page header static, it turns black. Any help is appreciated.

    Code:

    .site-header {
    	background-color: #000;
    	left: 0;
    	position: fixed;
    	top: 0;
    	width: 100%;
    	z-index: 999;
    }
    
    .education-pro-home .site-header {
    	background-color: transparent;
    	position: static;
    	top: 0;
    	width: 100%;
    	z-index: 999;
    }
    
    .admin-bar .site-header {
    	top: 32px;
    }
    

    http://i59.tinypic.com/e9f58p.png
    http://i61.tinypic.com/rbxycx.png

    Thanks for helping.

    February 20, 2015 at 4:38 am #141427
    MBWS Marketing
    Member

    Fixed the problem. No need for help anymore.

  • 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

© 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