Adding and removing text underline

If you are having trouble adding or removing text underline using the portal editor this can be fixed using the Source Code Editor.

This issue usually happens when adding a link as it automatically adds underline and sometimes it’s hard to remove. This is because the text-decoration is added to a span that wraps around the linked text and it also adds it to the <a></a> but unfortunately when the underline is removed it’s only the span that gets deleted an the style on the <a></a> sticks.

If you do not want the text underlined you need to search for text-decoration:underline; in the Source Code and change it to text-decoration: none; in the <span></span> and/or <a></a> wrapping around the text that is underlined/linked.

Image 23

If there is no sign of text-decoration:underline; anywhere but the text is becoming underlined when you hover over it then you need to either find style=”” within the <a></a> and put text-decoration:none; inside it OR if there is no style=”” then you need to add style=”text-decoration:none;” into <a> so it looks like <a style=”text-decoration:none;”

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s