Move static block on category pageMove custom block immediate after navMagento category layout update: Set “Position of attribute in layered navigation block”Magento 2: How to move category description to main columnCustom Category Page Layout Static Block to bottomMagento 2 checkout - move Shipping methods blockMagento2 move the block from right to left without removingMagento 2.2 how to move category title to above descriptionMagento 2 - Rearranging basic xml layoutMagento 2 - Move Block Not WorkingHow to duplicate category title and move description below product grid

Why did Varys remove his rings?

How to continually let my readers know what time it is in my story, in an organic way?

What information exactly does an instruction cache store?

Does addError() work outside of triggers?

Will consteval functions allow template parameters dependent on function arguments?

Why would someone open a Netflix account using my Gmail address?

Do people who work at research institutes consider themselves "academics"?

Were any toxic metals used in the International Space Station?

Why did the metro bus stop at each railway crossing, despite no warning indicating a train was coming?

Assembly writer vs compiler

Why doesn't Iron Man's action affect this person in Endgame?

Does the wearer know what items are in which patch in the Robe of Useful items?

Does the Rogue's Reliable Talent feature work for thieves' tools, since the rogue is proficient in them?

Do high-wing aircraft represent more difficult engineering challenges than low-wing aircraft?

Given 0s on Assignments with suspected and dismissed cheating?

Wireless headphones interfere with Wi-Fi signal on laptop

Can I say: "When was your train leaving?" if the train leaves in the future?

My bread in my bread maker rises and then falls down just after cooking starts

Will the volt, ampere, ohm or other electrical units change on May 20th, 2019?

c++ conditional uni-directional iterator

Why is the Advance Variation considered strong vs the Caro-Kann but not vs the Scandinavian?

Why are lawsuits between the President and Congress not automatically sent to the Supreme Court

What was Varys trying to do at the beginning of S08E05?

Why would company (decision makers) wait for someone to retire, rather than lay them off, when their role is no longer needed?



Move static block on category page


Move custom block immediate after navMagento category layout update: Set “Position of attribute in layered navigation block”Magento 2: How to move category description to main columnCustom Category Page Layout Static Block to bottomMagento 2 checkout - move Shipping methods blockMagento2 move the block from right to left without removingMagento 2.2 how to move category title to above descriptionMagento 2 - Rearranging basic xml layoutMagento 2 - Move Block Not WorkingHow to duplicate category title and move description below product grid






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm trying to have 2 pieces of static content on a category page. One directly beneath the category title and another below the product listings. I notice Categories have a "description" and support a static block, so my plan is to use "description" for one section of text and a static block for the other.



The problem I'm having is moving the static block with a layout update. What I'm doing is using the identifier of the static block and a layout update like this:



<move element="test-category-block" destination="content" after="-"/>



However the static block is not moving. Any idea why not?










