[Resolved] buttons over the edge

Home Forums Support [Resolved] buttons over the edge

Home Forums Support buttons over the edge

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2051806
    Benny

    Hey there, is it possible to scroll buttons over the edge of the mobile display? So that they are horizontally scrollable?

    Screenshot of figma –> https://ibb.co/kxHN4BF

    (PS: I use GP Pro, Generateblocks Pro, and if needed i use this slider plugin –> https://wordpress.org/plugins/block-slider/)

    #2051866
    David
    Staff
    Customer Support

    Hi there,

    to add the ‘nav buttons’ to slide them would require some Javascript and custom development. If thats required then i suggest the plugin.

    If its not required then we can provide some CSS to do that. Let me know,

    #2051882
    Benny

    I split the buttons onto several slides but there flexbox grows the button-container to 100%. How can i limit the button-container with just one button in it to the width of this one button? After that it should be piece of cake but didnt get there on my own ๐Ÿ˜€

    Thanks for your support!

    #2051910
    David
    Staff
    Customer Support

    Can i see the site ?

    #2051931
    Benny

    The mobile version of this –> http://akademis.w4km8elg6q-ewl6nwykw652.p.runcloud.link/worth-school/

    I would copy copied the buttons into a new container only visible on mobile and hide the desktop button containing container.

    #2051944
    David
    Staff
    Customer Support

    Some CSS like this:

    @media(max-width: 768px) {
        .wp-block-cwp-block-slider ..gb-button-wrapper {
            display: inline-flex;
        }
    }
    #2051947
    Benny

    Now the buttons just fills up the whole space ๐Ÿ˜€

    #2052146
    David
    Staff
    Customer Support

    Oops – edited the above:

    https://generatepress.com/forums/topic/buttons-over-the-edge/#post-2051944

    Not sure if that will fix it as the Slider is also defining some widths….

    #2052417
    Benny

    Works if i unset the width of slick-slide but there is another problem i have to fix and i rather stick to another design then. But thanks for your support!

    #2052765
    David
    Staff
    Customer Support

    No problems – hope you find what you need !

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