Tagged: x
-
AuthorPosts
-
July 31, 2016 at 3:39 pm #1111179
pmasonParticipantHi there.
Thanks for a fabulous theme and great support. I use nothing else now for all my WordPress websites.
I have a problem with adding opacity to the top bar. It works fine until I add content to the top bar and then the background renders back into solid white. Here is the CSS I am currently using.
.x-navbar, .x-topbar {background-color:rgba(255, 255, 255, .70); border:none;}
.x-topbar .p-info {float:right;}
.topbarcallout {font-size:160%;}
.x-topbar a {color: #8e47ad!important;}
.x-topbar .x-container {max-width:100%!important;}Could you advise how to retain the opacity while still adding content to the top bar please? Thank you.
I’ll post access details next.
July 31, 2016 at 3:42 pm #1111180
pmasonParticipantThis reply has been marked as private.July 31, 2016 at 8:45 pm #1111427
NicoModeratorHi There,
THanks for writing in.
Try adding this in your Customizer > Custom > CSS.
.x-navbar, .x-topbar{ min-height: 0l height: 0; }Let us know how it goes.
Thanks.
August 1, 2016 at 1:07 pm #1112403
pmasonParticipantHi,
Sorry that doesn’t seem to have done anything.
Are you sure you meant to write “min-height: 0l”?
The navbar isn’t the problem, it’s the top bar that isn’t retaining it’s opacity when I add content via the customizer. If I remove the content, it displays exactly how I want it to.
Any suggestions?
August 1, 2016 at 1:18 pm #1112420
JoaoModeratorHi There,
Please add the following CSS code to Appereance Customizer Custom CSS or your Style.css on the Child Theme
.x-topbar .p-info, .x-topbar .p-info a { background: none; border-color: transparent; }Hope that helps
Joao
August 1, 2016 at 2:28 pm #1112526
pmasonParticipantNo, still not resolving the problem. Looking in firebug, I can’t see any other css that’s causing an issue, but something is preventing the background from showing through the full height of the topbar. Anything else I can try? Thanks.
August 1, 2016 at 3:00 pm #1112563
JoaoModeratorHi,
Please clean your browser and test it again.
On my end the topbar has opacity, but when resized the solid background appearing behind the content.
Maybe try this instead:
.x-topbar, .x-topbar .p-info, .x-topbar .p-info a { background: none !important; border-color: transparent !important; }If that does not work check for some CSS Syntax errors that might be preventing this CSS to work
Let us know how it goes
Joao
August 1, 2016 at 6:08 pm #1112806
pmasonParticipantHi. Managed to find a solution that involves swapping
margin-top:-260px; on my slider section for
position:relative;
top:-260pxI still can’t figure out why that made a difference! Thanks for you suggestions anyway.
August 1, 2016 at 9:07 pm #1113095
JadeModeratorYou’re welcome. Glad you’re able to get it sorted. Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1111179 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
