Jump to content

[Share] Float text left - right on Announcement Bar

Recommended Posts

To make text align left - right on Announcement Bar (on all devices), like this example.

announcement-bar-float-text-left-tight-03-min.jpg.4492c09513ee233f0694d74d94764ef5.jpg

you can follow these steps

#1. Add 2 paragraphs

announcement-bar-float-text-left-tight-01-min.thumb.jpg.e05d3bcb8c70813c272205d857543bb4.jpg

#2. Use this code to Website Tools > Custom CSS

div#announcement-bar-text-inner-id {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

#3. If you want to disable code on Mobile, use this CSS code under

@media screen and (min-width:768px) {
  div#announcement-bar-text-inner-id {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}
}

 

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 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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.