Tagged: x
-
AuthorPosts
-
December 31, 2016 at 9:05 am #1310956
fabiofavaParticipantHi there!
I’m having this issue: all my links on keyboard navigation (using Tab to navigate and Enter to open links) are shown on Grey on my site. Menu links, the flip-cta, etcetera.
All but the color around the buttons: they’re red. I couldn’t figure out how to change that, all other links are showing on the correct color.
Please let me know if you need my Custom CSS (from Customizer), I can copy/paste (privately) so you can check if you guys find some clue to make those sqares grey (not red).
Please check the attached screenshots to visualize the issue.
Thank you very much and best regards!
May 2017 be the year of X-Theme and Cornerstone! Cheers!
December 31, 2016 at 8:47 pm #1311306
Rue NelModeratorHello There,
Thanks for writing in! To resolve this issue, please add the following code in your child theme’s function.php file
.x-navbar .desktop .x-nav li:focus, .x-navbar .desktop .x-nav li a:focus { box-shadow: 1px 1px 4px rgba(255,255,0,0.65) !important; border-color: rgba(255,255,0,0.65) !important; }Hope this helps. Please let us know ow it goes.
January 1, 2017 at 3:01 am #1311463
fabiofavaParticipantHi there!
Isn’t possible to do it via Custom CSS on Customizer?
Thanks!
January 1, 2017 at 4:51 am #1311515
ChristopherModeratorHi there,
Sorry, we made typo mistake. It should be added in customizer.
Thanks.
January 1, 2017 at 6:46 am #1311567
fabiofavaParticipantSorry but it didn’t work.
Stills red square around buttons on keyboard navigation.
Any other suggestion?
Thanks!
January 1, 2017 at 6:49 am #1311570
fabiofavaParticipantCan I paste (privately) all my Custom CSS at Customizer?
Then you guys can check if is there some inconsistency…
Please let me know if is there anything else I can do.
Happy 2017 for all the Themeco Staff!
January 1, 2017 at 7:05 am #1311579
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.
January 1, 2017 at 9:12 am #1311622
fabiofavaParticipantSorry, but nope.
All caches cleared – site-wide and browser-wide
Please let me know if you need to check all my Custom CSS (it is not a big one), maye you guys can find some inconsistency on the code that is preventing that.
There are some code that turns all other squares into grey on my CSS (I’m not very good at coding so I can’t remember what would it be), maybe it’s just something you’ll ad there…
I’ll keep looking forward from you, thank you so much!
January 1, 2017 at 9:14 am #1311625
fabiofavaParticipantThis reply has been marked as private.January 1, 2017 at 9:41 am #1311652
ChristianModeratorThere’s no error in your code. The cached minified file is still being loaded. Please clear all caches and deactivate all optimization plugins then check again.
Thanks.
January 1, 2017 at 10:28 am #1311693
fabiofavaParticipantSorry but no,
All Cache/Minification is Off (check attached JPG).
All browser caches are Empty/Clean.
Buttons (and only buttons) are still red-around…
Please let me know if you can find it out, thanks!
January 1, 2017 at 6:53 pm #1312017
Rue NelModeratorHello There,
Thanks for updating in! Please disable your caching plugin and the js/css minification plugin. To resolve the button focus color, you can make use of this code added to your customizer, Custom > CSS
.x-btn:focus, .button:focus, [type="submit"]:focus { outline: none !important; }Hope this helps. Kindly let us know.
January 2, 2017 at 2:27 am #1312277
fabiofavaParticipantHi there,
Should I remove the prior customizations attempt? Or just add that to the other?
Thanks!
January 2, 2017 at 2:32 am #1312281
ChristopherModeratorHi there,
Are you referring to this code?
https://community.theme.co/forums/topic/color-around-links-on-keyboard-navigation/#post-1311579Yes, please remove it.
Thanks.
January 2, 2017 at 2:35 am #1312285
fabiofavaParticipantSorry but this makes the outline to disappear. I just want it to be the same color of the other outlines (navbar menu items, flip cta, etcetera).
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1310956 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
