Tagged: responsive
Hello,
I want there to be no left and right margins on certain images that I integrate into my site. I have set all margins to 0 on the computer screen it works but not on a smartphone. Like solving this problem.
Thanks for your help.
Hey Goodvibes,
That is because the container width is not 100% on mobile, you can change that using this CSS:
@media only screen and (max-width: 767px) {
.responsive #top #wrap_all .container {
width: 100%;
max-width: 100%;
}
}
Not that most of your content will be full width on mobile if you add the above CSS.
Best regards,
Rikard