Jump to content

Edit The Site Title in the Header

Recommended Posts

 

My client has her site title like this:

Renée Sentilles |  Original Art & Design

 

She would like it to look like this the one below. Which has a pipe and smaller text to the left.

I could make an image of it but I'd rather keep the text. Is there CSS that would make this work?2.jpeg

Thanks, Lots,

George Cartwright

Edited by gcart
Link to comment
  • gcart changed the title to Edit The Site Title in the Header
  • Replies 3
  • Views 502
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 2 weeks later...
On 3/5/2023 at 8:51 AM, gcart said:

Thank you Tuan, sorry to be so long to get back to you.

      I have a line underneath it but to the side might be better.
Here's the url:

 

https://reneesentilles.com/

Don't remove any code in your current code. Add this CSS

@media screen and (min-width:992px) {
a#site-title {
    display: flex;
    align-items: center;
}
/* add a line between 2 texts */
a#site-title:before {
    content: "";
    order: 2;
    height: 80px;
    display: block;
    width: 2px;
    background-color: black;
}
/* tagline size */
a#site-title:after {
    order: 3;
    padding-left: 20px;
    font-size: 14px;
}
}

image.png.86171dcdc92c180f08b4ff59e4f498c6.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.