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

What to do with someone that cheated their way through university and a PhD program?

Retract an already submitted recommendation letter (written for an undergrad student)

Does a large simulator bay have standard public address announcements?

What is the most expensive material in the world that could be used to create Pun-Pun's lute?

What does a straight horizontal line above a few notes, after a changed tempo mean?

How do I check if a string is entirely made of the same substring?

What was Apollo 13's "Little Jolt" after MECO?

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

Magical attacks and overcoming damage resistance

Nails holding drywall

What is the unit of time_lock_delta in LND?

What is purpose of DB Browser(dbbrowser.aspx) under admin tool?

Check if a string is entirely made of the same substring

What does MLD stand for?

Apply a different color ramp to subset of categorized symbols in QGIS?

Why do games have consumables?

Does the damage from the Absorb Elements spell apply to your next attack, or to your first attack on your next turn?

Is there any pythonic way to find average of specific tuple elements in array?

How to pronounce 'c++' in Spanish

Find a stone which is not the lightest one

How do I reattach a shelf to the wall when it ripped out of the wall?

Creating a chemical industry from a medieval tech level without petroleum

Double-nominative constructions and “von”

A ​Note ​on ​N!



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
    2 days ago

















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
    2 days ago













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 2 days ago







Morgan Smith

















asked Apr 22 at 19:58









Morgan SmithMorgan Smith

6610




6610












  • 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
    2 days ago

















  • 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
    2 days ago
















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
2 days ago





Updated the question

– Morgan Smith
2 days ago










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

Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림