[wp-trac] [WordPress Trac] #52968: Bootstrap 5 img-fluid and image caption conflict
WordPress Trac
noreply at wordpress.org
Sun Apr 4 22:58:21 UTC 2021
#52968: Bootstrap 5 img-fluid and image caption conflict
-------------------------------------+-------------------------------------
Reporter: jeyhuno | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.7
Severity: normal | Keywords: needs-testing needs-
Focuses: ui, css, | patch
administration, template |
-------------------------------------+-------------------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52968>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list