Guest Posted May 6, 2021 Share Posted May 6, 2021 Site URL: https://www.moderndifferent.com/ How do I change color to title and subtitle separately? Both are active links. I can’t do it in the editor. How can I add underline to active links on hover and change color (for all site, including image blocks)? Is there a way to adjust how close the underline is to the text? Thanks. Link to comment
tuanphan Posted May 7, 2021 Share Posted May 7, 2021 23 hours ago, kristobans said: Site URL: https://www.moderndifferent.com/ How do I change color to title and subtitle separately? Both are active links. I can’t do it in the editor. How can I add underline to active links on hover and change color (for all site, including image blocks)? Is there a way to adjust how close the underline is to the text? Thanks. Add to Design > Custom CSS /* title subtitle */ div#page-607e58d7db63ee562a23b8e5 .image-title * { color: red; } div#page-607e58d7db63ee562a23b8e5 .image-subtitle * { color: green; } /* Underline on hover */ div#block-yui_3_17_2_1_1619098273083_327235 a:hover { text-decoration: underline; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Guest Posted May 7, 2021 Share Posted May 7, 2021 23 minutes ago, tuanphan said: Add to Design > Custom CSS /* title subtitle */ div#page-607e58d7db63ee562a23b8e5 .image-title * { color: red; } div#page-607e58d7db63ee562a23b8e5 .image-subtitle * { color: green; } /* Underline on hover */ div#block-yui_3_17_2_1_1619098273083_327235 a:hover { text-decoration: underline; } Hi. Perfect thank you. Underline on hover don't work. Would it be because I have code /* Remove underline links from the entire website. */ a { border: none !important; } to disable the original underline, which shows up under every link? Cheers! Link to comment
tuanphan Posted May 9, 2021 Share Posted May 9, 2021 On 5/7/2021 at 8:29 PM, kristobans said: Hi. Perfect thank you. Underline on hover don't work. Would it be because I have code /* Remove underline links from the entire website. */ a { border: none !important; } to disable the original underline, which shows up under every link? Cheers! I see it worked here Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.