Posts: 23
Threads: 6
Joined: Apr 2013
29-Oct-2013, 03:56 AM
Good afternoon!
Prompt please
How to change the text size in comments?
Posts: 2,904
Threads: 59
Joined: Jun 2010
Hi,
It's in /comments/css/stylesheet.css
Code:
.cmtx_comment_text {
font-family: helvetica;
font-size: 0.8em;
}
Have
you completed
the interview?
Posts: 23
Threads: 6
Joined: Apr 2013
Thank you very much Steven!
Posts: 25
Threads: 8
Joined: Jul 2021
Good Afternoon!
Where do you change this in v4.2?
I've changed about every font-size: in stylesheet.css and nothing seems to change it. I've even tried adding it to a custom.css and that didn't work either.
Thanks.
Posts: 2,904
Threads: 59
Joined: Jun 2010
In v4.2 the correct styling to add is:
Code:
.cmtx_comment_area {
font-size: 1.2em;
}
Editing stylesheet.css won't make a difference if you have the 'Optimize' setting enabled in Extensions -> Themes. This is because that setting causes the script to serve a minified version (stylesheet.min.css).
Editing custom.css is the recommended way so that your changes are preserved the next time that you upgrade.
Have
you completed
the interview?
Posts: 25
Threads: 8
Joined: Jul 2021
Thanks for the quick response! But nope, tried that in custom.css and that didn't change anything either!
Now what to do?
Posts: 2,904
Threads: 59
Joined: Jun 2010
I can only help so much with customizations. You'll need to familiarize yourself with your web browser's Developer Tools to figure out whether your custom.css file isn't being loaded or your styling is being overridden etc.
Have
you completed
the interview?
Posts: 25
Threads: 8
Joined: Jul 2021
Yes, stylesheets were loading! After 12 hours spent fiddling & fuddling around, I discovered that I had to edit stylesheet.min.css.
All is well now!
Posts: 1
Threads: 0
Joined: Jul 2021
go in -> /frontend/view/default/stylesheet/css/stylesheet.min.css
look for -> .cmtx_container *
add -> font-size: 13px;
adjust the px you want