Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Zen subthemes do not (seem to have) a *.breakpoints.yml file added to them to allow the use of responsive images (which are part of Drupal core).
This patch sets three breakpoints:
- small: default media query - can apply anywhere
- medium: between 601 and 960px (basically tablets)
- large: anything over 961px (basically landscape tablets to desktop+)
Patch will be added in the comments.
Comment | File | Size | Author |
---|---|---|---|
#6 | STARTERKIT.breakpoints.yml-file-279789-6.patch | 596 bytes | bandanasharma |
#2 | 2797989-2-add-breakpoints-yml-file.patch | 550 bytes | markconroy |
Comments
Comment #2
markconroy CreditAttribution: markconroy as a volunteer and at Annertech commentedadding patch
Comment #3
markconroy CreditAttribution: markconroy as a volunteer and at Annertech commentedI forgot to set this to needs review. Setting now.
Comment #4
markconroy CreditAttribution: markconroy as a volunteer and at Annertech commentedComment #5
bandanasharma CreditAttribution: bandanasharma as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commented#2 Apply patch successfully but it create new folder b/STARTERKIT rather then copy on existing STARTERKIT folder.
In the file you have use letter s for the small, if we use full word then it look batter.
I have made these changes in the file and add patch.
Comment #6
bandanasharma CreditAttribution: bandanasharma as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedSorry last patch is blank so I have add again.
Comment #7
bandanasharma CreditAttribution: bandanasharma as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commented