How can I move a block from homepage? I only know the identifier,it's "block-homepage", but when I search for "block-homepage" in the code I can't find anything .
1 Answer
Try looking into the default.xml file under your theme's layout folder. If it's there, you can remove it with the single line below.
<referenceBlock name="block-homepage" remove="true" />
Or maybe you're looking to a page created from the admin dashboard.
Goto Content -> Pages and look for your page. Select Edit from action menu you and check the Content section. You may see the block inside of the HTML code like below.
<div>{{block name="block-homepage" template="yourtemplate.phtml"}}</div>
-
I have searched all the code for block-homepage and didn't found anything Commented Jan 17, 2020 at 6:37
-
1I have found the block using your second suggestion, thank you! Commented Jan 17, 2020 at 7:23
-
1