Site logo

[Resolved] Underline Text Links, exclude Navigation

Home Forums Support [Resolved] Underline Text Links, exclude Navigation

Home Forums Support Underline Text Links, exclude Navigation

  • This topic has 27 replies, 2 voices, and was last updated 6 years ago by Leo.
Viewing 13 posts - 16 through 28 (of 28 total)
  • Author
    Posts
  • #354758
    Leo
    Staff
    Customer Support

    Try this for link underline instead:

    .site-content p a:link,
    .site-content p a:hover,
    .site-content p a:active,
    .site-content p a:visited {
        text-decoration: underline;
    }

    Title hover is working. Change the color #000000 to something else then you should be able to see it 🙂

    #355286
    Kristijan

    yes, that’s it, everything is working

    thanks a lot Leo!

    #355291
    Leo
    Staff
    Customer Support

    No problem!

    #356229
    Kristijan

    hi,

    can you please also share how to get link in heading underlined when hovered?

    thanks

    #356290
    Leo
    Staff
    Customer Support

    This is the site you are referring to still? http://kristijangalekovic.com/

    The only thing in the header is the title which you don’t want to underline?

    #356963
    Kristijan

    yes, still refering to this site:
    http://kristijangalekovic.com/

    what I’ve meant is if link in Heading (H1, H2, H3…) can be uderlined when hovered?

    Kristijan

    #357080
    Leo
    Staff
    Customer Support

    Ah yes. Try this:

    h1 a:hover {
        text-decoration: underline;
    }
    #357082
    Kristijan

    that’s it, thanks!

    #357084
    Leo
    Staff
    Customer Support

    No problem!

    #357086
    Kristijan

    oh yes, one more thing please:

    how can you add some predefined space (like using tabs in word editor) in the heading (H1)?

    #357087
    Leo
    Staff
    Customer Support

    Try:

    h1 {
        padding-left: 10px;
    }

    If you have more questions please open a new topic 🙂 Thanks!

    #1319576
    Ricardo

    Hi,

    I’m using this css that you provide here:

    .site-content p a:link,
    .site-content p a:hover,
    .site-content p a:active,
    .site-content p a:visited {
    text-decoration: underline;
    }

    I would like to have a hover and active effect: to remove the underline.

    For that, I tried to simply remove

    .site-content p a:hover,
    .site-content p a:active,

    but it didn’t work.

    Also set

    .site-content p a:hover,
    .site-content p a:active,{
    text-decoration: none;
    }

    but it didn’t work.

    Any idea on how to achieve that?

    Thanks in advance,
    Ricardo Pons

    #1319708
    Leo
    Staff
    Customer Support

    Please open a new topic for your question.

    Thank you!

Viewing 13 posts - 16 through 28 (of 28 total)
  • The topic ‘Underline Text Links, exclude Navigation’ is closed to new replies.