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?

5
  • You can simply do it via css
    – PЯINCƎ
    Commented Oct 18, 2018 at 14:15
  • Should I make the modifications in my _theme.less? And what class or variable to override? Commented Oct 18, 2018 at 14:19
  • Yes or your css file
    – PЯINCƎ
    Commented 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. Commented Oct 18, 2018 at 14:21
  • I dont know you code, your class name, inspect your code
    – PЯINCƎ
    Commented Oct 18, 2018 at 14:23

1 Answer 1

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 and acknowledge you have read our privacy policy.

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