share|improve this question




























    0















    I'm trying to have 2 pieces of static content on a category page. One directly beneath the category title and another below the product listings. I notice Categories have a "description" and support a static block, so my plan is to use "description" for one section of text and a static block for the other.



    The problem I'm having is moving the static block with a layout update. What I'm doing is using the identifier of the static block and a layout update like this:



    <move element="test-category-block" destination="content" after="-"/>



    However the static block is not moving. Any idea why not?










    share|improve this question
























      0












      0








      0








      I'm trying to have 2 pieces of static content on a category page. One directly beneath the category title and another below the product listings. I notice Categories have a "description" and support a static block, so my plan is to use "description" for one section of text and a static block for the other.



      The problem I'm having is moving the static block with a layout update. What I'm doing is using the identifier of the static block and a layout update like this:



      <move element="test-category-block" destination="content" after="-"/>



      However the static block is not moving. Any idea why not?










      share|improve this question














      I'm trying to have 2 pieces of static content on a category page. One directly beneath the category title and another below the product listings. I notice Categories have a "description" and support a static block, so my plan is to use "description" for one section of text and a static block for the other.



      The problem I'm having is moving the static block with a layout update. What I'm doing is using the identifier of the static block and a layout update like this:



      <move element="test-category-block" destination="content" after="-"/>



      However the static block is not moving. Any idea why not?







      magento2 layout category






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 10 at 16:44









      quickshiftinquickshiftin

      9831025




      9831025




















          1 Answer
          1






          active

          oldest

          votes


















          0














          I looked at the base catalog_category_view.xml file in vendor/magento/module-catalog/view/frontend/layout/catalog_category_view.xml:



          <referenceContainer name="columns.top">
          <container name="category.view.container" htmlTag="div" htmlClass="category-view" after="-">
          <block class="MagentoCatalogBlockCategoryView" name="category.image" template="Magento_Catalog::category/image.phtml"/>
          <block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml"/>
          <block class="MagentoCatalogBlockCategoryView" name="category.cms" template="Magento_Catalog::category/cms.phtml"/>
          </container>
          </referenceContainer>


          In accordance with that, changing the layout update from the identifier of the static block to category.cms solved it.






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f274207%2fmove-static-block-on-category-page%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I looked at the base catalog_category_view.xml file in vendor/magento/module-catalog/view/frontend/layout/catalog_category_view.xml:



            <referenceContainer name="columns.top">
            <container name="category.view.container" htmlTag="div" htmlClass="category-view" after="-">
            <block class="MagentoCatalogBlockCategoryView" name="category.image" template="Magento_Catalog::category/image.phtml"/>
            <block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml"/>
            <block class="MagentoCatalogBlockCategoryView" name="category.cms" template="Magento_Catalog::category/cms.phtml"/>
            </container>
            </referenceContainer>


            In accordance with that, changing the layout update from the identifier of the static block to category.cms solved it.






            share|improve this answer



























              0














              I looked at the base catalog_category_view.xml file in vendor/magento/module-catalog/view/frontend/layout/catalog_category_view.xml:



              <referenceContainer name="columns.top">
              <container name="category.view.container" htmlTag="div" htmlClass="category-view" after="-">
              <block class="MagentoCatalogBlockCategoryView" name="category.image" template="Magento_Catalog::category/image.phtml"/>
              <block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml"/>
              <block class="MagentoCatalogBlockCategoryView" name="category.cms" template="Magento_Catalog::category/cms.phtml"/>
              </container>
              </referenceContainer>


              In accordance with that, changing the layout update from the identifier of the static block to category.cms solved it.






              share|improve this answer

























                0












                0








                0







                I looked at the base catalog_category_view.xml file in vendor/magento/module-catalog/view/frontend/layout/catalog_category_view.xml:



                <referenceContainer name="columns.top">
                <container name="category.view.container" htmlTag="div" htmlClass="category-view" after="-">
                <block class="MagentoCatalogBlockCategoryView" name="category.image" template="Magento_Catalog::category/image.phtml"/>
                <block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml"/>
                <block class="MagentoCatalogBlockCategoryView" name="category.cms" template="Magento_Catalog::category/cms.phtml"/>
                </container>
                </referenceContainer>


                In accordance with that, changing the layout update from the identifier of the static block to category.cms solved it.






                share|improve this answer













                I looked at the base catalog_category_view.xml file in vendor/magento/module-catalog/view/frontend/layout/catalog_category_view.xml:



                <referenceContainer name="columns.top">
                <container name="category.view.container" htmlTag="div" htmlClass="category-view" after="-">
                <block class="MagentoCatalogBlockCategoryView" name="category.image" template="Magento_Catalog::category/image.phtml"/>
                <block class="MagentoCatalogBlockCategoryView" name="category.description" template="Magento_Catalog::category/description.phtml"/>
                <block class="MagentoCatalogBlockCategoryView" name="category.cms" template="Magento_Catalog::category/cms.phtml"/>
                </container>
                </referenceContainer>


                In accordance with that, changing the layout update from the identifier of the static block to category.cms solved it.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 10 at 19:39









                quickshiftinquickshiftin

                9831025




                9831025



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f274207%2fmove-static-block-on-category-page%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form