mathildeeeeee Posted February 26, 2021 Share Posted February 26, 2021 Site URL: https://www.inspirewellnessandnutrition.com/inspireblog/the-superpowers-of-vitamin-d Hey guys! I am trying to add underline links to CSS but the code below applies to all links on website (buttons, navigation titles, etc.) Is there a way to only have it apply to links within blogposts only? /*underline links*/ .sqs-block-content a, .sqs-block-content a:hover { text-decoration: underline !important; } Thanks in advance! Link to comment
tuanphan Posted March 2, 2021 Share Posted March 2, 2021 Hi. Add to Design > Custom CSS /* blog post link underline */ body.collection-type-blog .html-block p a { 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
mathildeeeeee Posted March 2, 2021 Author Share Posted March 2, 2021 7 hours ago, tuanphan said: Hi. Add to Design > Custom CSS /* blog post link underline */ body.collection-type-blog .html-block p a { text-decoration: underline; } many thanks!!😁 @tuanphan Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.