How to underline Hyperlink which are present in only My Post section.

I want to underline the hyperlinks present in my posts. I don’t want the Hyperlinks to be underlined in the other areas of my website technicalego.com. Previously I used the following code to underline the hyperlinks but it underlined each and every Hyperlink of my Website.
div a{
text-decoration:underline;
}
I only want to underline the Hyperlinks present in my post.
Please help me to get this.

Hello there,

I hope you are doing well today.
Please try using one of these CSS codes:


.blog div a{
text-decoration:underline;
}

OR


.post div a{
text-decoration:underline;
}

Best Regards,
Support

This code is underlining post name in the homepage and Popular Post Widget. I don’t want them to be underlined.
Please help.

Hi there

Please try this:

.single-post p a{
text-decoration:underline;
}

This code works well but it is not underlining the hyperlinks present in Bulleted List. How can I underline them. Please Help

Hi there,
Thanks for keeping in touch.

In this case, could you try out the following CSS code:

ul li>a {
text-decoration: underline !important;
}

I hope this helps.
Kind Regards.

This code is also underlining the menu on the top and bottom?
I only want the hyperlink in the bulleted list of the body section to be underlined

Hi there

Try this:

.single ul li a {
text-decoration:underline;
}