change color of text
- This topic has 7 replies, 2 voices, and was last updated 5 years, 9 months ago by Grace Themes.
-
AuthorPosts
-
August 13, 2018 at 9:35 pm #10782Michal CukrParticipant
Hello,
I’m not able to change the font color for specific texts on my website: http://www.volim-slusne.cz/napocatku/
Footer:
– the basic color of items in the menus which is grey now
– the hover color for these items (because they have the same color as the background)
– the basic color and hover color for the E-mail which is hidden till you hover a mouse next to the word “E-mail”Heading:
– the hover color for e-mail
– color for the phone numbersThank you.
August 14, 2018 at 6:11 am #10796Grace ThemesMemberHi,
To change all the element color your requested
Go to Appearance -> Theme Options -> Basic Settings -> Custom CSS
add below css code in custom css box and change the color code as you like.footer li.current-menu-item a { color:#6e6d6d !important; } .footer ul li a { color:#ffffff; } .footer ul li a:hover { color:#6e6d6d !important; } .textwidget a { color: #ffffff; } .textwidget a:hover { color:#6e6d6d !important; } .infobox a:hover { color:#333333; } .infobox span { color: #ffffff; }
Please do this changes and let me know your feedback.
Regards
Grace ThemesAugust 20, 2018 at 1:47 pm #10870Michal CukrParticipantHi,
thanks for the code. It works only in CSS box in WP (Customization mode). When I saved the code, the changes disappeared. I am using child theme, but editing the style.css in my child theme did not change anything.
August 21, 2018 at 12:02 pm #10887Grace ThemesMemberYes, this only works in Custom CSS box because it has a top priority than css code from style.css file
Regards
Grace ThemesAugust 21, 2018 at 4:58 pm #10888Michal CukrParticipantThank you for the information. How about updating theme? Will it be preserved when the theme would be updated? This is the reason why I wanted to use style.css in my child theme that the modifications will be preserved.
Regards,
August 22, 2018 at 4:53 am #10897Grace ThemesMemberHi,
With the theme update all of your modified files/code will be restored to updated file.
So always add your css code in Custom css box or style.css file of your child theme.Regards
Grace ThemesAugust 23, 2018 at 3:23 pm #10909Michal CukrParticipantThank you!
August 23, 2018 at 4:20 pm #10911Grace ThemesMemberYou are most welcome..!
-
AuthorPosts
- You must be logged in to reply to this topic.