Jump to content

[Share] Move Social Icons to Announcement Bar

Recommended Posts

To move Social Links to Announcement Bar, you can follow these steps.

If you can't make it work, you can comment below or message me with site url. I will check easier.

#1. Edit Site Footer

image.png.6e07ed636c269e6fcbe522cb44aaf75c.png

#2. Choose Social Links

image.png.e1ae61f7bf3d8917b9d6b6cdedd0ac82.png

and add your social links.

image.png.607445e62ffa5d19ae72c7c0fc2778d6.png

#3. 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(){
    setTimeout( function() {
    $('footer.sections .socialaccountlinks-v2-block').insertBefore('#announcement-bar-text-inner-id p');
       }, 2000);
});
</script>
<style>
  div#announcement-bar-text-inner-id use.sqs-use--icon {
    fill: white !important;
}
  #announcement-bar-text-inner-id p {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}
  @media screen and (max-width:767px) {
    #announcement-bar-text-inner-id p {
        position: static !important;
        transform: unset !important;
    }
    #announcement-bar-text-inner-id {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
    }
}
</style>

image.png.8c4170788c1136d908733168831232ba.png

 

#4. Result

image.png.c5e10557bf6bfd812a48b11714c19acf.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
  • Replies 0
  • Views 257
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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.