User tests: Successful: Unsuccessful:
Pull Request for Issue #46582 .
If a user defines an own image-class for intro_image or full_image, it is now set before the module classes.
see #46582
In an article, add a into or full-image and add an image-class, for example "border border-dark".
Make a module mod_articles where this article is included. Then inspect the code of the image in this module.
The user defined image-class "border border-dark" is ignored.
The user defined image-class "border border-dark" is accepted.
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Modules Front End |
| Title |
|
||||||
I have tested this item ✅ successfully on 2b45a68
I have successfully tested this PR - helps when you don't miss a step (thanks @brianteeman).
THANK YOU @chmst for yet another fix ;) Happy Holidays!
I have tested this item ✅ successfully on 2b45a68
| Status | Pending | ⇒ | Ready to Commit |
| Labels |
Added:
bug
PR-5.4-dev
|
||
RTC
| Labels |
Added:
RTC
|
||
✅ Final test before merge with JBT
gh pr checkout 46619| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-01-08 13:12:52 |
| Closed_By | ⇒ | muhme |
Thank you @chmst for your contribution. Thank you @brianteeman for support. Thank you @exlemor and @tecpromotion for testing.
Hi @chmst, I could be doing something wrong but I'm not matching the BEFORE condition (or I misunderstood it)
I took a sample multilingual joomla 5.4 nightly installation and added to 'Article (en-gb)' the Banners Sky image as Intro image and set the class 'border border-dark', saved and added to the user.css this css rule: .border.border-dark {width:50%;} and then went to the front-end (cleared cache) and the CSS was accepted/handled, the image is 50% width... what did I miss?