Links are not underlined

  • Not sure if this is a mistake, or just part of the Style Sheet for my Ocean Mist theme, but links are not underlined, and most (but not all) times I want them to be. Some links have the “text decoration: none” code, some don’t. Can’t figure it out. Can someone direct me to an example of code that I can enter to have links underlined, and one for a link that is not underlined?

  • I did find a way to enter it, but wondering how I can make it the default style?

  • Can we have a direct link to your blog, please? Or just link your blog to your username following these instructions:

    https://en.forums.wordpress.com/topic/7-things-to-know-before-posting-in-wordpresscom-forums?replies=1

  • Thanks… Have made the update in profile…

  • Thanks. Do you have the CSS upgrade? What is the workaround you’ve been using?

  • No CSS upgrade… just entering this code around the title of the link… it appears to work..
    <span style=”text-decoration:underline;”>link title</span>

    Any other ideas?

  • I’d like to see a direct link to a post with both kinds of links, if you have one. Failing that, two links to different posts where one has a link that is underlined and one doesn’t. It’s quite possible that them only un-underlines links you’ve clicked on already or something.

  • Here is a link to the page where I was able to make the links appear underlined:

    http://ellkayblog.wordpress.com/weekly-posting/

    Here is a link to a page where links were inserted without me adding any code:

    http://ellkayblog.wordpress.com/2008/10/12/october-14th-2008/

  • “Without me adding any code”: You mean without doing it successfully – because there IS extra code involved, only it’s bad. In the “Manly Bike for Sale” link you’ve got an extra link with just a space as its title, and style commands for color and decoration INSIDE the title field (the decoration command being a useless “text-decoration:none”). In the “Real Age” link you’ve got no underline command, but you’ve got a double command for colors, again inside the title field.

    Things are rather simpler than that. If you create a link in the visual editor, then you just highlight it and click the underline button. If you write it in html, then instead of this:
    <a href="URL" target="_blank">TITLE</a>
    write this:
    <u><a href="URL" target="_blank">TITLE</a></u>
    Also note that if you want multiple style commands for the SAME word or phrase, they are part of the same “span”; you don’t need separate span tags for each one. For instance, you can write:
    <span style="color:#3366ff;text-decoration:underline;"><a href="URL" target="_blank">TITLE</a></span>
    Now, I understand that all this arose because Ocean Mist distinguishes links by color, and this wouldn’t do in your case, since you use various colors for your texts. Why don’t you just switch to a theme where the default for links is underlined text?

  • That explains the issue, but I didn’t input any of those commands in HTML… I constructed each entry in the Visual editor… so maybe the style translator to HTML is throwing in extra stuff? Perhaps I changed the color a few times and the older versions were left in there? Also, the links show as underlined in the visual editor window when I link them up, but not in the finished post.

    I don’t see tags referring to underlined links under the themes. Is there an easy way to determine what themes have underlined links as a default?

  • Yes, the most likely cause of the mangled codes I saw in the source of your page is repeated attempts on the same item via the visual editor buttons.

    The visual editor is generic, so it shows links the standard way (= underlined), not the way a particular theme will display them.

    There are lots of details not mentioned in the theme descriptions. Unfortunately you have to try the themes one by one. But you don’t have to actually load them: just make sure there’s a live link near the beginning of your latest post, and click on each theme thumbnail to preview the theme.

  • Forgot to note that underlined links should be the majority.

  • The topic ‘Links are not underlined’ is closed to new replies.