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?
asked Oct 18, 2018 at 14:09
-
You can simply do it via cssPЯINCƎ– PЯINCƎ ♦2018年10月18日 14:15:24 +00:00Commented Oct 18, 2018 at 14:15
-
Should I make the modifications in my _theme.less? And what class or variable to override?Vivek Ramasha– Vivek Ramasha2018年10月18日 14:19:00 +00:00Commented Oct 18, 2018 at 14:19
-
Yes or your css filePЯINCƎ– PЯINCƎ ♦2018年10月18日 14:20:36 +00:00Commented 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 Ramasha– Vivek Ramasha2018年10月18日 14:21:37 +00:00Commented Oct 18, 2018 at 14:21
-
I dont know you code, your class name, inspect your codePЯINCƎ– PЯINCƎ ♦2018年10月18日 14:23:21 +00:00Commented Oct 18, 2018 at 14:23
1 Answer 1
app/design/frontend/{Vendor}/{themename}/web/css/style.css
.classname {
font-size:...;
}
Then run :
php bin/magento setup:static-content:deploy -f
answered Oct 18, 2018 at 14:22
default