1

I got this block:

\Magento\Sales\Block\Reorder\Sidebar

On page it is within the div sidebar-additional which is located on the right side. However I want the sidebar to be located on the left side.

Here it is being set:

<referenceContainer name="sidebar.additional">
    <block class="Magento\Sales\Block\Reorder\Sidebar" name="sale.reorder.sidebar" as="reorder" template="reorder/sidebar.phtml"/>
</referenceContainer>

How can I do that? Thanks!

9
  • 1
    What is your template for that page? 1-column, 2-columns-left or something else? Commented May 22, 2018 at 14:12
  • My template for it seems to be default.xml Commented May 22, 2018 at 14:19
  • default.xml is not a template. Its a layout file. I need to know the page layout. Commented May 22, 2018 at 14:20
  • I don't know it. That is the problem. Commented May 22, 2018 at 14:21
  • Can you share the screenshot of the full page where it shows on right? Commented May 22, 2018 at 14:22

1 Answer 1

0

See set page layout & rearrange elements. - https://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/xml-manage.html

2
  • 1
    Which xml would be the right for me? Thanks! Commented May 24, 2018 at 7:13
  • @L.Klmn which main page layout are you using that you are attempting to adjust? Be sure to use the 3 or 2 column layout page.xml that Sukumar Gorai mentioned in comments above. Without the proper page.xml layout specified you may only have 1 column or 2 columns preventing the move. Also specifically devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/…
    – B00MER
    Commented Jun 6, 2018 at 21:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.