Module custom class

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
User avatar
Jaydot
Joomla! Guru
Joomla! Guru
Posts: 651
Joined: Sun Jun 04, 2017 12:11 pm
Location: The Netherlands
Contact:

Module custom class

Post by Jaydot » Mon Sep 27, 2021 1:04 pm

When I add a custom class to a module, it doesn't show up...
Cache is off, browser cache cleared, whatever I do, the custom class won't show.
I'm probably overlooking something (again!), but what??

Thanks,
j.
The fact that an opinion is widely held is no evidence whatsoever that it is not utterly absurd.
Personal website: https://jaydot.nl

User avatar
Pavel-ww
Joomla! Ace
Joomla! Ace
Posts: 1632
Joined: Tue Jun 30, 2020 12:17 pm

Re: Module custom class

Post by Pavel-ww » Mon Sep 27, 2021 1:43 pm

Jaydot wrote:
Mon Sep 27, 2021 1:04 pm
When I add a custom class to a module, it doesn't show up...
Cache is off, browser cache cleared, whatever I do, the custom class won't show.
I'm probably overlooking something (again!), but what??

Thanks,
j.
Hi. If we are talking about Cassiopea set module style to noCard.
1.jpg
I agree, not an obvious thing. And the lack of documentation for Cassiopea does not help :(
I myself searched for a reason for half a day.
You do not have the required permissions to view the files attached to this post.

User avatar
Jaydot
Joomla! Guru
Joomla! Guru
Posts: 651
Joined: Sun Jun 04, 2017 12:11 pm
Location: The Netherlands
Contact:

Re: Module custom class

Post by Jaydot » Mon Sep 27, 2021 2:15 pm

Pavel-ww wrote:
Mon Sep 27, 2021 1:43 pm
...about Cassiopea set module style to noCard...
I think it would have taken me much longer than half a day to find that :D .
Thanks very much.

Cassiopeia documentation would be really helpful. But then of course, someone would have to make the time to write it...
The fact that an opinion is widely held is no evidence whatsoever that it is not utterly absurd.
Personal website: https://jaydot.nl

User avatar
Jaydot
Joomla! Guru
Joomla! Guru
Posts: 651
Joined: Sun Jun 04, 2017 12:11 pm
Location: The Netherlands
Contact:

Re: Module custom class

Post by Jaydot » Tue Sep 28, 2021 3:35 pm

Pavel-ww wrote:
Mon Sep 27, 2021 1:43 pm
...about Cassiopea set module style to noCard...
And here's me again ;). Actually...

I've looked into this a bit further, and as far as I can tell, all the Module Styles retain a custom class, except "None" (and "Outline" - but that makes sense).

So I leaving the Style on the default "inherited" caused the problem, I think.
The fact that an opinion is widely held is no evidence whatsoever that it is not utterly absurd.
Personal website: https://jaydot.nl


Locked

Return to “General Questions/New to Joomla! 4.x”