I'm trying to create a different layout for non anchor category pages in Magento 2.3 (1 column, big masthead category image, move page title and breadcrumbs down). Where should I put these changes so anchor category pages stay as they are (showing products & 2columns-left, content not moved around).

I've put the changes in; catalog_category_view.xml

Also works in; catalog_category_view_type_default.xml

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <move element="breadcrumbs" destination="category.view.container" before="category.cms" />
    <move element="page.main.title" destination="category.view.container" before="category.description" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.