Maybe you need to set max-width
Just add max-width:100%
below your code
@media only screen and (max-width: 480px) {
.gallery-columns-4 .gallery-item {
width: 100%;
max-width: 100%;
}
}
Related Posts:
- Responsive Images
- How can I make wp default gallery responsive?
- How to make gallery images responsive?
- How to make in wordpress a gallery with 3 colums to 1 on mobile devices responsive?
- Responsive WordPress Gallery
- Custom wordpress gallery option
- Gallery Inside One Post
- How do i add class=”fancybox” to the default gallery?
- Modifying the media-template.php file, the right way?
- how do i create a downloadable gallery with image descriptions?
- Set default link type to “file” for image galleries
- Making WordPress Gallery (.gallery-item) Responsive?
- How can I remove or change a border/outline on a picture when it is in a gallery page?
- Add size in Gallery Settings in Media Library
- Post photo galleries [closed]
- Media gallery – inserting full size images without link
- Getting the image title/alt attribute from the gallery shortcode
- Can I attach an image to a different post?
- Add a checkbox in Media Upload window
- How to Make WordPress Default gallery responsive on mobile?
- remove featured image from gallery woocommerce [closed]
- Display all albums in nggallery on a page [closed]
- How to determine if a post has attached images?
- How to get clean code for a gallery?
- show other images from same gallery
- how do i embed the pdf gallery in wordpress post
- Attach custom gallery to a page
- How To Put Multiple Image Galleries In A Single Post?
- Add new images to top of existing gallery not bottom
- WordPress gallery not sorting the images if I change the order of image ids
- GalleryView binding for WP Gallery, without NextGen
- Gutenberg MediaUpload component with default gallery functionality?
- Large Media Library
- Add Download Button in prettyPhoto Plugin
- Can I nest a element within tags from default wordpress?
- Text lost under image after WordPress 5.0 upgrade
- Strange issue with gallery when displays 3 columns
- Extending Media Gallery – Retrieving values from short code
- Is it possible to setup a gallery in the backend without including it in the content?
- Custom links or pages from Media Gallery
- My “Description” in gallery doesn’t accept formatting/html
- Is it possible to set JJ NextGen JQuery Carousel dynamic ids? [closed]
- How to show private flickr group on a WordPress site?
- Is it possible to import NextGen Galleries into WordPress Galleries and convert embeds in all posts? [closed]
- Gallery Shortcode – only show first x thumbnails
- Image Gallery links to medium image instead of FULL size image
- Gallery backend only
- How to make universal gallery and improve admin side of managing galleries?
- Where is image gallery information saved?
- Making a [gallery] in a loop with attachment IDs?
- Display number of latest images from wordpress gallery in your homepage
- How can I attach a gallery to a post with a short code?
- How to dynamically insert in the image caption?
- WordPress Gallery not being output correctly/consistently
- Add #content to next_image_link()
- Remove curved edges from thumbnails in gallery (elementor)
- Change default values of Gallery Block settings
- WordPress WebSite is jumps while scrolling bottom [closed]
- Implementing Lightbox Photo Gallery in
- Add image to gallery with slug
- Gallery image caption inside link
- How to retrieve media images urls in different sizes?
- Why do the images only display in original size, not my custom size?
- WP Gallery showing captions twice
- Display Gallery Images from Custom Post Type
- zip download plugin works well in localhost but not on live site
- Image thumbnails slider
- How can we create a wallpapers gallery with different resolution?
- gallery shortcode exclude not working
- Slideshow with thumbnails
- Ipad app: Need uploaded images to go into “Gallery” as well as “Media Library”
- Can I create a NextGen gallery from a WordPress gallery
- is there a jcarousel plugin for wordpress that loads dynamic images
- Looking for WordPress Slideshow Gallery Plugin [closed]
- Making the caption & click through link more visible on a gallery photo
- How to automatic specify images in content added to gallery
- how do i can make a preview of image gallery
- Extract Gallery picture info from empty gallery shortcode
- How to create different gallery-types and let the editor choose between them?
- How can I disable Jetpack plugin on mobile?
- Page WYSWIG only allowing slides
- Gallery attachment not found
- How to refresh the Gallery images?
- Standard WordPress gallery – Possible to open image in page?
- next_image_link Displaying All Images Attac
- 3.9 Galleries & Thumbnails
- the_content() won’t load galleries on homepage
- Get raw image detail from post gallery?
- How to display images that was uploaded in the media gallery and not by the current post?
- How to show the image caption on custom post type …?
- Single Image Gallery Post [closed]
- Multiple Galleries in WordPress 3.3.1
- Get post image gallery link
- How to create a custom image gallery in the footer?
- Seeking recommendations on Gallery plugins , specifically captioning thumbnails [closed]
- Looking to implement a scrolling gallery in my theme
- Hover/Zoom on Lightbox gallery
- Need help making Gallery slideshow with lightbox work correctly
- How to upload multiple images per single post and display them in a gallery?
- Trouble with WordPress Gallery since update using has_block(‘gallery’