Jump to content

Code shows briefly when page loads

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 3
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images


@tuanphan

Site is : www.homeofbabysleep.com

code added to header is :

//Header title//

.header-title-logo a:before {
    content: "HOME OF BABY SLEEP";
    display: block;
    font-size: 30px;
    font-family: minerva-modern;
      text-align: centre;
    padding-left: 0px;
      padding-top: 50px;
      vertical-align: centre;
    color: white;
     font-weight: 600;
  }
.header-title-logo a:after {
    content: "";
  }
.header-title-logo img {
  vertical-align: middle;
      horizontal-align: middle;
       padding-left: 0px;
}

.header-mobile-logo a:before {
    content: "HOME OF BABY SLEEP";
    font-size: 25px;
       font-weight: 600;
    color: white;
    display: block;
    width: 100%;
    font-family: minerva-modern;
      align-items: center;
    padding-right: 70px;
    padding-left: 0px;
      padding-top: 20px;
      vertical-align: centre;
    text-align: center;

.header-mobile-logo img {
  vertical-align: centre;
    padding-left: 80px;
}

.header-title-logo img {
  vertical-align: top;
      horizontal-align: centre;
       padding-left: 0px;
}

Edited by Khyati
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.