Changing block location based on size?Append block to admin login formAdding a block to a specific locationChanging catalog/product_list Block TemplateMove Module block to new locationHow to move a block from content to custom locationHow to change category location block in magento 1.8?Changing the background colour of Magento 2 based on LumaMagento2.3 product pages size imagesChange location of breadcrumb in magento 2?Add CMS block to bottom of each product list

Should the Death Curse affect an undead PC in the Tomb of Annihilation adventure?

Why do games have consumables?

Is Diceware more secure than a long passphrase?

Contradiction proof for inequality of P and NP?

Was there a Viking Exchange as well as a Columbian one?

Does Gita support doctrine of eternal samsara?

"You've called the wrong number" or "You called the wrong number"

Alignment of various blocks in tikz

"The cow" OR "a cow" OR "cows" in this context

How to not starve gigantic beasts

A strange hotel

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

How to have a sharp product image?

555 timer FM transmitter

Aliens crash on Earth and go into stasis to wait for technology to fix their ship

Which big number is bigger?

acheter à, to mean both "from" and "for"?

Does tea made with boiling water cool faster than tea made with boiled (but still hot) water?

"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?

What is the philosophical significance of speech acts/implicature?

Why did C use the -> operator instead of reusing the . operator?

What's the name of these pliers?

How to denote matrix elements succinctly?



Changing block location based on size?


Append block to admin login formAdding a block to a specific locationChanging catalog/product_list Block TemplateMove Module block to new locationHow to move a block from content to custom locationHow to change category location block in magento 1.8?Changing the background colour of Magento 2 based on LumaMagento2.3 product pages size imagesChange location of breadcrumb in magento 2?Add CMS block to bottom of each product list






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








1















I want to have a block (contains a image and some text, nothing overly fancy) appear on the top of the products in a category page when it is on desktop, then on mobile I want it to be on the bottom of the products in the category page. I have figured out that how to put the block on the top with this XML:



<referenceContainer name="category.product.list.additional">
<block class="MagentoCmsBlockBlock" name="cat_arista">
<arguments>
<argument name="block_id" xsi:type="string">cat_arista</argument>
</arguments>
</block>
</referenceContainer>




But how would I adjust this to show up on the bottom for mobile? I was thinking another layout update call, but I'm not sure if that will lead to it showing up twice. I am using Magento 2, and the pearl theme.



Edit:



I don't know what container would be the bottom the of the product list. I am using this list from github, but I'm not sure which one to use.



I also don't think that I can do any css magic because it still will show up in both places?










share|improve this question
























  • were you able to show it at the bottom? If so, I think you can play it with your custom css

    – magefms
    Apr 22 at 20:06











  • Hmmm and have something like if it's desktop don't show the bottom one and vice versa?

    – Morgan Smith
    Apr 22 at 20:13






  • 1





    yeah exactly. maybe not a Magento standard but I think it will do what you want.

    – magefms
    Apr 22 at 20:16






  • 1





    Thanks, I'll try that then update the question!

    – Morgan Smith
    Apr 22 at 20:18











  • Updated the question

    – Morgan Smith
    Apr 23 at 14:40

















1















I want to have a block (contains a image and some text, nothing overly fancy) appear on the top of the products in a category page when it is on desktop, then on mobile I want it to be on the bottom of the products in the category page. I have figured out that how to put the block on the top with this XML:



<referenceContainer name="category.product.list.additional">
<block class="MagentoCmsBlockBlock" name="cat_arista">
<arguments>
<argument name="block_id" xsi:type="string">cat_arista</argument>
</arguments>
</block>
</referenceContainer>




But how would I adjust this to show up on the bottom for mobile? I was thinking another layout update call, but I'm not sure if that will lead to it showing up twice. I am using Magento 2, and the pearl theme.



Edit:



I don't know what container would be the bottom the of the product list. I am using this list from github, but I'm not sure which one to use.



I also don't think that I can do any css magic because it still will show up in both places?










share|improve this question
























  • were you able to show it at the bottom? If so, I think you can play it with your custom css

    – magefms
    Apr 22 at 20:06











  • Hmmm and have something like if it's desktop don't show the bottom one and vice versa?

    – Morgan Smith
    Apr 22 at 20:13






  • 1





    yeah exactly. maybe not a Magento standard but I think it will do what you want.

    – magefms
    Apr 22 at 20:16






  • 1





    Thanks, I'll try that then update the question!

    – Morgan Smith
    Apr 22 at 20:18











  • Updated the question

    – Morgan Smith
    Apr 23 at 14:40













