We sacrifice by not doing any other technology, so that you get the best of Magento.

We sacrifice by not doing any other technology, so that you get the best of Magento.

    If you want to set a different look for a specific category, then you can make new layout for that category like below.

    First you need to create new file under your theme Magento_Cataloglayoutcatalog_category_view_id_{{id of category}}.xml

    then you can move and add your block which you need to require like below

    <?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" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceContainer name="columns.top">
    <container name="category.view.custom" htmlTag="div" htmlClass="newconwrap" after="-"/>
    </referenceContainer>
    <move element="category.image" destination="category.view.custom" before="-"/>
    <move element="category.view.container" destination="category.view.custom"/>
    </body>
    </page>

    Note: I have tried this way with Magento 2.4.3

    Fill the below form if you need any Magento relate help/advise/consulting.

    With Only Agency that provides a 24/7 emergency support.

      Get a Free Quote