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

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

                    Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

                    Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?