0
Welcome Guest! Login
0 items Join Now

SOLVED Change the module position responsive (max-width 480px)

    • Felix 's Avatar
    • Felix
    • Sr. Rocketeer
    • Posts: 102
    • Thanks: 0

    SOLVED Change the module position responsive (max-width 480px)

    Posted 7 years 10 months ago
    • Hello,

      any idea how to change the order of a position for a smaller screen size via css?
      I have left a sidebar with a menu and right the content. . This position I would like to exchange, which is displayed on a smartphone first the content and then the sidebar with the menu. Is that possible?

      Thank you Felix
    • Last Edit: 7 years 10 months ago by Felix .
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22283
    • Thanks: 3227
    • messin' with stuff

    Re: Change the module position responsive (max-width 480px)

    Posted 7 years 10 months ago
    • No... not really... you may be able to do some fancy stuff with media queries and floats... otherwise you can duplicate your current 2 particles, in a new Grid in the same Section and set your new, inversed, particles in that grid each to "visible-phone" and your current particles in the other grid to "hidden-phone"

      docs.gantry.org/gantry5/tutorials/utility-classes

      //it'll be loading the content twice on the page, just with one set hidden based on screen size

      more on G5 breakpoints here:

      docs.gantry.org/gantry5/tutorials/media-queries
    • Last Edit: 7 years 10 months ago by Matt.
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • Felix 's Avatar
    • Felix
    • Sr. Rocketeer
    • Posts: 102
    • Thanks: 0

    Re: Change the module position responsive (max-width 480px)

    Posted 7 years 10 months ago
    • Thank you..

      with utility-classes it worked great.....

      Felix
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22283
    • Thanks: 3227
    • messin' with stuff

    Re: Change the module position responsive (max-width 480px)

    Posted 7 years 10 months ago
    • :)

      If a thread is solved please edit your *original/first* post and place "[SOLVED]" (no quotes; but you do need the brackets) at the beginning of your post title. Changing the post icon to the Solved Checkmark is helpful too. :)
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:

Time to create page: 0.052 seconds