Jump to content

add country flags to top nav

Recommended Posts

Site URL: https://www.alarahotels.com/


i'm trying to add an icon menu to my social icon section in my header. the goal is to have a flag icon, and when hovered over it displays additional country flags that represent other languages.  i've been able to add a custom icon to my header, but can't figure out how to add a custom menu. anyone have any ideas?


here is the code i'm currently using...

/* remove current icon */
.header-actions-action--social a:first-child svg {
    display: none;
/* set new icon */
.header-actions-action--social a:first-child {
    background-image: url(https://static1.squarespace.com/static/5f69af599c1f552f060d52fd/t/5fbc763dc7afe470b5488b72/1606186557259/United-Kingdom.png);
    background-size: cover;
    background-repeat: no-repeat;



Edited by yoshito
progress made
Link to comment
  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • 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.