Space above swatches

Hi there! Is there a way to decrease the space above the swatches on the catalogue page? the spacing is very large.

Thanks so much!"Swatches

Shamser Suzon

Hi Samuel Levac-Levey,

Could you please give your site link to check?

Thank you

Shamser Suzon

Hello Samuel Levac-Levey,

Please, push the following CSS lines to your custom CSS section:

.woo-variation-swatches-stylesheet-enabled.woo-variation-swatches-pro .wvs-archive-variation-wrapper .variations > li {
margin: 0 !important;
}

I hope, this fixes your issue. Please, let me know.

Thanks

Thanks! I tried adding the code to my “code snippets” plugin, however I’m getting the following errors:

–        Parse Error : syntax error, unexpected ‘.’ on line 1
–        Parse Error : syntax error, unexpected ‘woo’ (T_STRING), expecting ‘;’ on line 1
–        Parse Error : syntax error, unexpected ‘{‘, expecting ‘;’ on line 1
–        Parse Error : syntax error, unexpected ‘!’, expecting ‘;’ on line 2

There should be 3 lines of code, correct? (the first 2 lines are actually 1 line when i paste it?)

Please advise!

Shamser Suzon

Hello Samuel Levac-Levey,

I think you have pused it in a wrong place! Please, remove it wherever you pushed it.

Then give me a temporary login access of your admin panel. I will try.

Thanks

Shamser Suzon

Hello Samuel Levac-Levey,

I have given you CSS codes, not PHP. Code snippet plugin is used to push PHP codes to your functions.php file.

Provide me the temporary login detail and I will fix it. Also, remove the codes from the CODE SNIPPETS plugin.

Thanks