Tagged: x
-
AuthorPosts
-
August 8, 2016 at 8:13 pm #1123018
leavinsdParticipantWebsite: http://www.unlimitedchurch.tv
I have changed my navbar background to be transparent. This is ok when viewing on the computer but is not when viewing the buttons on a mobile phone. How to I add a background only to the mobile menu drop-down?
I am wanting to add a black background with around 50% transparency.
Thanks,
Adam
August 8, 2016 at 8:15 pm #1123023
leavinsdParticipantScreenshot
August 8, 2016 at 10:44 pm #1123179
John EzraMemberHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.
@media (max-width:979px) { .x-navbar-inner { background-color: rgba(0,0,0,0.5); } }Hope this helps – thanks!
August 8, 2016 at 11:43 pm #1123208
leavinsdParticipantThat does work for the mobile page only which is what I want. The only issue is that it causes the Navbar (with the logo on it) to not be 100% transparent. Is there a way to have it 100% transparent but have only the drop down 50% transparent?
Thanks for the help.
August 9, 2016 at 3:09 am #1123353
ChristopherModeratorHi there,
Please update your code to :
@media (max-width: 979px){ .x-nav-wrap.mobile { background-color: rgba(0,0,0,0.5); padding:10px; } }Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1123018 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
