Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Changing the order of sideboxes and center layout to respond to mobile

    Hi
    Anyone knows a "easy" way to change the manipulate the order of sideboxes and the center Column ?

    For ie:
    In a large or medium screen , more or less, the columns are ok with this this order:
    sidebox left
    Center
    sidebox right.


    But in small devices, aside from switching the order horizontally by css grid layout, I was wondering how could this be done, vertically.

    So the order would be:

    Center
    sidebox left
    sidebox right.

    Or other ways to get around this.

    A practical example would be a slide show in the center column right at the top. In responsive design, it would get below the sidebox left.
    Not calling the sidebox by a breakpoint, or hide it, would be a way to get around, placing the content in sidebox right.
    But in a large screen, let's say, that it's important to have that content in sidebox left.

    Or one could query the sideboxes position by a breakpoint ?

    Or some other way ...

    Any ideas or best approaches on this ?

    Thanks
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

  2. #2
    Join Date
    Aug 2014
    Location
    Lisbon
    Posts
    594
    Plugin Contributions
    0

    Default Re: Changing the order of sideboxes and center layout to respond to mobile

    After some search, it could be done with jquery, ie:

    $('.sidebox').detach().prependTo('.centerColumn');
    “Though the problems of the world are increasingly complex, the solutions remain embarrassingly simple.” ― Bill Mollison

 

 

Similar Threads

  1. changing the center layout
    By Labellas in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Nov 2009, 01:11 AM
  2. Changing the Sort Order of sideboxes
    By Drugoholic in forum Customization from the Admin
    Replies: 7
    Last Post: 23 Jun 2009, 04:17 PM
  3. Layout and the Sideboxes
    By cdambati in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 28 Aug 2008, 03:16 AM
  4. Reduce the padding between center box and sideboxes
    By JimmyV in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Mar 2008, 06:11 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR