[Support request] Underlined links are not displayed mobile

Home Forums Support [Support request] Underlined links are not displayed mobile

Home Forums Support Underlined links are not displayed mobile

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1573977
    Johannes Breunig

    Hello, I want all my links and buttons in the content to be underlined and bold.

    `.entry-content a {
    font-weight: bold;
    text-decoration:underline;
    }

    This works in the desktop view. But in mobile view the underline is missing.

    #1574154
    David
    Staff
    Customer Support

    Hi there,

    can you share a link to your site ?

    #1575395
    Johannes Breunig

    Here is the Link.

    #1575501
    Elvin
    Staff
    Customer Support

    Hi,

    It doesn’t work for mobile because it is enclosed within a @media rule.

    This CSS is from your site.

    @media (min-width: 769px){
    .entry-content a {
        font-weight: bold;
        text-decoration: underline;
    }
    }

    This particular @media rule means it with only apply to screens with atleast 769px or larger meaning it’s not being applied smaller screens (mobile).

    If you want it to apply regardless of screen size, simply remove the @media rule.

    A wise man once said:
    "Have you cleared your cache?"

    #1575557
    Johannes Breunig

    It works. Thanks a lot πŸ˜‰

    #1575604
    Elvin
    Staff
    Customer Support

    It works. Thanks a lot πŸ˜‰

    No problem. Glad to be of any help. πŸ™‚

    A wise man once said:
    "Have you cleared your cache?"

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.