WordPress.org

Make WordPress Core

Opened 6 weeks ago

Last modified 5 weeks ago

#52968 new defect (bug)

Bootstrap 5 img-fluid and image caption conflict

Reported by: jeyhuno Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.7
Component: Media Keywords: needs-testing needs-patch
Focuses: ui, css, administration, template Cc:

Description

Hello,

I am using Bootstrap version 5 with WordPress. When I try to add captions to image which is uploaded to post it conflicts with img CSS class "img-fluid". Adding caption adds parent container to the img and this changes normal img-fluid behavior. After removing the captions img-fluid behaves normal.

Change History (2)

#1 @ravipatel
6 weeks ago

@jeyhuno Please attach some screensho easy to get idea.

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


5 weeks ago

Note: See TracTickets for help on using tickets.