I can only see bold or itallics in the kitchen sink menu above each post/page!! Where is the option to underline headlines or subheadlines in the post and page editor?
l
Hi Sunil,
Thank you for your question.
The WordPress only provides strikethough line button and not underline button.
To add underline you have to develop custom CSS code using text-decoration property and add it in the Custom CSS option of the latest version of Sparkling theme on the below path.
Admin Area -> Appearance -> Customize -> Sparkling Options -> Other -> Custom CSS
Best Regards,
Movin
Thanks. What is the custom CSS code to create the underline option?
You can try using below custom CSS code.
h1, h2 {
text-decoration: underline;
}
It wasn’t the H1 and H2 tags that I want to underline as they already stand out.
Is there a way of underlining key sections of the paragraph text?
Could you please share me the page URL from your site where the key sections are displaying so that i can help you to achieve it?
Or just change the tags h1, h2 in the above code to whatever you want to.