My site has blocks in the first sidebar, in other words the site is basically a 2-column layout on desktop/tablet. In mobile display however the first sidebar blocks appear before the main page content, which doesn't make sense for my site. It seems the only way around this is to put my blocks in the second sidebar instead, which renders them underneath the main page content on mobile. But this means the sidebar content displays on the right hand side on desktop/tablet, which looks bad on my site. Is there a way to have the sidebar on the left in desktop/tablet but those blocks appear UNDER the main content on mobile?
Comment | File | Size | Author |
---|---|---|---|
#3 | position_of_blocks_in-2840202-3.patch | 538 bytes | BhumikaVarshney |
#2 | position_of_blocks_in-2840202-2.patch | 566 bytes | devshi.addweb |
Comments
Comment #2
devshi.addweb CreditAttribution: devshi.addweb at AddWeb Solution Pvt. Ltd. commentedYou can apply below patch for your purpose.
This patch works for second sidebar as per your requirement. Please don't use first sidebar.
Comment #3
BhumikaVarshney CreditAttribution: BhumikaVarshney as a volunteer and at OpenSense Labs commentedYou can apply this patch for the issue.
So the sidebar second will be on the left side on desktop/tablet and in mobile the sidebar second is under the content.