Title: Problem in custom CSS
Last modified: November 10, 2022

---

# Problem in custom CSS

 *  Resolved [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/problem-in-custom-css/)
 * Hi there,
 * There is a typo in the inline_css function of the Swatches class, line 563:
    
   [https://plugins.trac.wordpress.org/browser/variation-swatches-woo/trunk/inc/swatches.php#L563](https://plugins.trac.wordpress.org/browser/variation-swatches-woo/trunk/inc/swatches.php#L563)
 * The code adds an “80” string to the color:
 * `$custom_css .= "--cfvsw-swatches-border-color-hover: {$style['border_color']}
   80;";`
 * That causes an incorrect color for the _–cfvsw-swatches-border-color-hover _variable,
   so the option “Border color” does not apply.
 * Could you fix it? Thanks

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

 *  Thread Starter [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/problem-in-custom-css/#post-16186398)
 * Hi,
 * Never mind. 80 is for opacity… An option to handle this value would be great.
 *  Plugin Support [Sravan Bhaskaravajjula](https://wordpress.org/support/users/bhshravankumar/)
 * (@bhshravankumar)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/problem-in-custom-css/#post-16194862)
 * Hello [@oscargare](https://wordpress.org/support/users/oscargare/),
 * Thanks for bringing this issue to our notice.
 * we will modify our color picker so that you can adjust the opacity.
 * This feature will be released soon with our next updates.
 * Hope this helps.

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

The topic ‘Problem in custom CSS’ is closed to new replies.

 * ![](https://ps.w.org/variation-swatches-woo/assets/icon.svg?rev=2850895)
 * [Variation Swatches for WooCommerce – Color, Image & Size Swatches](https://wordpress.org/plugins/variation-swatches-woo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/variation-swatches-woo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/variation-swatches-woo/)
 * [Active Topics](https://wordpress.org/support/plugin/variation-swatches-woo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/variation-swatches-woo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/variation-swatches-woo/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Sravan Bhaskaravajjula](https://wordpress.org/support/users/bhshravankumar/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/problem-in-custom-css/#post-16194862)
 * Status: resolved