Showing results for 
Search instead for 
Did you mean: 

Layout xml in third party theme

Layout xml in third party theme


I am a beginner in Magento 2.

I installed a third party theme, in the home page, I founded this code on Layout Update XML field

<referenceContainer name="slide.showcase">
            <block class="Magento\Cms\Block\Block" name="home-slide15">
                    <argument name="block_id" xsi:type="string">home-slide15</argument>

I don't want this block to be displayed  in the home page, so I tried to change the Block identifier "home-slide15" to my new block. and then I saved the home page. But I noticed that the code above remains as it is without any changes and the block identifier never changed. why!


Actually I am not familiar with Magento 2, I wanted to add some new block to the home page. 

please help.


Re: Layout xml in third party theme

If you don't want this block then you can use 

<referenceBlock name="block_name" remove="true"/>

for example

<?xml version="1.0"?>
<page layout="1column" xmlns:xsi=""
        <referenceBlock name="block_name" remove="true"/>

Re: Layout xml in third party theme

Where can I add this line , in which file?