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; } mathildeeeeee 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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
Create an account or sign in to comment
You need to be a member in order to leave a comment