Community Forums › Forums › Archived Forums › Design Tips and Tricks › making header area and menu area transparent
Tagged: background, header, modern portfolio
- This topic has 2 replies, 2 voices, and was last updated 8 years, 4 months ago by Andykev.
-
AuthorPosts
-
July 31, 2016 at 10:46 am #190534abbypandaMember
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
http://www.abbymalonephoto.com
Please helpJuly 31, 2016 at 11:44 am #190536abbypandaMemberUpdate: 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 #190537AndykevParticipantYou 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; }
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.