- This topic has 11 replies, 2 voices, and was last updated 9 years ago by Sakin.
-
AuthorPosts
-
April 1, 2015 at 4:08 pm #54863AndreaParticipant
hi,
when i change the color of primary menu, the transparence in the menu background is not visible.
How can i setting the transparency in primary meu?
Thank you for all your assistance.April 1, 2015 at 11:33 pm #54883SakinKeymaster@Andrea: For transparency, you need to use RBGA color with opacity. For example, in the following you can css background: #444; this is for old browser support and is solid color without transparency. But the background: rgba(0,0,0,0.7); mean black color with 70% transparent.
.nav-primary { background: #444; background: rgba(0,0,0,0.7); }
April 2, 2015 at 5:14 pm #54944AndreaParticipantI must change options in the fullframe-default-options.php?
with this is code
.nav-primary {
background: #444;
background: rgba(0,0,0,0.7);
}April 2, 2015 at 5:17 pm #54945SakinKeymaster@Andrea: No, all custom css should be added in “Appearance => Customize => Theme Options => Custom CSS Options” box.
April 3, 2015 at 2:34 am #54982AndreaParticipantok thanks,
for the Sub Menu Background Color and Hover Active Background Color?April 4, 2015 at 12:05 am #55035SakinKeymaster@Andrea: Here goes the css for sub menu background color:
.nav-primary .menu .sub-menu a, .nav-primary .menu .children a { background: #444; background: rgba(0,0,0,0.7); }
In hover/active, we don’t have background color and just have change the text color as below:
.nav-primary .menu .current-menu-item > a, .nav-primary .menu .current-menu-ancestor > a, .nav-primary .menu .current_page_item > a, .nav-primary .menu .current_page_ancestor > a { color: #aaa; }
April 6, 2015 at 7:47 pm #55207AndreaParticipanthi,
i added added in “Appearance => Customize => Theme Options => Custom CSS Options” box.
.nav-primary .menu .sub-menu a,
.nav-primary .menu .children a {
background: #444;
background: rgba(255,255,255,0.7);
}
but the sub menu background color in nor trasparentbelow I indicate all content in css box
.home #content { display: none; }
#feature-slider .entry-container { display: none; }
#feature-slider .slides { width: 100%; }
#header-toggle { color: #444; }.nav-primary {
background: #444;
background: rgba(255,255,255,0.7);
}
.nav-primary .menu .sub-menu a,
.nav-primary .menu .children a {
background: #444;
background: rgba(255,255,255,0.7);
}thanks for your support
April 6, 2015 at 8:29 pm #55208April 6, 2015 at 9:18 pm #55213AndreaParticipanti do not understand
April 7, 2015 at 12:20 pm #55243SakinKeymasterOk replace your current custom css:
.nav-primary { background: #444; background: rgba(255,255,255,0.7); } .nav-primary .menu .sub-menu a, .nav-primary .menu .children a { background: #444; background: rgba(255,255,255,0.7); }
With the following css:
.nav-primary, .nav-primary ul.menu .sub-menu a { background: #fff; background: rgba(255,255,255,0.7); }
April 7, 2015 at 12:32 pm #55245AndreaParticipantsolved
I think I bought not only a great theme but also a great support.
Thanks sincerelyApril 7, 2015 at 12:35 pm #55246 -
AuthorPosts
- The topic ‘transparency primary menu’ is closed to new replies.