1

I've added an image to my home page and when I preview the home page from CMS pages in the admin the image is responsive.

When I click on my logo the page is then fully responsive all except the image?

The URL ends index.php/home when I preview from the CMS pages panel and when I click the logo the home URL key is gone?

3
  • Can you share the code / screenshot with your question. that will help us to answer
    – Ask Xah
    Nov 18, 2018 at 6:46
  • the url is - www.asl-bathroom-store.co.uk
    – Eddie
    Nov 18, 2018 at 13:19
  • you can add width: 100%; for small screen.
    – Pawan
    Nov 18, 2018 at 18:09

1 Answer 1

0

Add this css property on your image :

.imageClass {
    display: block;
    max-width: 100%;
    height: auto;
}
2
  • Adding the CSS works, but why is the image responsive when a URL of www.asl-bathroom-store.co.uk/home is used? when I just use www.asl-bathroom-store.co.uk the image isn't responsive.
    – Eddie
    Nov 19, 2018 at 5:59
  • Maybe you theme override the image class property
    – PЯINCƎ
    Nov 19, 2018 at 11:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.