Jump to content

Social Icons on Mobile Site - Royce Theme

Recommended Posts

  • Replies 3
  • Views 491
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

You can use this code to Website Tools > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
  $(document).ready(function(){
    $('nav.SocialLinks').clone().insertAfter('nav.Mobile-overlay-nav.Mobile-overlay-nav--primary');
});
</script>

image.png.32a148b576f19a1b231f5a40ba13783e.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 7/20/2024 at 3:37 AM, beccatsgg said:

Thank you so much - this worked to add the icons to the menu, but I'd like to have the icons show up on the mobile header. See circled position below.

 

image.thumb.jpeg.9555d2d689527c4ea2f5fc9cab2f39dd.jpeg

Use this new code

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
  $(document).ready(function(){
    $('nav.SocialLinks').clone().insertAfter('button.Mobile-bar-menu');
});
</script>
<style>
  [data-nc-base="mobile-bar"] [data-nc-container="top-left"] {
    flex-direction: row-reverse !important;
    justify-content: space-between !important;
}
</style>

image.png.b3dc9ed37fae6c3cce507e207fb4535a.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

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.