0

can anyone help me how to change the font and color of the product title? I don't have any theme? just installed the default Magento 2 product page

2
  • which theme you are using Nov 28, 2017 at 6:27
  • @Gowthaman i am using default magento luma theme only i didn't install any theme Nov 28, 2017 at 6:37

1 Answer 1

0

Under

/public_html/app/design/frontend/vendor/theme/Magento_Theme/web/css/source

you create a file called:_extend.less

add this code beneath it:

.base{
color: #ffffff ;
font-family: "Times New Roman", Times, serif;
}

Adjust the color and font to the ones you want and you should be good to go.

4
  • thanks @thomas meier i will check and get back to u thanks for your reply Nov 28, 2017 at 9:15
  • hi thomas i tried but it's not effecting Nov 28, 2017 at 11:49
  • i have deployed in pub folder also my changes are avilable Nov 28, 2017 at 12:00
  • Can you post the filepath you used to implement the file? Also did you clear cache and deploy static content? Nov 28, 2017 at 13:06

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.