Jump to content

Underline page title

Recommended Posts

Site URL: https://www.bbarinaga.com/bap

site url: https://www.bbarinaga.com/bap

password: 1234

 

Hi! 

I wonder if someone can help me.

I'm trying to underline the title pages on my web. However, I'm struggling with width. I tried setting it to a %, but it varies depending on the word (obviously).

Is there a way to set the line to the width of the text?

Please see screenshot: I want the yellow line to appear only under the title.

Thank you!

 

underline1.thumb.png.eee15ae57fc6ab79ac42425285a23494.png

 

Link to comment
  • Replies 5
  • Created
  • Last Reply
3 hours ago, bbarinaga said:

Site URL: https://www.bbarinaga.com/bap

site url: https://www.bbarinaga.com/bap

password: 1234

 

Hi! 

I wonder if someone can help me.

I'm trying to underline the title pages on my web. However, I'm struggling with width. I tried setting it to a %, but it varies depending on the word (obviously).

Is there a way to set the line to the width of the text?

Please see screenshot: I want the yellow line to appear only under the title.

Thank you!

 

underline1.thumb.png.eee15ae57fc6ab79ac42425285a23494.png

 

There’s an easy way to do this! Let me test a code real quick.

Link to comment
12 minutes ago, inunzi said:

There’s an easy way to do this! Let me test a code real quick.

Ok if your on sqaurespace 7.1 this will work but im not sure if it will work on 7.0. So, creat a code block and then type in this code below, into your code block and you can customize it however you want! If you have any questions please let me know and, also if you would like to change the underline color, I can give you the code for that too if you would like 😁!

<CENTER> <h5>
         <p><u>Test Title</u></p>
</body>
</html>

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.