Tagged: x
-
AuthorPosts
-
January 4, 2017 at 12:25 am #1315332
[email protected]ParticipantHello everyone,
I could use some help. I’m new to wordpress and have been building my site for some time now, I’d really like to get it finished sometime soon. I’ve been trying to change the text color for the longest without any success. Here is a screenshot of the text. http://prntscr.com/drady4 As you can see the grey is a little hard to read. I’d prefer a darker color. I purchased the x theme and have tried editing it through cornerstone and through the wordpress appearence tab but I don’t see an option that allows me to change the text color. If anyone could point me to the right direction I would greatly appreciate it a lot. Here is the link to my site http://www.ahealthyvitamindrink.com
Thank you,
JimJanuary 4, 2017 at 12:48 am #1315351
NicoModeratorHi There,
Thanks.
To change the text color of your tab, add this it in your Customizer > Custom > CSS:
.x-nav-tabs>li>a{ color:#FFF; } .x-nav-tabs > li > a:hover{ color:#FFF; }Change the html color to achieve the color you want.
Let us know how it goes.
Thanks.
January 4, 2017 at 9:15 am #1315868
[email protected]ParticipantHI Nico,
Thank you for your reply. I will be giving it a shot this evening.
Thank you!
January 4, 2017 at 10:00 am #1315951
DarshanaModeratorSure, let us know if you need anything else.
Thanks!
January 4, 2017 at 6:18 pm #1316550
[email protected]ParticipantHi Nico and Darshana,
The code seems to work! I have one more question. What code can I add to make the selected list appear a different color or appear in bold? For example, when I select ‘Daily Multiple Plus’ the text appears a lighter color than the other twp options. I’d prefer if the color remained the same and text appeared bold when the list is selected. Here are some screenshots so you can get an idea of what I’m talking about: http://prntscr.com/drme7i http://prntscr.com/drmehz
Thanks again.
January 5, 2017 at 1:19 am #1316981
RupokMemberHi there,
Thanks for writing back with screenshot. You can set color and font-weight both. Let’s add this :
.x-nav-tabs-item.active > a { color: red; font-weight: bold; }Cheers!
January 5, 2017 at 5:33 am #1317189
[email protected]ParticipantHi Rupok,
Thank you for your reply. I added your code and font-weight works but color does not. The color is still the same. Any idea what could be going on?
Thanks!
January 5, 2017 at 8:03 am #1317319
JoaoModeratorHi There,
Please try instead:
.x-nav-tabs-item.active > a { color: red !important; font-weight: bold; }Hope it helps
Joao
January 7, 2017 at 3:19 pm #1320487
[email protected]ParticipantHi Joao,
Thank you so much. You guys are awesome! 🙂
Cheers!
January 8, 2017 at 12:38 am #1320809
ChristopherModeratorYou’re welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1315332 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
