Skip to content

Allow Image Max-Width by Pixels and not just Percent #5376

@d-marvin

Description

@d-marvin

Prerequisites

  • I have searched for similar features requests in both open and closed tickets and cannot find a duplicate.
  • The feature is still missing in the latest stable version of Elementor ( Elementor Pro. )

What problem is your feature request going to solve? Please describe.
Having max-width option for images to be only percent seems silly as a designer, having used max-width using pixels pretty always in max-width situations. For example, an image that you want to fill 100% of its container but not if its container exceeds 300px. A common use would be a thumbnail in a short left column and its corresponding text in a wide right column. When the device is mobile and those columns stack, that thumbnail can now fill the screen and look silly. YES, there are workarounds, for example having to add something like "selector img {width:100%;max-width:350px;}", which I do very often.

It would just be convenient if the choice of pixels was standard.

Describe the solution you'd like

What would be nice is like this image. Add a switcher to define Max Width by either % or PX
max-width

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/has-prIndicates that an Issue, or Discussion has a companion Pull Request awaiting to be merged.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions