I have removed the CSS in default_head_blocks.xml
successfully like this:
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="css/test.css" />
<remove src="css/styles-m.css" />
<remove src="css/styles-l.css" media="screen and (min-width: 768px)"/>
<remove src="css/print.css" media="print" />
</head>
</page>
Now I made some changes on CSS. After I turn all back as it was before it shows me Lumina CSS and it also ignores changes I made in default.xml
. Before it works all, but now my changes in this Folder are ignored:
Theme > Magento_Theme > layout
I have no idea why