Title: Custom CSS
Last modified: December 1, 2021

---

# Custom CSS

 *  Resolved [gbsol](https://wordpress.org/support/users/gbsol/)
 * (@gbsol)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-css-280/)
 * Hi,
 * I’m currently testing this plugin. If it works fine we’ll buy the pro version
   because me need to add videos in the gallery.
 * At this point, I’m trying to set the max-width to 630px with the custom CSS but
   I can’t seem to make it work.
 * Here’s what I entered :
 *     ```
       element.style {
           max-width: 630x;
       }
       ```
   
 * Can you please tell me how to make this work ?
 * Many thanks,
 * Guillaume
    -  This topic was modified 4 years, 6 months ago by [gbsol](https://wordpress.org/support/users/gbsol/).
    -  This topic was modified 4 years, 6 months ago by [gbsol](https://wordpress.org/support/users/gbsol/).

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

 *  Plugin Support [Bayejid Ahmed](https://wordpress.org/support/users/bayejid00/)
 * (@bayejid00)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-css-280/#post-15124743)
 * Hi [@gbsol](https://wordpress.org/support/users/gbsol/),
 * Thanks for your query. Hope you are doing good.
 * The CSS you had tried to use was incorrect which is why it didn’t work. Use the
   CSS below in the plugin’s Advanced Additional CSS field to change the width to
   630px. Have a look at the [screenshot](https://prnt.sc/21dnxps).
 *     ```
       div#wpgs-gallery {
           max-width: 630px !important;
       }
       ```
   
 * Please let us know if it works or not.
    -  This reply was modified 4 years, 6 months ago by [Bayejid Ahmed](https://wordpress.org/support/users/bayejid00/).
 *  Thread Starter [gbsol](https://wordpress.org/support/users/gbsol/)
 * (@gbsol)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-css-280/#post-15128333)
 * Hi [@bayejid00](https://wordpress.org/support/users/bayejid00/) ,
 * Thanks a lot, it works perfectly !!
 * Best regards
 *  Plugin Support [Bayejid Ahmed](https://wordpress.org/support/users/bayejid00/)
 * (@bayejid00)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/custom-css-280/#post-15128567)
 * Hi [@gbsol](https://wordpress.org/support/users/gbsol/),
 * We’re very glad to hear that it works perfectly now. Thanks for appreciating 
   us. If you are happy with the plugin and support, please share your experience
   in the plugin [review section](https://wordpress.org/support/plugin/gallery-slider-for-woocommerce/reviews/).
 * Have a great day!

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

The topic ‘Custom CSS’ is closed to new replies.

 * ![](https://ps.w.org/gallery-slider-for-woocommerce/assets/icon-256x256.gif?rev
   =3501541)
 * [Product Gallery Slider, Additional Variation Images, Product Video, Product Image Zoom and Lightbox for WooCommerce – WooGallery](https://wordpress.org/plugins/gallery-slider-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gallery-slider-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gallery-slider-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/gallery-slider-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gallery-slider-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gallery-slider-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Bayejid Ahmed](https://wordpress.org/support/users/bayejid00/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/custom-css-280/#post-15128567)
 * Status: resolved