Hello I am new to magento2 I am trying to add custom css in my project, but it is not reflecting.
I have included the file in default_head_block.xml also the current application mode is on development.
Help appreciated
-
you should look at this post : magento.stackexchange.com/a/108690/13859viCky– viCky2017-06-28 10:23:51 +00:00Commented Jun 28, 2017 at 10:23
-
It is about creating custom theme, what if I have to add only a css file @viCkyraw_hitt– raw_hitt2017-06-28 10:31:37 +00:00Commented Jun 28, 2017 at 10:31
-
yes, creating the custom theme will allow you to add your css file. You do not need to add anything else or change anything else.viCky– viCky2017-06-28 10:39:22 +00:00Commented Jun 28, 2017 at 10:39
-
it worked thank you @viCkyraw_hitt– raw_hitt2017-07-06 12:12:26 +00:00Commented Jul 6, 2017 at 12:12
-
1I created a custom theme and as given in the link magento.stackexchange.com/a/108690/13859 and included the css file in blank/magento_theme/layout/default_head_blocks.xml fileraw_hitt– raw_hitt2017-07-06 12:18:50 +00:00Commented Jul 6, 2017 at 12:18
|
Show 2 more comments