Like Quisse said it's hard to give an accurate answer without knowing the full details, but this may help:
after
and before
only work when the block you're moving/declaring and the block you're positioning it before/after share the same parent.
For example if you have this structure:
If you tried to set block E after block B nothing would happen as they don't share the same parent. But if you tried to set block C to display before block B it would work.
The exception for this is when blocks are rendered via getChildHtml()
in a template file, in which case you can only move it by changing the template.
Also, you need to add a hyphen if you want to display it before/after everything. after="-"
and before="-"
Update
Adding
I have added a block to content.bottom
and it works as expected:
<referenceContainer name="content.bottom">
<block class="Magento\Framework\View\Element\Template" name="test" template="Magento_Theme::test.phtml" />
</referenceContainer>
Moving
I've also tried moving my custom related products to content.bottom
and this works fine:
<move element="catalog.product.related.tab" destination="content.bottom" after="-" />
It doesn't appear to be an XML issue, could it be a CSS issue?
Best Answer
You can try
Or
You can use css for custom styles. Hope this helps.