Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter koemig

    (@koemig)

    Hello @sunyatasattva and thank you for responding to the thread.
    I’ve answered to your comment to the feature request in more detail on the woo website.

    This was not present in your feature request, but, again, you donโ€™t need custom CSS, rather, you can use the โ€œVertical alignmentโ€ settings in the block toolbar.

    I haven’t touched it in the feature request since i have figured out a way with the styling controls featured in WooCommerce in the meantime. For those who might have the same problem:
    There is a button that connects/separates upper and lower border styling in the styling block. Once you separate the borders, you can adjust the arrows position.

    Custom CSS was deleted since.

    On Github the vertical scrolling issue has been worked on:

    https://github.com/woocommerce/woocommerce/issues/58288

    It might be integrated in the next update for which i am really exited for.

    Thank You &
    Best regards.

    Thread Starter koemig

    (@koemig)

    Hi @sandipmondal ,

    it is a problem on the product pages. An example page: https://holz-tiere.de/produkt/kette-eichhoernchen/

    On the main pages holz-tiere.de | https://holz-tiere.de/ohrringe/ | https://holz-tiere.de/ohrstecker/ i can swipe up and down on every area of the screen, including the images. But if you click on any of the products, you will see it doesn’t work in the image area of the Product gallery.

    Thank You for getting back to me and have a nice weekend!

    PS. There is also a forum thread i opened: https://ww.wp.xz.cn/support/topic/product-gallery-beta-mobile-handling/#post-18459288

    • This reply was modified 1 year ago by koemig.
    Thread Starter koemig

    (@koemig)

    Hi @sandipmondal,

    i understand it’s still in the developing phase and i am thankful that WooCommerce is working at the Product Gallery at all to offer an All-In-One Solution.
    In my case i am looking for an optimization of the mobile swiping behaviour. The main issue is that i cannot swipe the product page down, in the area of the product image of the product gallery. Since it’s a large area that covers nearly half the screen, it’s kind of negatively impacting mobile usage.

    Thank You for your time and effort.

    Thread Starter koemig

    (@koemig)

    Hi @sandipmondal

    Unfortunatly the initial problem i had with the Product Gallery (Beta) – Vertical Swiping in the image area doesn’t work – remains unsolved. Support on the thread offered further help but the issue got marked as resolved and no one got back to me since. I sent in a feature request aswell. I am not sure what’s the way to go from here.

    Thread Starter koemig

    (@koemig)

    Hi @mahfuzurwp,

    Thank You for replying and the work of you and your team.
    Review is written ๐Ÿ™‚

    Best regards –
    koemig

    Thread Starter koemig

    (@koemig)

    Hi @doublezed2

    Thank You for your response.
    I posted a request as suggested:

    https://woocommerce.com/feature-request/optimization-woocommerce-product-gallery-beta-for-mobile/

    I thank you for your work ๐Ÿ™‚

    Best regards.

    Thread Starter koemig

    (@koemig)

    Hi @lovingbro

    Thanks for checking in on this thread – i am grateful for the help!

    I would definitly like help with improving or rather make vertical swipe behaviour possible.
    It’s actually the main issue i have with the Product Gallery.

    For the arrows:

    Finally i know where to put the additional css and it’s working too – thank you and @shahzeenfarooq ๐Ÿ™‚
    I’d love to move the arrows to the bottom of the image and i tried to add height to the image styling like this:

    @media (max-width: 768px) {
    .single-product .wc-block-product-gallery-large-image-next-previous-container {
    width: 68%;
    height: 10%;
    }
    }

    That doesnt seem to work though – it only moves the arrows ever so slightly.

    Also even though i checked the box on Inner blocks use width of the content:




    The gallery image doesn’t use the width of the rest of the content:


    That’s the main issues i have right now.

    An additional future nice to have feature would be a carousel effect on the gallery. On the last picture if you swipe in the same direction, it skips back to the first picture – i guess i am getting greedy ๐Ÿ™‚

    Again thank you for the quick responses and help, it’s much appreciated!

    Thread Starter koemig

    (@koemig)

    Hi @shahzeenfarooq
    First off thank you for your quick response – i appreciate it very much!

    I’ve tried using pictures with the same resolution – the result was the same: the arrows are outside the pictures border. After that i activated the option to cut the picture into square dimensions. The grey placeholder is square aswell.

    The arrow was now inside most of the pictures but not all. Some odd ones were still rectangular.
    It seems it doesn’t like rectangular pictures ๐Ÿ™‚

    For the adding the code solution i have to ask your advice. I am an absolute beginner and have only been using the visual editor for now. This is the code for the Product Gallery Beta:

    <!-- wp:template-part {"slug":"header","theme":"twentytwentyfour"} /-->

    <!-- wp:group {"tagName":"main","style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"constrained","contentSize":"400px"}} -->
    <main class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
    <div class="wp-block-group"><!-- wp:woocommerce/product-gallery {"hoverZoom":false,"lock":{"move":false,"remove":false},"className":"wc-block-product-gallery\u002d\u002dhas-next-previous-buttons-outside-image"} -->
    <div class="wp-block-woocommerce-product-gallery wc-block-product-gallery wc-block-product-gallery--has-next-previous-buttons-outside-image"><!-- wp:group {"metadata":{"name":"Gallery Area"},"style":{"spacing":{"blockGap":"0"},"border":{"width":"0px","style":"none","radius":"0px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center"}} -->
    <div class="wp-block-group" style="border-style:none;border-width:0px;border-radius:0px"><!-- wp:group {"lock":{"move":false,"remove":false},"metadata":{"name":"Large Image and Navigation"},"style":{"layout":{"selfStretch":"fit","flexSize":null},"spacing":{"padding":{"top":"0","bottom":"0"},"margin":{"top":"0","bottom":"0"},"blockGap":"var:preset|spacing|20"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"center","verticalAlignment":"top"}} -->
    <div class="wp-block-group" style="margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0"><!-- wp:woocommerce/product-gallery-large-image {"lock":{"move":false,"remove":false}} -->
    <div class="wp-block-woocommerce-product-gallery-large-image wc-block-product-gallery-large-image__inner-blocks"><!-- wp:woocommerce/product-gallery-large-image-next-previous {"lock":{"move":false,"remove":false},"layout":{"type":"flex","justifyContent":"center","flexWrap":"wrap"}} -->
    <div class="wp-block-woocommerce-product-gallery-large-image-next-previous"></div>
    <!-- /wp:woocommerce/product-gallery-large-image-next-previous -->

    <!-- wp:woocommerce/product-sale-badge {"isDescendentOfSingleProductTemplate":true,"lock":{"move":false,"remove":false},"align":"right","style":{"spacing":{"margin":{"top":"4px","right":"4px","bottom":"4px","left":"4px"}}}} /--></div>
    <!-- /wp:woocommerce/product-gallery-large-image -->

    <!-- wp:post-title {"textAlign":"center","level":1,"fontSize":"x-large","__woocommerceNamespace":"woocommerce/product-query/product-title"} /-->

    <!-- wp:woocommerce/product-price {"isDescendentOfSingleProductTemplate":true,"fontSize":"large","style":{"spacing":{"padding":{"right":"0","left":"0"},"margin":{"right":"0","left":"0"}}}} /-->

    <!-- wp:woocommerce/add-to-cart-form {"quantitySelectorStyle":"stepper"} /-->

    <!-- wp:woocommerce/product-details {"align":"center","className":"is-style-minimal"} /-->

    <!-- wp:post-excerpt {"excerptLength":100,"__woocommerceNamespace":"woocommerce/product-query/product-summary"} /-->

    <!-- wp:woocommerce/product-meta -->
    <div class="wp-block-woocommerce-product-meta"><!-- wp:group {"layout":{"type":"flex","flexWrap":"nowrap"}} -->
    <div class="wp-block-group"><!-- wp:woocommerce/product-sku {"isDescendentOfSingleProductTemplate":true} /-->

    <!-- wp:post-terms {"term":"product_cat","prefix":"Category: "} /-->

    <!-- wp:post-terms {"term":"product_tag","prefix":"Tags: "} /--></div>
    <!-- /wp:group -->

    <!-- wp:post-terms {"term":"product_brand","prefix":"Brands: "} /--></div>
    <!-- /wp:woocommerce/product-meta --></div>
    <!-- /wp:group --></div>
    <!-- /wp:group --></div>
    <!-- /wp:woocommerce/product-gallery --></div>
    <!-- /wp:group --></main>
    <!-- /wp:group -->

    <!-- wp:template-part {"slug":"footer","theme":"twentytwentyfour"} /-->

    Where do i put your code snippet in there? I’ve been trying to add it via the block indivdual html but it only shows on my website as a text. Sorry for the mess – i hope you can help me ๐Ÿ™‚

Viewing 8 replies - 1 through 8 (of 8 total)