Site logo

Archived topic

Items side by side in mobile menu?

3 replies · Started by Jennifer on January 11, 2021

Viewing posts 1–4 of 4

In my mobile menu, beneath the other list items (which I want to appear one per row), I would like to have the two social icons display side by side on one row. Can this be done through CSS or would I need to create a hook element to achieve this? I've provided the URL for my development server in the private information section.

Thanks for the link! It wasn't quite what I was looking for (I wanted to add the icons to the bottom of the mobile menu itself, not to the menu bar). But I figured it out. In case it helps anyone, this worked for me:

@media (max-width: 768px) {
  #mobile-menu .facebook-icon {     
    display: inline-flex;
    justify-content: flex-end;
    padding-right: 5px;
    width: 50%;	
   }
  #mobile-menu .linkedin-icon {     
    display: inline-flex;
    justify-content: flex-start;
    padding-left: 5px;
    width: 49%;	
  }
}

Glad to hear you found a solution ... and that is a nice method :)

This archived topic is closed to new replies.