Hot answers tagged

2

Firstly remove title block from your custom frontend/layout/catalog_category_view.xml <referenceBlock name="page.main.title" remove="true" /> Then this is the file from where you can inject title block vendor/magento/module-catalog/view/frontend/templates/product/list/toolbar.phtml make sure to override the file. Title block is called something like ...


1

For this you have to add class using xml file and add background images using css file. Step 1: app/code/VendorName/ModuleName/view/frontend/layout/default.xml My Account account link Step 2: app/code/VendorName/ModuleName/view/frontend/web/css/...


1

You have to pass an arguments in default.xml for add class in account link: <block class="Magento\Customer\Block\Account\Link" name="my-account-link"> <arguments> <argument name="label" xsi:type="string" translate="true">My Account</argument> <argument name="class" xsi:type="string" translate="true">custom-...


Only top voted, non community-wiki answers of a minimum length are eligible