[Resolved] Need to add link in a sidebar
You can just use the HTML code for a link:
<a href="URL FOR THE PAGE YOU ARE LINKING TO">TEXT FOR THE LINK HERE</a>
For a linked image:
<a href="URL FOR THE PAGE YOU ARE LINKING TO"><img src="URL FOR THE IMAGE" alt="ALT TEXT FOR THE IMAGE" /></a>
Substitute your actual info for the all caps text I used.
I am HTML illiterate, but you make it easy enough that I can handle it. Thank you.
Given my illiteracy, can I ask an additional question? How do I make the link text blue and underlined as most linked text is?
Again, thank you very much,
Can you post a link to your site so I can see the current CSS for links is? Also, do you want to change all links on the site? Or just in sidebars or just this one or ??
No, I just want to add blue/underlining to specific links.
If you are working with specific links you should probably use an inline style. If you want to change the links default, so all links are blue underlined you should use a child theme.
Below is an example of an inline style :
<a style="color:"blue;text-decoration: underline;" href="http://yourlink.ext" title="your title">Your link text</a>
I really don’t think this forum is intended for lessons in HTML or CSS.
Please check out w3schools.com
as it is an excellent source for this kind of information.
If you try something and it does not work with Expressions, then I would be happy to help you further :). But start by doing a little digging on your own.
Thank you very much, Kevin.
I have been avoiding like the plague learning HTML, but I guess the time has come. W3schools looks like the perfect way to dive in.
I appreciate your comments and help.
Would you kindly guide me, how to remove author-name, date, post-type etc. from a post.
thanks in advance..
- The topic ‘[Resolved] Need to add link in a sidebar’ is closed to new replies.