[SOLVED] Sequence of columns on mobile
1 Attachment(s)
Hi all,
I have a layout with right and left sidebar. The problem starts when the screen gets smaller, theen the left sidebar is under the page menu selector, then the center column, then the right one. I'd like to have it like Header Center column SidebarLinks (left sidebar) SidebarRechts (right sidebar) I tried to put this in layout.css, but nothing happens: Code:
@media screen and (max-width: 767px) { |
Oh, what I wanted to say, I tried with .content and #content, nothing worked.
|
To do this you are going to have to write a jquery to do this. Here a link to an example you can play with
|
I found a weird but working solution. I defined another sidebar SideBarLinksM below the column, that has the same widgets as SideBarLinks, and make that invisible. I then toggle the sidebars with the max-width selector.
Here is the CSS: Code:
/* A sidebar */ |
I can't see how I mark this thread solved, but I'm totally content with my solution. Thanks for the help.
|
All times are GMT -6. The time now is 05:50 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.