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
- How to get WordPress Dataviews component responsive?
- Media queries in Sass
- Full width image in separated row on wordpress (Ref attacted)
- How do I disable responsive images in WP 4.4?
- Proper usage of wp_is_mobile()?
- Get Image Description
- WP 4.4. responsive images browser choosing the “wrong” one
- the_post_thumbnail responsive srcset not populating with custom image size
- How to insert pictures without hard coded dimensions?
- Multi user site and image captions
- Create image formats with different qualities when uploading
- How to have different captions for same image, for galleries?
- How-to make the admin area mobile friendly [closed]
- How can I set image sizes and still have responsive images using the srcset attribute?
- Featured image shortcode
- Images all broken after migration and upgrade
- Are captions stored anywhere?
- Text editor on WP caption [closed]
- WordPress Gutenberg Embed Blocks Are Not Responsive
- How-to add rewrite rules to point the uploads folder to a subdomain
- How to remove a empty in wp caption shortcode?
- Responsive Images
- WP 4.4. responsive loads normal image after loading the responsive image
- Why is wp_get_attachment_image_src returning wrong dimensions? [duplicate]
- the_post_thumbnail scaling not hard cropping
- How to wrap WordPress image captions inside H2, H3 tags?
- Excess White Space Above Admin Bar on Frontend Using Twitter Bootstrap
- Making WordPress Gallery (.gallery-item) Responsive?
- Implementing Zurb’s Interchange Into WordPress
- Remove image caption from post excerpt
- How I can get image description/title/alt for gallery image?
- Using FlexNav with WordPress [closed]
- Featured Image in 4.4 should be larger on mobile device
- WP 4.4 aspect ratio with responsive image
- Is there a way to define a default caption to all uploaded images
- How to use the responsive images feature from WP 4.4 in your themes
- WordPress core responsive video not working with shortcode
- How to oEmbed from custom field, responsive to container size and responsive
- How to add a link in a image’s caption?
- Generating Responsive Background Image Sizes in PHP
- Alter media caption/description conflict in WordPress?
- How can I serve different images depending on screen size with wordpress
- Benefits of storing uploads in an assets folder?
- Multi-line captions on attachments
- How to display a shortcode caption somewhere other than the_content
- Caption in Page adding unwanted 10px to width
- Don’t load scripts if on mobile/tablet
- How to limit post content and remove image caption from it
- Change theme based on window size
- Run shortcode at certain resolution
- Nested Shortcode Inside [caption] Doesn’t Process
- Trying to load a responsive CSS media query using Custom Taxonmy
- Two column layout using Bootstrap [closed]
- Update caption for metabox gallery images
- How to show post format gallery metabox image caption in the post front end
- Get image captions for images on gallery post format metabox
- Get post embedded image caption
- How can I make new .css file in child theme override styles in child theme’s style.css
- Adjust image caption within visal editor
- How to Make WordPress Default gallery responsive on mobile?
- wordpress responsive image srcset not working
- Drag images with caption in WP editor
- Responsive background images added inline
- How can i disable a plugin for a mobile phone?
- Responsive Images – Add srcset attributes to custom Images Function
- Add extra class to wp-caption?
- Get a list of all image sizes that match aspect ratio of original one
- Different captions for the same image in multiple galleries. Edit Image in Gallery locally
- wp_get_attachment_caption to pull Image Caption or alt
- How can I make wp default gallery responsive?
- Adding a video description in a similar way to a image caption