Tagged: x
-
AuthorPosts
-
June 26, 2016 at 9:17 am #1060111
bryan1976ParticipantHi,
My website is here dev.theaudiobarn.co.uk – latest wordpress/x/cornerstone
2 things please:
1). My header is transparent, and I would like the dropdown submenu to share this same transparency – how please?
2). The dropdown is not centred on its parent…please see image attached. How can I have the dropdown background AND the actual menu link both centred below the parent.
Thanks for your help!
Bryan
June 26, 2016 at 9:46 am #1060128
ThaiModeratorHey There,
Please add the following CSS under Customizer > Custom > Global CSS:
.desktop .sub-menu { background-color: rgba(49,49,49,0.85); } .masthead-inline .x-navbar .desktop .sub-menu { left: 50%; margin-left: -100px; }Hope it helps 🙂
June 26, 2016 at 11:13 am #1060184
bryan1976ParticipantHi,
OK pretty good thanks. However:
1) How to change the font….I am using josefin sans in the main navigation
2) Can the sub menu links be centred aligned?
3) Can the width of the dropdown be reduced?
Thanks,
Bryan
June 26, 2016 at 11:31 am #1060194
ThaiModeratorHi Bryan,
Please update the previous CSS a bit:
.desktop .sub-menu { background-color: rgba(49,49,49,0.85); } body .x-navbar ul.sub-menu li a { text-align: center; font-family: "Josefin Sans",sans-serif; } .masthead-inline .x-navbar .desktop .sub-menu { left: 50%; margin-left: -70px; min-width: 140px; }Hope it helps 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1060111 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
