Viewing 3 replies - 1 through 3 (of 3 total)
  • Adding custom CSS

    @media (max-width: 767px) {
     .entry-content img {
      width: 100%;
     }
    }
    • This reply was modified 6 years, 10 months ago by longnguyen.
    Thread Starter paulychilds

    (@paulychilds)

    Thanks for the reply – however that code when inserted into my CSS brings up errors, saying that “@media” is invalid – and if I publish regardless, nothing has changed on the page.

    This was added to the style.css

    Thread Starter paulychilds

    (@paulychilds)

    Never mind – I put it in a child theme and it worked just fine. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image Size For Mobile’ is closed to new replies.