I had installed Magento 2.0.2
and also override the templates I am stuck on a point that where do i write my css for my own styling. How do i change the css of existing template.
i have done these steps
create _theme.less
app/design/frontend/vendor/theme/web/source/_theme.less
and deploy the content by using
php bin/magento setup:static-content:deploy
also change the Front-end development workflow into client side less compilation and i found the styles.css
file included at backend which source was
pub/media/styles.css
if i make changes in styles.css
then it will apply on frontend and backend both.
now i want to write my own css to apply my own created theme how can i do that?
thanks alot!
app/design/frontend/vendor/theme/Magento_Theme/layout/default_head_blocks.xml
add your custom theme and try to make changes there.
<head>
<css src="css/style.css" />
</head>