-
AuthorPosts
-
September 2, 2014 at 7:30 pm #97253
lwtpkinsParticipantHi,
Thanks for such a great theme! I’m trying to make the navbar transparent using background-color: rgba(255, 255, 255, 40); (40 representing 40% opacity).
Any tips on how to do this in the custom CSS?
Website example: http://www.lwtompkins.com/kands/contact/ [WP version 3.9.2 using stack: Renew]
I’d like to make navbar transparent over the map which is in a Revslider (map image).
Your help is very much appreciated!
Liz
September 2, 2014 at 7:44 pm #97255
CousettMemberYou are very close. Opacity must be done in terms of a decimal so instead of 40 use the decimal .4.
background-color: rgba(255, 255, 255, .40);September 4, 2014 at 4:17 pm #98747
lwtpkinsParticipantHi,
Thanks for the quick response and decimal info for transparency. It doesn’t seem to be making the top navbar or inner navbar wrap transparent. I’ve tried applying the above to both classes:
.x-navbar
.x-navbar-innerany advice on getting that entire white section transparent so the Revslides underneath peek through?
Kindly,
Liz
September 4, 2014 at 4:28 pm #98753
RadModeratorHi there,
I checked your site and those styling were overridden. Try adding !important and it should work 🙂
Example :
.x-navbar { background-color: rgba(255, 255, 255, .40) !important; }Then scroll it down to see the difference.
Cheers!
September 4, 2014 at 4:51 pm #98764
lwtpkinsParticipantThank you, this was exactly what I needed!
One additional question: How can I push the entire navbar positioning down?
i.e., on http://www.lwtompkins.com/kands/communications-policy/ the design calls for the entire navbar area (or perhaps this is the x-navbar-wrapper?) to lay slightly on top of each page header image. In this case, I’d like the navbar to go down about 25px and stay fixed over that page’s image: http://www.lwtompkins.com/kands/wp-content/uploads/2014/09/communications.jpgScreenshot from specs: http://www.lwtompkins.com/files/ks_screenshot.png
Would this be adjusted in the navbar CSS or in RevSlider which holds that image?
I really appreciate the quick & expert advice!
Cheers,
Liz
September 4, 2014 at 5:01 pm #98770
DarshanaModeratorHi Liz,
Can you try the following CSS code by adding it to Custom > CSS section where you can access it through Appearance -> Customize menu.
#menu-top-navigation { margin-top: 2%; }Hope that helps.
September 4, 2014 at 5:31 pm #98792
lwtpkinsParticipantThis definitely helps put me in the right area. Thanks again for all of your very much appreciated help!
Your support is fantastic and a rarity 😀September 4, 2014 at 5:36 pm #98794
Nabeel AModeratorYou’re most welcome 🙂
September 6, 2014 at 3:22 pm #99916
lwtpkinsParticipantHello again,
I’m sorry to have to keep bothering you on the transparent nav bar. Everything is 98% there but I’ve noticed a cross-browser bug as a result of the changes we covered above. In both Firefox and Chrome latest versions/PC (logged into admin and not logged in), I’ve noticed the transparent .x-navbar does not display on initial page load. Screenshot at: http://lwtompkins.com/files/kands_nav1.png
Then, it does pop into position/correct display when I scroll down the page a bit, as evidenced by screencap: http://lwtompkins.com/files/kands_nav2.png
Any possible solutions I can try to fix this?
Thanks so much for your expert help!
Liz
September 6, 2014 at 6:48 pm #99981
RadModeratorHi there,
Add this css at your customizer’s custom css.
@media ( min-width: 980px ) { .x-navbar { position: fixed; z-index: 1030; margin-top: 2.25%; width: 100%; } }Cheers!
August 3, 2015 at 6:36 pm #349033
hitsheetsParticipantTo add on to this post…my site is http://hitsheets.com
I’ve made the Top Header bar have an custom opacity, which works in Google chrome and firefox.
However, in IExporer (10 and 11), the header has the original opacity (which is not transparent)….so it’s a cross-browser issue. Is there a code to fix that issue?
Thanks.
August 3, 2015 at 11:10 pm #349193
LelyModeratorHello There,
I’ve checked your site using IE and the opacity is working showing the content behind it. Please image below:

Can you check again? -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-97253 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
