[Resolved] Border Radius working on desktop, but not on mobile

Home Forums Support [Resolved] Border Radius working on desktop, but not on mobile

Home Forums Support Border Radius working on desktop, but not on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2061140
    Ricardo

    Hello,

    Probably this is a noob question, but I don’t know how to fix…

    I’ve used this:

    .single .wp-block-image {
    border-radius: 10px;
    }

    To set a border radius on images of all posts. But this is only working in desktop. I would like to have that radius also in tablet and mobile.

    Can you please help me getting a solution?

    You can see the code in action here:

    https://wordpress-89823-1807255.cloudwaysapps.com/fado-porto-2-2/

    Thank you very much!

    #2061154
    Leo
    Staff
    Customer Support

    Hi there,

    It’s because your CSS is wrapped in the media query:
    https://www.screencast.com/t/A9mZi1xAPRwh

    Perhaps you are missing a closing bracket } for that media query somewhere above?

    Hope this helps ๐Ÿ™‚

    #2061172
    Ricardo

    Hi,

    Thank you very much! It was that

    #2061174
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

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