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? May 22 '18 at 14:12
  • My template for it seems to be default.xml
    – k33n
    May 22 '18 at 14:19
  • default.xml is not a template. Its a layout file. I need to know the page layout. May 22 '18 at 14:20
  • I don't know it. That is the problem.
    – k33n
    May 22 '18 at 14:21
  • Can you share the screenshot of the full page where it shows on right? May 22 '18 at 14:22
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!
    – k33n
    May 24 '18 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
    Jun 6 '18 at 21:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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