Help Center

Powered by Minitek FAQ Book

Class suffix

A
AlbertPosted 6 months ago
Joomla! Extensions - Professional Subscription

Good day!
When creating the widget, I set the `Class suffix` parameter to `myclass`
How do I change the CSS file to change the appearance of the widget

Loading...
0
#3404

5 answers

M
MinitekPosted 6 months agoModerator

You can prepend your suffix to a css rule in order to override it. For example, if the original css rule is:

.mwall-big .mwall-item-inner h3.mwall-title a {
  font-size: 20px;
}

then you can override it with

.myclass .mwall-big .mwall-item-inner h3.mwall-title a {
  font-size: 22px;
}
A
AlbertPosted 6 months ago

Thank you very much.

Please tell me the next question. You have a description in the help about how to rewrite the current template Masonry. And how to create another template so that it can be applied to only one widget.

M
MinitekPosted 6 months agoModerator

You can find instructions for creating a template override at

https://www.minitek.gr/support/documentation/joomla/minitek-wall/widgets/template-overrides

A
AlbertPosted 6 months ago

I did according to the instructions. Everything worked out exactly what I wanted to do. thanks for the help

M
MinitekPosted 6 months agoModerator

You're welcome.