0

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 '18 at 14:15
  • Should I make the modifications in my _theme.less? And what class or variable to override? – Vivek Ramasha Oct 18 '18 at 14:19
  • Yes or your css file – PЯINCƏ Oct 18 '18 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 Oct 18 '18 at 14:21
  • I dont know you code, your class name, inspect your code – PЯINCƏ Oct 18 '18 at 14:23
0

app/design/frontend/{Vendor}/{themename}/web/css/style.css

.classname {
    font-size:...;
}

Then run :

php bin/magento setup:static-content:deploy -f

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.