• Resolved inventorgeorge

    (@inventorgeorge)


    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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.

    Thread Starter inventorgeorge

    (@inventorgeorge)

    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

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

    Thread Starter inventorgeorge

    (@inventorgeorge)

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

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

    Thank you.

    Theme Author kevinhaig

    (@kevinhaig)

    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="https://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.

    Thread Starter inventorgeorge

    (@inventorgeorge)

    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

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

    thanks in advance..

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

    https://www.ads-software.com/support/theme/expressions

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Need to add link in a sidebar’ is closed to new replies.