Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

add country flags to top nav



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 post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

Create an account or sign in to comment

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

  • Create New...