Jump to content

Changing Design of Custom Drop-down Menu

Recommended Posts

Site URL: https://www.narla.com.au/experience

Hello,

I have added a simple code block for a dropdown menu. I'm just wondering how to change the font and colour to make it match with my page.

The code is:

<left>
<select onChange="window.location.href=this.value">
      <option value="#">  All Sectors      </option>
    <option value="https://www.narla.com.au/infrastructure-experience">Infrastructure</option>
</select>
  </center>

Any ideas?

Annotation 2020-06-17 094125.jpg

Link to comment
  • Replies 1
  • Views 549
  • Created
  • Last Reply

Try this snippet in custom css PolinaNarla,

<style>
	opacity: .7;
    -webkit-transition: opacity .2s ease-out;
    -moz-transition: opacity .2s ease-out;
    -ms-transition: opacity .2s ease-out;
    -o-transition: opacity .2s ease-out;
    transition: opacity .2s ease-out;
    -webkit-transition: background-image .2s ease-out;
    -moz-transition: background-image .2s ease-out;
    -ms-transition: background-image .2s ease-out;
    -o-transition: background-image .2s ease-out;
    transition: background-image .2s ease-out;
    padding: 12px;
    background: no-repeat 15px 50%;
    width: 100%;
    min-height: 20px;
    display: block;
    outline: 0;
    box-sizing: border-box;
    border: 1px solid #aaa;
    top: -10px;
    position: relative;
</style>

image.thumb.png.1b617ec4fe44671fea84f5aebedd808f.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.