Modals

Description font-size

4 months 6 days ago #78045

Claudio Romeo's Avatar Claudio Romeo

The default font size of the description is too small.
The bootstrap.min.css:1 has this rule:

#cboxTitle .modals_description {
font-size: 0.7em;
font-weight: 400;
}

I inserted this one

#cboxTitle .modals_description {
font-size: 1em !important;
}

in my custom.css file, but nothing changed.
What can I do?

4 months 6 days ago #78049

Peter van Westen's Avatar Peter van Westen Admin

For more info about how elements get their styling, you can use the Element Inspector of your browser.

4 months 6 days ago #78050

Claudio Romeo's Avatar Claudio Romeo

Yes, and so I discovered the rule.
But, even if I changed it inserting the new rule in the custom.css file of my template, the font-size is still 0.7em.
Please, note that if I change the rule within the tool of Firefox, it works. If I insert it in my custom.css file, it does not.
So I don't now how to proceed.
Maybe can not I override the bootstrap.min.css file?
Option #2: Can I specify the font-size of the description withing the modals syntax?

PS: You can see the problem here: www.marcofioretti.it/blog/30-porte-blind...n-un-solo-gesto.html .

4 months 6 days ago #78051

Peter van Westen's Avatar Peter van Westen Admin

Your custom.css is full of errors.
First, the comment syntax is incorrect for css files.
Secondly, you are missing a closing '}' char under the 'Caption property' rule.

4 months 6 days ago #78052

Claudio Romeo's Avatar Claudio Romeo

Thanks, Peter.
The only error was the missing '}'. I apologize for having asked you something not related to your extension.
Now everything works well.
Thank you again.