cancel
Showing results for 
Search instead for 
Did you mean: 

customize child themes css

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

customize child themes css

Hi, I bough themes come with the child-themes. I want to change the default description color like image below. from gray to black.Capture.JPG

 

 

I'm inspect with browser to change the color was fine, Capture2.JPG

 Capture.JPG

 

 

 

 

then i navigate to www/app/design/frontend/Sm/market-child/web/css/css-custom.css

i add 

 

/**
 * Custom CSS
 */
body {
  background-color: #ffffff;
  font-family: Open Sans;
  font-size: 12px;
  color: #000000;
 
}

 

then i do the 

magento setup:static-content:deploy -f 
magento cache:clean 
magento cache:flush

 

the result nothing change. 

 

Regards,

 

-totally newbie try hard to understand magento
2 REPLIES 2

bump

bump

-totally newbie try hard to understand magento

Re: customize child themes css


@razman_zainuldin wrote:

Hi, I bough themes come with the child-themes. I want to change the default description color like image below. from gray to black.Capture.JPG

 

 

I'm inspect with browser to change the color was fine, Capture2.JPG

 Capture.JPG

 

 

 

 

then i navigate to www/app/design/frontend/Sm/market-child/web/css/css-custom.css

i add 

 

/**
 * Custom CSS
 */
body {
  background-color: #ffffff;
  font-family: Open Sans;
  font-size: 12px;
  color: #000000;
 
}

 

then i do the 

magento setup:static-content:deploy -f 
magento cache:clean 
magento cache:flush

 

the result nothing change. 

 

Regards,

 


this link may be useful for u 

https://magento.stackexchange.com/questions/108685/how-to-add-a-custom-css-file-in-magento-2