You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

Underlining Hyperlinks In Posts

UserPost

10:47 am
March 21, 2010


flextheme

Member

posts 10

1

Hello…

Is there a way to have the hyperlinks in posts automatically underline rather than having to do that manually?

Presently the hyperlinks aren't underlined in a post.

Thanks!

10:52 am
March 24, 2010


bizmobi

Member

posts 13

2

I know sometimes it's hard to get a reply, I've been waiting since march 11th I think for a question I had entered in. It seems Ryan has a lot going on, which I understand, with these great themes.

I came accross your question when checking to see if I got a reply and just figures I'd try and help you. So…

Go to your WP Dashboard > Appearance > Editer > style.php

Find this styling…

.postwrap a:link, .postwrap a:visited, .postwrap a:active {
    text-decoration:none;
    color: #<?php echo $flex_link_color; ?>;
    border:0;
    -moz-outline-style:none;
}

Change text decoration:none; to > text decoration:underline;

This will underline ALL links in your posts including title tags.

Alternatively, if you just want the links within the body text of the post underlined you can…

  • open the post you have the link in to edit it. (make sure it's in HTML mode and NOT visual)
  • Find the link in question. Something like <a href="http://www.webiste.com">Your anchor text</a>
  • Add this to it. style="text-decoration:underline;"
  • Should look like this…<a style="text-decoration:underline;" href="http://www.webiste.com">Your anchor text</a>

The second option will have to be added maually to EVERY link in every post. This is what you want if you don't want your titles to be underlined.

Hope this helps.Laugh

12:22 pm
March 24, 2010


Ryan

Admin

posts 1523

3

Thanks for answering that question bizmobi.  I actually went on vacation around the time you mentioned your first post, and was gone up until this past weekend.  I had my laptop and tried to stay on top of things as much as I could, but do you know how hard it is to check email when you're 50 feet away from the Caribbean Sea and unlimited margaritas?  Cool

Want a job as a forum moderator? Wink

5:18 pm
March 24, 2010


bizmobi

Member

posts 13

4

What!!!

You want me to moderate your forum while you're sippin UNLIMITED margeritas on the Carribbean Sea!!! JEEEZ….Laugh it must be nice!

Ryan, I figure what goes around comes around man, so anything I can do to help. Let me be honest though… I'm not sure what it takes to be a moderater OR how much I can actually help your clients solve ALL their issues but I'd be happy to hear the details.

10:23 am
April 24, 2010


flextheme

Member

posts 10

5

Bizmobi…

Thanks for your help with this!

 

Really appreciate.