Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimiser plugin strips out img-responsive class #30

Open
berthelemy opened this issue Oct 14, 2021 · 0 comments
Open

Optimiser plugin strips out img-responsive class #30

berthelemy opened this issue Oct 14, 2021 · 0 comments

Comments

@berthelemy
Copy link

Hi there,

When we have the image optimiser plugin switched on, our images then have a fixed width, which doesn't work on a small screen. It leaves a horizontal scroll bar.

I was hoping to be able to add the built-in class="img-responsive" to all the images, but the plugin seems to strip this out.

The only way it can be made to work is to disable the filter, add the class, and then re-enable the filter.

That's not workable, as we're constantly adding new content to our site.

I'm wondering if the plugin could have a switch in the settings, which allows people to choose whether to add class="img-responsive" to all images?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant