• Hello, i need to hide the images in the articles for the mobile layout, if i try with

    .wp-image {
    display: none;
    }

    it does not work.

    How can i do?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try to use this :

    
    @media only screen and (max-width: 768px){ 
    body .wp-image{ display:none !important; }
    }

    what theme are you using?
    did you use the browser ‘inspect’ or ‘inspect element’ feature to check that the image has a CSS class of .wp-image?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide .wp-image with css on mobile’ is closed to new replies.