Archived topic
How to make default hyperlink display like this?
9 replies · Started by Trạng on August 5, 2021
Hi everyone, as title, I want to set my hyperlink display like this without Ctrl U manually. How can I do this? The site in demo: https://www.searchenginejournal.com/how-to-write-blog-intro/409026/#close
Hi Trang,
Try this CSS:
.entry-content a {
border-bottom: 2px solid #71c21b;
}
Let me know :)
It works great! Thank Ying :D
You are welcome :)
Hi Ying, I don't know but maybe it effect wherever I place links? Could you see 2 screenshot below, the underline effect is also applied into banner & button?
Yes, the CSS applies to all the links in the content area.
Can you link me to the post that I can see the buttons and banners?
And if there're any other types of links you don't want the underline, let me know :)
Yes, sure. I place 2 url post in private area. 1st is the post that underline applied into image, 2nd is the post that underline applied into button.
And yeah I just one to apply that effect into text hyperlink. And not in other places such as: Image, button, banner,..etc...
Can you try this CSS instead:
.entry-content p a {
border-bottom: 2px solid #71c21b;
}
hi Ying, it works well! Thank you
Great!
Let me know if there's any link I missed :)