New Landing How can we help? Themeforest Theme Support Uplift Ignoring breakpoint for some rows

Viewing 15 posts - 1 through 15 (of 17 total)
  • Posted in: Uplift
  • #289707
    oliverr
    Member
    Post count: 123

    Hello guys,

    Is it possible to manipulate breakpoints for certain rows in a page layout?
    My problem is that I need two pictures next to each other. This works fine for desktop, but the mobile
    version does move these pictures under each other.

    I have a layout with 4 columns and for mobile and tablet I want to have a 2×2 layout.
    I did not find out how to do this?

    Thanks!

    #289919
    David Martin – Support
    Moderator
    Post count: 20834

    You might be able to force this by adding a custom class to the parent row or PB asset and then using a media query to force the width to what you require.

    Add the custom class to the said items and let me know.

    – David

    #290012
    oliverr
    Member
    Post count: 123

    Hey, thanks for your response.

    I understand your approach, but what do I need to add to the CSS class exactly?

    #290187
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Great, you can add a class using this:

    #291252
    oliverr
    Member
    Post count: 123

    Hey, I know how to add a extra class, but I do not know about the css-code that will do the job.

    #291595
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @redro

    Can you please try using the included Custom Sizing options – under the Custom Sizing tab. If you set XS to 6, that will make it 50% on mobile. Also please add this custom css until the next update:

    .col-xs-6 {
        width: 50%!important;
    }

    That should sort it.

    – Ed

    #291679
    oliverr
    Member
    Post count: 123

    Thanks! This works.
    Is the topic “Custom sizing options” somewhere documented? I couldn’t find it. Having a lot of smart options to choose from is very handy, but without telling your clients/users about it, it just a waste of time.

    #291808
    oliverr
    Member
    Post count: 123

    Why are the rows breaking like this?

    Attachments:
    You must be logged in to view attached files.
    #292231
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    We’ll sort out documentation for those options, they are new which is why there isn’t docs yet.

    The rows are breaking like that because you have columns, and the columns group the elements. That column wraps the two elements within, so the columns stack when they are responsively resized. If you wanted the same order, you’d need to have one block in each column.

    – Ed

    #292258
    oliverr
    Member
    Post count: 123

    So 4 columns and in each of them is one element?
    This didn’t work for me.

    This is not urgent, I will wait for the docs.

    #292321
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Can you link us to that page, and screenshot the admin side of it so that we can look into it?

    Thanks,

    – Ed

    #292382
    oliverr
    Member
    Post count: 123
    This reply has been marked as private.
    #292429
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @redro,

    Looks like you don’t have the XS column sizing set for the top set?

    Also, looks like you have set col-xs-12 to 50%, rather than using xs-6?

    – Ed

    #292435
    oliverr
    Member
    Post count: 123

    Sorry, I deleted it to test whats going on without anything in it.
    I put it back in. That wasn’t the source of the problem.

    The settings are as shown in the image above.
    XS = 6, SM, MD, LG = 3

    Also, looks like you have set col-xs-12 to 50%, rather than using xs-6?

    Custom-CSS isn’t in use for the columns, so I don’t understand what you try to tell me?

    Just to be clear …

    Tablet, Desktop:
    X X X X

    Smartphone:
    X X
    X X

    #292445
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Apologies, was a mistake with the css which I previously provided you. If you change:

    .col-xs-6 {
        width: 50%!important;
    }

    to:

    @media only screen and (max-width: 767px) {
    .col-xs-6 {
        width: 50%!important;
    }
    }

    That will sort it. Again, you can remove this code after the next update.

    – Ed

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register