現在、クライアントのためにMagento 2サイトに取り組んでいます。私のクライアントのブランドがboofarあり、拡張/上書きしようとしているテーマがfoobar私が使用して親テーマとして設定したと仮定しますfrontend/Foobarthemes/boofar/theme.xml
<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
<title>Boofar</title>
<parent>Foobarthemes/foobar1</parent>
<media>
    <preview_image>media/preview.jpg</preview_image>
</media>次にfrontend/Foobarthemes/boofar/web/css/source/_theme.less、オーバーライドするCSSコードを記述しました。これもで試しました_extend.less。
.magicmenu {
  .home {
    display: none !important;
  }
  .nav-desktop .level0 .level-top > span {
    font-size: 12px;
    font-weight: normal;
    text-transformation: none;
  }
}私は!importantここで働くために何でも使うことを強いられます。上記のコードでは、フォントやテキストは機能しません。
Magento 2のフロントエンドワークフローを正しく理解していませんか?