• 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

making header area and menu area transparent

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 › making header area and menu area transparent

This topic is: not resolved

Tagged: background, header, modern portfolio

  • This topic has 2 replies, 2 voices, and was last updated 6 years, 7 months ago by Andykev.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 31, 2016 at 10:46 am #190534
    abbypanda
    Member

    I added a background and the only place it does not show like I prefer is the top. How can I make the white area transparent
    Please help

    http://www.abbymalonephoto.com
    July 31, 2016 at 11:44 am #190536
    abbypanda
    Member

    Update: I just need the menu dropdown to be transparent now (not white) and when you hover over them they turn white like the background please help with that.

    July 31, 2016 at 12:21 pm #190537
    Andykev
    Participant

    You can play with the color, or transparency..for your menu and sub menu.

    Here, added is an image (your background) to the menu. You can use the image to set the background,
    or you can use colors...or no color (transparent opacity). Use inspect element to see what works. Your
    code to look at is in the "MENUS" section of your .css.

    You an cut and paste the below EXAMPLE to your theme .css in inspect element without danger of changing your actual .css.

    05 Menus
    ---------------------------------------------------------------------------------------------------- */
    
    .genesis-nav-menu {
    	clear: both;
    	overflow: hidden;
    }
    
    #header .genesis-nav-menu {
    	float: right;
    	margin-top: 10px;
    	margin-top: 0.625rem;
    	width: auto;
    }
    
    .genesis-nav-menu.menu-primary,
    .genesis-nav-menu.menu-secondary {
    	border-bottom: 1px solid #222;
    }
    
    .genesis-nav-menu ul {
    	float: left;
    	width: 100%;
    }
    
    .genesis-nav-menu li {
    	display: inline-block;
    	float: left;
    	list-style-type: none;
    	text-align: left;
    }
    
    .genesis-nav-menu a {
    	display: block;
    	padding: 24px 20px;
    	padding: 1.5rem 1.25rem;
    	position: relative;
    }
    
    .genesis-nav-menu li.highlight-menu-item {
    	margin-left: 20px;
    	margin-left: 1.25rem;
    }
    
    .genesis-nav-menu .highlight-menu-item a {
    	background-color: #222;
    }
    
    .genesis-nav-menu .highlight-menu-item a:hover {
    	background-color: #222;
    }
    
    .genesis-nav-menu li li a,
    .genesis-nav-menu li li a:link,
    .genesis-nav-menu li li a:visited {
    	background-image: url('http://www.abbymalonephoto.com/wp-content/uploads/2016/07/2016©HeatherMichelle_ClassicalRemixed_PaintingsHeavyAndGrayabby7-e1469984491977.jpg');
    	border: 1px solid #222;
    	border-top: none;
    	padding: 20px;
    	padding: 1.25rem;
    	position: relative;
    	width: 160px;
    }
    
    .genesis-nav-menu li a:hover,
    .genesis-nav-menu li li a:hover {
    	background-image: url('http://www.abbymalonephoto.com/wp-content/uploads/2016/07/2016©HeatherMichelle_ClassicalRemixed_PaintingsHeavyAndGrayabby7-e1469984491977.jpg');
    }
    
    #header .genesis-nav-menu li a:hover {
    	background-image: url('http://www.abbymalonephoto.com/wp-content/uploads/2016/07/2016©HeatherMichelle_ClassicalRemixed_PaintingsHeavyAndGrayabby7-e1469984491977.jpg');
    }
    
    .genesis-nav-menu li ul {
    	left: -9999px;
    	position: absolute;
    	width: 202px;
    	z-index: 99;
    	
    }
    
    .genesis-nav-menu li ul ul {
    	margin: -59px 0 0 201px;
    }
    
    .genesis-nav-menu li:hover ul ul,
    .genesis-nav-menu li.sfHover ul ul {
    	left: -9999px;
    }
    
    .genesis-nav-menu li:hover,
    .genesis-nav-menu li.sfHover {
    	position: static;
    	background-image: url('http://www.abbymalonephoto.com/wp-content/uploads/2016/07/2016©HeatherMichelle_ClassicalRemixed_PaintingsHeavyAndGrayabby7-e1469984491977.jpg');
    }
    
    ul.genesis-nav-menu li:hover>ul,
    ul.genesis-nav-menu li.sfHover ul,
    #header .genesis-nav-menu li:hover>ul,
    #header .genesis-nav-menu li.sfHover ul {
    	left: auto;
    }
    
    .genesis-nav-menu li a .sf-sub-indicator,
    .genesis-nav-menu li li a .sf-sub-indicator,
    .genesis-nav-menu li li li a .sf-sub-indicator {
    	position: absolute;
    	text-indent: -9999px;
    }
    
    #wpadminbar li:hover ul ul {
    	left: 0;
    }
    
  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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