Jump to content

Tagline squashed

Recommended Posts

  • Replies 5
  • Views 345
  • Created
  • Last Reply

Top Posters In This Topic

Because your tagline line-height is 0.5em. Add to Design > Custom CSS

/* tagline overlap */
a.Header-tagline {
    line-height: 1.2em;
}
/* Tagline on mobile */
a.Mobile-bar-branding:after {
    content: "Sola Wood | Artificial | Dried | Preserved";
    font-family: futura-pt;
    font-weight: 700;
    font-style: normal;
    font-size: 11px;
    letter-spacing: .2em;
    line-height: .5em;
    text-transform: uppercase;
    color: rgba(124,121,121,.5);
    display: block;
}

 

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

That's not doing anything for either view. But my existing coding says that I'm "missing closing '}' ".

Could that be preventing other codes from working? I have no idea where another '}' needs to go. 

Here is my current coding:

//subtitle under logo//
a.Mobile-bar-branding:after {
    content: "SOLA WOOD | SILK | PRESERVED";
    display: block;
    margin-top: 20px;
    font-size: 8px;
    font-family: futura-pt;
    color: #A0A0A0;
}


@media screen and (max-width: 639px){
  #pitch {
    min-height: unset !important;
}

  
  //remove space at bottom of site on mobile//
.Mobile-bar.Mobile-bar--bottom {
  padding: 0;
}
  /* tagline overlap */
a.Header-tagline {
    line-height: 1.2em;
}

Link to comment

And if possible I would prefer the tagline stay all one line and not go to a second line. Not sure if that's what the code is doing or just giving it room for a second line, but if I do that I would think there'd be extra blank space underneath it on the larger screens. 

Link to comment
  • 3 weeks later...

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.