Hello,
I am trying to change the default primary button color generated from Magento Luma (#1979c3), I have created a child theme and tried using our CSS file to change it.
.action.primary {
background: black;
}
This is not working, any suggestions?
We are running Magento 2.4.6p3 Open Source
Hello @sophiethomb8ce
After modifying the LESS file and adding CSS, it's important to remember to run the Magento deploy command to ensure that the changes are deployed successfully.
php bin/magento setup:static-content:deploy
Hope it helps !
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789