Closed (works as designed)
Project:
Picture
Version:
7.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2014 at 22:26 UTC
Updated:
5 Jun 2014 at 07:46 UTC
Jump to comment: Most recent
Comments
Comment #1
attiks commentedUse an image style big enough to cover the full width and use css to add width: auto; height: auto;
Comment #2
dmkelner commentedIn my case the biggest image style is 500x180, which would be fine as a starting point for mobile. However, when I assign that to the mobile breakpoint in my picture group it is applied in the code. I'm not sure I understand how I can override this with my css. Thanks for your help!
Comment #3
attiks commenteduse the biggest image style for your mobile breakpoint, inside your css add something like
you probably have to add change the selector (.field--picture) to something else.
Comment #4
dmkelner commentedBeautiful. Thanks so much for the assistance and for the picture and breakpoint modules. So powerful once you get the hang of it.
Comment #5
attiks commented