You’re going to want to use:
@media (max-width: 988px){
.wp-caption {
/* Force the box to be 100% */
width: 100% !important;
}
#content .wp-caption a img {
/* Scale down if too big */
max-width: 99.03225806%; /* 614/620 */
height: auto;
}
}
Related Posts:
- Responsive Theme Design: how have slideshow on desktops/tablets and static photo on mobile using same template?
- How to get attachment id of background image?
- Pb with responsive image sizes in WP 4.4
- Change function in responsive theme
- $content_width for responsive UI
- How do I make featured images retreived by the_post_thumbnail() responsive?
- GIF featured image is resized on server but not used in frontend. Why?
- Responsive 2 column staggered layout client expectations vs reality problem
- Responsive Video Max-width
- Removing height and width from images with a caption
- How to force the twentyfourteen narrow screen layout to apply to wide screens?
- twentythirteen h1 and h2 not resizing responsively
- YouTube video goes over sidebar [closed]
- Wp_List_Table not responsive
- mobile vs responsive sites [closed]
- Responsive Theme Design: how have slideshow on desktops/tablets and static photo on mobile using same template?
- responsive not working
- I want to add “View Desktop Version” for mobile visitors for my wordpress site
- Navigation Menu Rendering Issue on Windows 10
- Header Logo Scaling
- nextgen pro horizontal filmstrip moves up as browser narrows
- The hyperlink not responsive with post? [closed]
- Create various image sizes ad hoc
- Trouble with responsivitizing my twentythirteen header
- site is loading fully zoomed in on mobile devices
- Show content based on width?
- making images scalable for responsive designs [closed]
- Is Twenty Eleven Theme Responsive ? any update? [closed]
- How I can add responsive font size in theme.json file
- Proper usage of wp_is_mobile()?
- Text editor on WP caption [closed]
- WordPress Gutenberg Embed Blocks Are Not Responsive
- WP 4.4. responsive loads normal image after loading the responsive image
- Why is wp_get_attachment_image_src returning wrong dimensions? [duplicate]
- Implementing Zurb’s Interchange Into WordPress
- Remove image caption from post excerpt
- How I can get image description/title/alt for gallery image?
- WP 4.4 aspect ratio with responsive image
- WordPress core responsive video not working with shortcode
- Benefits of storing uploads in an assets folder?
- Change theme based on window size
- Run shortcode at certain resolution
- Nested Shortcode Inside [caption] Doesn’t Process
- Drag images with caption in WP editor
- Responsive background images added inline
- How to switch css files according to devices and button click?
- Manipulate Output of wp_list_something: select menu instead of li’s
- What controls responsiveness in WordPress?
- PHP code to call image Caption, Alternative Text, and Decription?
- Getting Featured Image Caption to Only Show if Populated
- Convert WP Menu to a Drop Down for Mobile browser
- How to add ‘data-caption’ inside an anchor tag
- Captions for More Fields groups, not just individual fields
- Why does my caroussel gallery do this in responsive? [CSS] [closed]
- Move Image Captions Inside Link ( tag) if Added
- Twenty fifteen theme – change responsive menu condition
- Display Authors in a grid loop
- Responsive menu gone on wordpress Responsive theme
- Way to add captions to gallery images by code
- Change Responsive Images Maximum Width of 1600px
- Custom responsive ‘featured image’ sizes
- How to load different homepage on Mobile.?
- How to stop WordPress from completely overriding my tags in my templates?
- the_content not showing responsive image attributes srcset or sizes
- Different column width in 2 rows with bootstrap and custom post types-different classes needed
- Define width of featured image thumbnails, but also make responsive?
- Change Image Sizes for Mobile Theme
- Remove wp-caption but still show the image
- Display a post attachment depending on the caption
- Twenty Eleven Theme Adjusts for iPhones. How to stop this feature?
- add image caption
- Place image caption outside of figure tag (Gutenburg Image Markup)
- is there a way to preload specific images for desktop users only? (excluding mobile users)
- How to join Caption AND Description Meta Fields as one combined-caption in Image Block
- Responsive header image
- Cannot collapse a responsive menu in WordPress
- Disable Responsive Image Sizes crop
- Shortcode function not showing up on mobile browser
- How to make in wordpress a gallery with 3 colums to 1 on mobile devices responsive?
- WordPress 5: including larger thumbnail image sizes in srcset than I have set
- Disable rendering of objects on mobile/above certain screen resolution
- New Styles Not Rendering On Mobile Phone and Tablet
- Decide how Hero image appears on mobile
- Responsive images with srcset
- built-in responsive images in content – do I need to add anything to functions.php?
- Sidebar widgets are over the content in mobile mode, how can I fix it? [closed]
- How to always add caption element to images – even if empty?
- Automatically Add Caption Shortcode to Image with Caption Field Filled In
- page displaying media caption shortcodes
- Dynamically adding Captions to images
- How to add a credit line to a photo caption
- Problems Replacing Background Color with Static Background Image in Responsive Design
- Seeking recommendations on Gallery plugins , specifically captioning thumbnails [closed]
- Change featured thumbnail based on screen size
- Generate / attach Image srcsets from ACF Image Field
- How to display featured image caption only if exists?
- CSS how to target the caption of one individual image?
- WordPress site is not loading properly ( showing a min-page)
- Permission to edit media files (photo captions, alt tags)
- wp_get_attachment_image with custom size not rendering possible 2x srcset image