Jump to content

How can I left-justify my blog entry title and category/date on Foster template?

Recommended Posts

  • Replies 4
  • Views 649
  • Created
  • Last Reply

Add to Home > Design > Custom CSS. If the code doesn't work, can you share link to blog?

/* align left blog title */
.BlogList-item-title {
    text-align: left !important;
}
/* align left blog date */
.Blog-meta.BlogList-item-meta {
    justify-content: left;
}

Reference: Foster Template Custom CSS

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
9 minutes ago, puffaz said:

Hi Tuan,

I pasted the code in the CSS section, but it didn't seem to work.

The title and date is still centred. It can be seen here: https://www.pascualstudio.com/blog/2020/08/13/howtomakealeathertassel.

Thank you.

 

/* align left blog date - blog list */
.Blog-meta.BlogList-item-meta {
    justify-content: left;
}
/* align left blog date - blog detail */
.Blog-meta.BlogItem-meta {
    justify-content: start;
}
/* align left blog title - blog list */
.BlogList-item-title {
    text-align: left !important;
}
/* align left blog title - blog detail */
h1.BlogItem-title {
    text-align: left !important;
}

 

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

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.