[Resolved] Some small layout issues on mobile

Home Forums Support [Resolved] Some small layout issues on mobile

Home Forums Support Some small layout issues on mobile

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1818542
    Marijke

    Hi! I have two issues on the mobile version of my WooCommerce site that I can’t find solutions to here on the forum.

    1: The price slider widget is broken and I have no clue why. Can I do something about this or should I ditch it? There is also a lot of space between the widgets, is there any way to reduce the bottom margin on mobile devices only?
    Screenshot: https://www.screencast.com/t/O3cWKkixP5v

    2: Because the product variation names are a bit long, they get wonky on mobile. Can I place the dropdown menu below the product name rather than next to it on mobile only?
    Screenshot: https://www.screencast.com/t/YvbdZFENqA

    Thanks in advance!

    #1818960
    Leo
    Staff
    Customer Support

    Hi there,

    Can you disable the SG optimizer so we can inspect the issue better?

    Thanks!

    #1819147
    Marijke

    LOL. Of course disabling it fixed the price slider. I’m switching to FlyingPress anyway so I’ll leave that plug-in off.

    That leaves the excessive white space between the widgets on mobile and the variable product thing. Any pointers by any chance? Thanks!

    #1819214
    Ying
    Staff
    Customer Support

    Hi Marijke,

    Give this CSS a try, see if you are happy with the result πŸ™‚

    @media (max-width: 768px) {
        .woocommerce div.product form.cart .variations tr {
            display: flex;
            flex-direction: column;
        }
    }

    Let me know πŸ™‚

    #1819503
    Marijke

    Thanks Ying, that was exactly what I needed!

    As for the distance between the widgets on mobile, I used the max-width 768px to set the margin-bottom for the widgets to -10 and that helped, not sure if that’s the best solution? If it is, feel free to mark this as resolved. πŸ™‚

    Edit: Ran into another issue. I’d like to display a different secondary menu on mobile than on desktop (on mobile I want to add three pages). Is there a way to do this? Should I open a new topic?

    #1819979
    Ying
    Staff
    Customer Support

    max-width 768px to set the margin-bottom for the widgets to -10

    Sure, you can do that.

    For the new question, could you open a new topic?

    Thanks and you are welcome πŸ™‚

    #1820341
    Marijke

    Okay, I’ll mark this one as resolved then, thanks!

    #1820761
    Ying
    Staff
    Customer Support

    No problem πŸ™‚

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