WordPress.org

Forums

Expressions
[resolved] Need to add link in a sidebar (9 posts)

  1. inventorgeorge
    Member
    Posted 1 year ago #

    I need to add a link to a sidebar. Easy enough to add text, but I do not see how I can make the text [or an image] a link to another page.
    I am hoping someone can show me how to do this.

  2. WPyogi
    Forum Moderator
    Posted 1 year ago #

    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.

  3. inventorgeorge
    Member
    Posted 1 year ago #

    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,
    George

  4. WPyogi
    Forum Moderator
    Posted 1 year ago #

    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 ??

  5. inventorgeorge
    Member
    Posted 1 year ago #

    Certainly.
    http://www.univent.org/inventonomics

    No, I just want to add blue/underlining to specific links.

    Thank you.

  6. kevinhaig
    Member
    Theme Author

    Posted 1 year ago #

    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.

  7. inventorgeorge
    Member
    Posted 1 year ago #

    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.
    George

  8. khurram650
    Member
    Posted 1 year ago #

    Hi Kevin.
    Would you kindly guide me, how to remove author-name, date, post-type etc. from a post.

    thanks in advance..

  9. WPyogi
    Forum Moderator
    Posted 1 year ago #

    @khurram650 - please start your own thread - your question is not the same. You can do so here:

    http://wordpress.org/support/theme/expressions

    Including a link to your site will make it easier for people to help you.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic