Skip to content
  • Home
  • Plugins
    • Product Gallery Slider for WooCommerce
    • Deposits for WooCommerce
  • Docs
  • Blog
  • Support
Account

Getting Started

8
  • Can I use my license on a test or development site?
  • Where Is My Purchase Code?
  • How to Install the PRO version?
  • How to update the PRO version?
  • Where can I cancel my subscription?
  • How can I get an invoice for my order?
  • How to remove VAT or Sales Tax from Paddle?
  • Enabling usage tracking

Product Gallery Slider

13
  • How To Fix WooCommerce Blurry Images?
  • How to use gallery slider with WPML?
  • High CLS issue in mobile devices
  • Add Additional Variation Images in WooCommerce?
  • How to enable a lightbox popup on clicking the large image?
  • How to Add Video into Product Gallery?
  • How to use the Product gallery slider with Elementor Page builder?
  • How to use product gallery slider with Divi Page builder?
  • How to center the video play icon?
  • What is the difference between classic and Default Variation behavior options?
  • YITH WooCommerce Color and Label Variations Conflict
  • Conflicts with other themes & plugins
  • Hooks: Actions and Filters

Bayna - Deposits for WooCommerce

14
  • Translate deposit plugin using Loco Translate
  • Switch to WooCommerce Classic Checkout & Cart
  • Custom amounts for deposit order
  • Future/due Payment for Deposit orders
  • Set up deposit payment reminders for customers
  • Cart or Checkout based deposit
  • Deposit Payment Plans for WooCommerce
  • Enable the Deposit/partial payment feature for the Product
  • Disable Payment Gateways on the Checkout page
  • Customize Email Templates for Deposit Orders
  • Deposit amount conflict with the “WooCommerce PayPal Payments” plugin
  • Nothing is being created in the Woocommerce > Deposit Payments!
  • Changelog
  • For Developers

Medixer – Medical WordPress Theme

11
  • Getting Started
  • Theme Setup
  • Install theme demo content
  • Theme options
  • Menu Setup
  • Add Team Member
  • Add Services & Portfolio
  • How to use Elementor Page Builder?
  • Speed optimization
  • Change the slug for custom post types?
  • Change Log

Wishlist for WooCommerce

5
  • Getting Started
  • Plugin Settings
  • Shortcodes
  • Overwrite Wishlist Template
  • For Developers
View Categories
  • Home
  • Docs
  • Product Gallery Slider
  • High CLS issue in mobile devices

High CLS issue in mobile devices

Niloy
Updated on November 29, 2024

To resolve the Cumulative Layout Shift (CLS) issue, you can apply the following CSS code. To do this, please follow these steps:

  1. Go to the "Codeixer > Product Gallery” from the main menu.
  2. Click on “Advanced Settings.”
  3. Find the “Custom CSS” option and paste the provided code.
  4. Save your changes to ensure the code is applied.

 

/*CSS for CLS Start*/
/*For Desktop*/
@media screen and (min-width: 922px) {
	.woocommerce-product-gallery {
	  min-height: 630px;
          max-height: 630px;
 }
}
/*For Mobile*/

@media screen and (max-width: 500px) {
	.woocommerce-product-gallery {
	max-height: calc((25vw - 1.5em) + (100vw - 56px) + 1em);
        height: 500px !important;
        display: block;
 }
}
@media screen and (min-width: 545px) and (max-width: 921px) {
	.woocommerce-product-gallery {
	max-height: calc((25vw - 1.5em) + (100vw - 117px) + 1em);
 }
}
/*CSS for CLS End*/

This should help mitigate any CLS problems on your site. If you have any questions or need further assistance, feel free to reach out!

Updated on November 29, 2024
Free, Pro, Troubleshooting
How to use gallery slider with WPML?Add Additional Variation Images in WooCommerce?
Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Was it helpful ?
  • Happy
  • Normal
  • Sad

Need Help?

support@codeixer.com

Useful Links
  • Terms & Conditions
  • Refund Policy
  • Privacy Statement
  • License Terms
  • Password Reset Link
  • Affiliates FAQ
  • Affiliate Account
  • Become an Affiliate
  • Write for Us
2018 – 2025 Codeixer LLC. All rights reserved.