Site logo

[Support request] Change content order in mobile view

Home Forums Support [Support request] Change content order in mobile view

Home Forums Support Change content order in mobile view

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2470628
    WebbPlatsen

    I have following blocks.

    ROW 1:
    – CONTAINER
    — GRID
    — CONTAINER
    [ image ]
    — CONTAINER
    [ text ]

    RPW 2:
    – CONTAINER
    — GRID
    — CONTAINER
    [ text ]
    — CONTAINER
    [ image ]

    In mobile view I want text to be displayed before image.
    This will work auto for ROW 2. How about ROW 1?

    #2470686
    David
    Staff
    Customer Support

    Hi there,

    if you select a Grid Column Container Block and then switch to mobile in the Layout settings there is an `Order field.

    https://docs.generateblocks.com/article/container-overview/#layout-–-grid-item

    You can set the order for each column container to re-arrange them.
    Note you can use negative values in the Order. So if you selected the last column container and set its order to -1 it will appear first above all other columns in the grid.

    #2471379
    WebbPlatsen

    Got it!

    I have set order and it seems to work when I edit page but it will not work in frontend.
    I have tried different browsers, empty cache etc.

    #2471416
    David
    Staff
    Customer Support

    Are you using Global Styles ?

    #2471429
    WebbPlatsen

    Yes I am.
    I updated my global style and it works 🙂

    Hmm it doesn’t seems that “local” (on page) settings override Global Style.

    #2471756
    David
    Staff
    Customer Support

    Did the Global Style have an Order valued saved in it before ?

    #2472130
    WebbPlatsen

    No values in Global Style was set.

    #2472284
    David
    Staff
    Customer Support

    Hmmm… odd, i will take a look into that.
    Are you ok for now setting those in the global styles ?

    #2472756
    WebbPlatsen

    Guess so 😉

    I am using Global Style and Local Pattern.

    When Iam building a page I will add templates like Hero-block, text+image block etc etc.

    #2473527
    David
    Staff
    Customer Support

    Glad to hear that.

    #2482105
    WebbPlatsen

    yes, but problem still exists regarding override Global Style 😉

    #2482424
    David
    Staff
    Customer Support

    We should be able to fix that after the next GB update. We are making changes there which will make it easier for these kinds of improvement 🙂

    #2491346
    WebbPlatsen

    I “solve” this issue by duplicate the block and then delete the original block. 😉

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.