Force an image aspect ratio?

Home Forums Quform WordPress Force an image aspect ratio?

This topic is: not resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35078
    ianforest
    Participant

    Hi there,

    I extensively use the radio buttons field with an image shown instead of the button. All the images are in the aspect ratio 3/2 and must also be displayed in that aspect ratio.

    Is there a way I can force the aspect ratio across any breakpoint?

    If I specify a width (100%) and a height value in PX that looks great on a desktop, it just doesn’t translate at all on smaller screens like tablets and phones as I can’t specify a different height value for smaller breakpoints.

    Is there some fancy CSS I can use to force the aspect ratio?

    #35083
    Allan
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy