I am rendering a Catalog Products List Widget to my Homepage. The title of the Widget is getting displayed over the product list, but it's far too small for my liking. How can I change the font-size or font-family of that title?
-
You can simply do it via css– PЯINCƎOct 18, 2018 at 14:15
-
Should I make the modifications in my _theme.less? And what class or variable to override?– Vivek RamashaOct 18, 2018 at 14:19
-
Yes or your css file– PЯINCƎOct 18, 2018 at 14:20
-
Which class should I override to have the desired effect? I only want to change the font-size of a Widget title. Nothing else.– Vivek RamashaOct 18, 2018 at 14:21
-
I dont know you code, your class name, inspect your code– PЯINCƎOct 18, 2018 at 14:23
1 Answer
app/design/frontend/{Vendor}/{themename}/web/css/style.css
.classname {
font-size:...;
}
Then run :
php bin/magento setup:static-content:deploy -f