1












1








1








I want to have a block (contains a image and some text, nothing overly fancy) appear on the top of the products in a category page when it is on desktop, then on mobile I want it to be on the bottom of the products in the category page. I have figured out that how to put the block on the top with this XML:



<referenceContainer name="category.product.list.additional">
<block class="MagentoCmsBlockBlock" name="cat_arista">
<arguments>
<argument name="block_id" xsi:type="string">cat_arista</argument>
</arguments>
</block>
</referenceContainer>




But how would I adjust this to show up on the bottom for mobile? I was thinking another layout update call, but I'm not sure if that will lead to it showing up twice. I am using Magento 2, and the pearl theme.



Edit:



I don't know what container would be the bottom the of the product list. I am using this list from github, but I'm not sure which one to use.



I also don't think that I can do any css magic because it still will show up in both places?










share|improve this question
















I want to have a block (contains a image and some text, nothing overly fancy) appear on the top of the products in a category page when it is on desktop, then on mobile I want it to be on the bottom of the products in the category page. I have figured out that how to put the block on the top with this XML:



<referenceContainer name="category.product.list.additional">
<block class="MagentoCmsBlockBlock" name="cat_arista">
<arguments>
<argument name="block_id" xsi:type="string">cat_arista</argument>
</arguments>
</block>
</referenceContainer>




But how would I adjust this to show up on the bottom for mobile? I was thinking another layout update call, but I'm not sure if that will lead to it showing up twice. I am using Magento 2, and the pearl theme.



Edit:



I don't know what container would be the bottom the of the product list. I am using this list from github, but I'm not sure which one to use.



I also don't think that I can do any css magic because it still will show up in both places?







layout magento2.3 category-products






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 23 at 14:38







Morgan Smith

















asked Apr 22 at 19:58









Morgan SmithMorgan Smith

7610




7610












  • were you able to show it at the bottom? If so, I think you can play it with your custom css

    – magefms
    Apr 22 at 20:06











  • Hmmm and have something like if it's desktop don't show the bottom one and vice versa?

    – Morgan Smith
    Apr 22 at 20:13






  • 1





    yeah exactly. maybe not a Magento standard but I think it will do what you want.

    – magefms
    Apr 22 at 20:16






  • 1





    Thanks, I'll try that then update the question!

    – Morgan Smith
    Apr 22 at 20:18











  • Updated the question

    – Morgan Smith
    Apr 23 at 14:40

















  • were you able to show it at the bottom? If so, I think you can play it with your custom css

    – magefms
    Apr 22 at 20:06











  • Hmmm and have something like if it's desktop don't show the bottom one and vice versa?

    – Morgan Smith
    Apr 22 at 20:13






  • 1





    yeah exactly. maybe not a Magento standard but I think it will do what you want.

    – magefms
    Apr 22 at 20:16






  • 1





    Thanks, I'll try that then update the question!

    – Morgan Smith
    Apr 22 at 20:18











  • Updated the question

    – Morgan Smith
    Apr 23 at 14:40
















were you able to show it at the bottom? If so, I think you can play it with your custom css

– magefms
Apr 22 at 20:06





were you able to show it at the bottom? If so, I think you can play it with your custom css

– magefms
Apr 22 at 20:06













Hmmm and have something like if it's desktop don't show the bottom one and vice versa?

– Morgan Smith
Apr 22 at 20:13





Hmmm and have something like if it's desktop don't show the bottom one and vice versa?

– Morgan Smith
Apr 22 at 20:13




1




1





yeah exactly. maybe not a Magento standard but I think it will do what you want.

– magefms
Apr 22 at 20:16





yeah exactly. maybe not a Magento standard but I think it will do what you want.

– magefms
Apr 22 at 20:16




1




1





Thanks, I'll try that then update the question!

– Morgan Smith
Apr 22 at 20:18





Thanks, I'll try that then update the question!

– Morgan Smith
Apr 22 at 20:18













Updated the question

– Morgan Smith
Apr 23 at 14:40





Updated the question

– Morgan Smith
Apr 23 at 14:40










0






active

oldest

votes












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%2f270998%2fchanging-block-location-based-on-size%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















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%2f270998%2fchanging-block-location-based-on-size%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

Sum ergo cogito? 1 nng

419 nièngy_Soadمي 19bal1.5o_g

Queiggey Chernihivv 9NnOo i Zw X QqKk LpB