Jump to content

change style of form drop down select

Recommended Posts

  • Replies 11
  • Views 1.8k
  • Created
  • Last Reply
  • 1 month later...

Hi,
Insert this code in your Header Code Injection.
 

<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/css/select2.min.css" rel="stylesheet" />

Insert this code in your Footer Code Injection.

<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/js/select2.min.js"></script>

<script>
$(document).ready(function() {
    $('#select-yui_3_17_2_1_1598543872580_15278-field').select2();
});
</script>

 

Please use the like button if it helps you!

Best,
Leopold

Ninja Kit Extension: Upgrade your Squarespace website without coding.

YouTube Preview    -    FREE DOWNLOAD

Link to comment
19 hours ago, lilyscowen said:

No! Still can't find a solution... please help.

 

 

16 hours ago, dexterdasilva said:

Looking for the sametime.

Haven't been able to find a solution. 

 

change color, size or..?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.