Jump to content

Aligning Text

Go to solution Solved by paul2009,

Recommended Posts

Site URL: https://bettertotalk.com

Hi,

I'm trying to find a better way of aligning the text in my footer so that the opening times are aligned. I think that TAB should work but in Squarespace pressing that key cycles around blocks. I have used the space key in the image below but obviously they aren't quite lined up. I also tried to use 2 different text blocks, but as you can see in the 2nd screenshot, they start to overlap when on a smaller screen.

Is there a way to implement this?

Thanks in advance!

 

image.thumb.png.b366fa84744fa3628d2078cf0b701cfc.png

 

image.thumb.png.9b3a9dcd449865ba53ab9436dbea8488.png

image.png

Link to comment
  • Solution
27 minutes ago, Phobic78 said:

I'm trying to find a better way of aligning the text in my footer so that the opening times are aligned.

There used to be an Opening Hours feature in Squarespace 7.0 but, as you've found, you must manually create this in Squarespace 7.1.

You may want to use a table for this information, by adding it to a Code Block. For example, add a Code Block and then add the following information to the Code Block (noting the settings in the screenshot below):

<style>
th {
  text-align: left;
  padding-right: 7px;
}  
</style>

<table>
<tr><th>Monday</th><td>08:00 - 22:00</td></tr>
<tr><th>Tuesday</th><td>08:00 - 22:00</td></tr>
<tr><th>Wednesday</th><td>08:00 - 22:00</td></tr>
<tr><th>Thursday</th><td>08:00 - 22:00</td></tr>
<tr><th>Friday</th><td>08:00 - 22:00</td></tr>  
</table>

 

image.thumb.png.cecf701a2e1ee089bebe53acf1f74e2b.png

image.png.7822309ee87617450208b3625b9f9caf.png

  If this post has helped you, please click a 'Like' or 'Thanks' icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
2 hours ago, paul2009 said:

There used to be an Opening Hours feature in Squarespace 7.0 but, as you've found, you must manually create this in Squarespace 7.1.

You may want to use a table for this information, by adding it to a Code Block. For example, add a Code Block and then add the following information to the Code Block (noting the settings in the screenshot below):

<style>
th {
  text-align: left;
  padding-right: 7px;
}  
</style>

<table>
<tr><th>Monday</th><td>08:00 - 22:00</td></tr>
<tr><th>Tuesday</th><td>08:00 - 22:00</td></tr>
<tr><th>Wednesday</th><td>08:00 - 22:00</td></tr>
<tr><th>Thursday</th><td>08:00 - 22:00</td></tr>
<tr><th>Friday</th><td>08:00 - 22:00</td></tr>  
</table>

 

image.thumb.png.cecf701a2e1ee089bebe53acf1f74e2b.png

image.png.7822309ee87617450208b3625b9f9caf.png

  If this post has helped you, please click a 'Like' or 'Thanks' icon below  ⬇️

Thanks @paul2009, this is exactly what I needed!

Link to comment

I'm pleased it helped 🙂

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

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.