Tagged: x
-
AuthorPosts
-
September 6, 2016 at 3:32 am #1162706
u_oculyzeParticipantCurrently on my site selected items sometimes show a thick border around them.
As an example see the drop-down menu here:
http://www.oculyze.de/better-brewing-yeast-counter-yeast-viability/#quoteI would like to customize the look of this border:
– I would like it to be thinner everywhere (on all pages)
– and a different color on certain pages (e.g. other color on better-brewing than on the home page)Also I would like to know how to disable the border completely.
I tried looking through the menus and also searched on the forum but didn’t find an answer.
Thanks in Advance!
September 6, 2016 at 3:43 am #1162720
FriechModeratorHi There,
Thanks for writing in! Are you referring to that red line above the menu? If so, you can add this under Custom > CSS in the Customizer.
header .x-navbar .desktop .x-nav > li > a:hover, header .x-navbar .desktop .x-nav > .x-active > a, header .x-navbar .desktop .x-nav > .current-menu-item > a { box-shadow: inset 0 3px 0 0 rgb(239,66,111); }Adjust the 3px value for a much thinner or thicker line. Replace the rgb value (239,66,111) for a different color. Make it
box-shadow: none;to completely disable it.Hope it helps, Cheers!
September 6, 2016 at 3:51 am #1162736
u_oculyzeParticipantThanks for the quick reply.
Unfortunately the code did not affect the border around the dropdown menu. It did change the thickness of the line at the top menu though, which I actually like to keep. I only want to change or disable it for the dropdown menu.
September 6, 2016 at 4:12 am #1162755
ChristianModeratorHey there,
Please add the code below in your Appearance > Customize > Custom > Global CSS
.desktop .sub-menu { box-shadow: none; }Hope that helps. 🙂
September 6, 2016 at 10:41 am #1163176
u_oculyzeParticipantAlso didn’t work
September 6, 2016 at 11:21 am #1163234
JoaoModeratorHi There,
Would you mind providing a screenshot to clarify what you are referring to?
Thanks,
Joao
September 6, 2016 at 11:23 am #1163239
u_oculyzeParticipantsure, attached
September 6, 2016 at 11:38 am #1163255
ThaiModeratorHi There,
Try adding the following CSS under Customizer > Custom > Edit Global CSS:
a:focus, a.x-btn:focus, select:focus, input[type="file"]:focus, input[type="radio"]:focus, input[type="submit"]:focus, input[type="checkbox"]:focus, input[type="button"]:focus { outline: none !important; }Hope it helps.
September 6, 2016 at 11:48 am #1163264
u_oculyzeParticipantExcellent that did the trick. Thank you!!
September 6, 2016 at 11:52 am #1163269
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1162706 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
