• Resolved vitruvian1man

    (@vitruvian1man)


    I noticed that all hyperlinks in my Blocksy WordPress blog get underlined and incorporate the colors selected for hyperlinks (light blue) and hover (darker blue).

    However, in the side bar, hyperlinks are not being underlined. Also, at least with the Quote Block within a blog post, hyperlinks are not getting underlined.

    I couldn’t find a toggle to underline hyperlinks for the side bar or specific blocks. Blocksy does have an option to choose 5 Link Types. I have Type 2. Although, I don’t know the difference of these 5 link types. Is there a link to the documentation of these 5 links types, how to modify them, etc.?

    Anyway, if there’s a way for me to enable consistent hyperlink behavior, particularly with underlining — and in the areas I mentioned, Side Bar and Block Quotes — then I’d welcome anyone’s assistance or feedback.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @vitruvian1man

    What you’re experiencing is actually correct. The reason why some links are not underlined is because various page builders use the same HTML output for rendering elements that shouldn’t be underlined, such as buttons or icons. And adding a general rule to underline all links would most likely break the layout of that page builder.

    Currently, underlined links include the following selectors:

    .entry-content p>a, .entry-content em>a, .entry-content strong>a, .entry-content>ul a, .entry-content>ol a, .wp-block-table a, .ct-link-styles

    Currently, other links can be underlined with a bit of CSS. If you can show me exactly which links you’d like underlined (with a screenshot and direct link to the page, please), I’ll happily spin up a starter snippet for you, if the HTML output allows.

    Thanks.

    Thread Starter vitruvian1man

    (@vitruvian1man)

    Thank you for the prompt reply, @cteduard.

    I’m glad it’s working as intended.

    I’d welcome your sharing a snippet of custom CSS code since it probably could be inserted in the section of the theme that allows custom CSS.

    So, below is the link to the representative blog post:

    https://counterit.ch/my-exercise-music-playlist-punk-band-from-ohio/

    I attached three screenshots using imgbb:

    • The section under Lyrics header where the author is in blue.
    • Sidebar “About” section that has two links highlighted in blue.
    • Sidebar “Contact Joe” section that has one link highlighted in blue.
    Thread Starter vitruvian1man

    (@vitruvian1man)

    The image links didn’t upload, @cteduard. I’m trying again:

    Hello @vitruvian1man

    Let’s try this. Please use the following selector:

    .wp-block-quote > a, .ct-widget > a {
    color: var(--has-link-decoration, #fff);
    background-size: var(--has-link-decoration, 100% 100%);
    background-image: var(--has-link-decoration, linear-gradient(var(--theme-link-hover-color), var(--theme-link-hover-color)));
    }

    It should make things work for you.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Blog Sidebar and Quote Blocks are not underlining the hyperlinks’ is closed to new replies.