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;



Link to comment
  • 2 weeks later...
  • Replies 1
  • Views 1.2k
  • Created
  • Last Reply


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.