I have a problem and as I am new to magento I decided to turn to you. I am editing the layout of some pages in magento 2, and there is a specific page created in the CMS by the content panel – Pages, which I need to change, and it is only on that page. I tried to find the XML and I think the correct XML must be cms_page_view but I can’t edit this xml. Can you help me please?
I tried to edit the xml id from cms_page_view to cms_page_view_id_9.xml, and copied the xml from cms_page_view and added the code I needed to add and it looked like this:
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="columns" label="Main Content Container" htmlTag="div" htmlClass="container px-0 container-alinhamento" htmlId="teste" />
<referenceContainer name="content">
<block class="MagentoCmsBlockPage" name="cms_page" />
</referenceContainer>
</body>
</page>
But it does not work. Can someone help me please?