Home › Forums › Support › Link styling for content ONLY This topic has 7 replies, 3 voices, and was last updated 2 years, 3 months ago by Ying. Viewing 8 posts - 1 through 8 (of 8 total) Author Posts December 22, 2021 at 3:42 pm #2057161 Milo Lam Hi, I’m trying to do something like this /*link styling */ .entry-content a { border-bottom: 3px solid #5bc1ae; } but how do I target it just for my blog content and not every single link on the page? Thank you. December 22, 2021 at 5:36 pm #2057207 LeoStaff Customer Support Hi there, Your code should target the blog post content only already. Any chance you can link us to the site in question? You can use the private information field: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information Let me know ๐ December 29, 2021 at 3:29 pm #2063354 Milo Lam Hi Leo, Just shared it. As you can see, the main call to action on the homepage gets underlined as well. Thank you December 29, 2021 at 5:17 pm #2063386 YingStaff Customer Support Hi Milo, You can try this: /*link styling */ .single-post .entry-content a { border-bottom: 3px solid #5bc1ae; } December 29, 2021 at 5:20 pm #2063390 Milo Lam Thanks, Ying. Seems to work by confining it to just blog entries now, but any idea how I can also exclude the underline for the social sharing buttons in the blog posts? Thanks again December 29, 2021 at 5:38 pm #2063396 YingStaff Customer Support Are the links usually in paragraph? If so, try to change the selector to .single-post .entry-content p a . Let me know if that works for you ๐ December 29, 2021 at 5:54 pm #2063403 Milo Lam That did the job. Thanks a lot. GP team is helpful as always December 29, 2021 at 6:06 pm #2063409 YingStaff Customer Support You are welcome, glad to help! Author Posts Viewing 8 posts - 1 through 8 (of 8 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In