Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1446824

    Hi there, I would really love my images on my website when on mobile to take up the entire screen, but they all seem to have spacing / borders either side (that even when i say 0 padding it still has it). Is there something I am missing?

    website: http://www.movewithmaria.co.uk

    #1446833

    Hey divinecurio,
    We can make some of your images fullwidth on mobile, to ensure that this only effects the images that you want please add a custom class to those images ▸ fullwidth-on-mobile, then add this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 767px) { 
    	.fullwidth-on-mobile .avia-image-overlay-wrap {
      width: 100vw !important; 
      position: relative !important; 
      left: calc(-50vw + 50%) !important; 
    }
    }

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    #1446834

    Heck yes! Thank you so much!

    #1446851

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1446854

    Please close the ticket Rikard, thank you.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Mobile images full size stretch’ is closed to new replies.