Jump to content

[?] Responsive Home Text Editor Prestashop 1.6.0.9


Ben90

Recommended Posts

Hi guys,

 

Is it possible to create a mobile version of Home Text Editor? I am using some pictures in Home Text Editor module. As you know that on Mobile Site, the picture size is not changing. Is there any way to make it responsive to the screen sizes?

 

I thank you in advance  :)

Link to comment
Share on other sites

If you want hardcoded images to resize, the only way I know is to use a relative width (%) in the css, targeting them. Apply a common class and target it with media queries

 

Yep. Relative width works pretty well (without media queries). Apparently this one good enough to do the tricks:

margin-left: auto; margin-right: auto; max-width: 100%;

Inline CSS only for the pictures  :)

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...