Opened 5 years ago
Closed 5 years ago
#7843 closed defect (bug) (wontfix)
Caption box should not have extra 10px
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 2.6 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The div created when one insert an image with caption has the width of the image plus 10px for a padding effect. I think that the extra 10px should be removed and the padding be handled thought CSS, since it cause problems with custom templates.
Change History (1)
Note: See
TracTickets for help on using
tickets.
It's very easy to copy the function that parses the [caption] shortcode to the theme's functions.php and redefine all of the tags/settings, then use the filter 'img_caption_shortcode' to replace the default.