Jump to content

Change the position and styling of meta tag (category) on blog page

Go to solution Solved by tuanphan,

Recommended Posts

Posted
On 3/22/2022 at 3:09 AM, tuanphan said:

Add to Design > Custom CSS

/* move categories */
.blog-meta-section {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: white;
    padding: 5px;
}

 

Hi, thanks for this it works except for it's displaying in the top right not bottom right. 

Also, how can I can the text eg. make uppercase?

Thanks

Screenshot 2022-03-27 at 10.09.36.png

Posted
On 3/27/2022 at 4:14 PM, JessCot said:

Hi, thanks for this it works except for it's displaying in the top right not bottom right. 

Also, how can I can the text eg. make uppercase?

Thanks

Screenshot 2022-03-27 at 10.09.36.png

Try this new code

/* move categories */
.blog-meta-section {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: white;
    padding: 5px;
}
.blog-meta-section * {
    text-transform: uppercase !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!)

  • 5 months later...
Posted

This is a great post. 

Can anyone tell me if this can be done in some way for a blog made with a 7.0 template?

I tried the CSS but it only seams to work with 7.1 

Thanks so much. 

Posted
On 9/2/2022 at 5:10 PM, theisdahl said:

This is a great post. 

Can anyone tell me if this can be done in some way for a blog made with a 7.0 template?

I tried the CSS but it only seams to work with 7.1 

Thanks so much. 

If you share link to blog page in 7.0, we can check & adjust the code easier.

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!)

Posted
On 9/5/2022 at 2:38 PM, theisdahl said:

This is the blog where I would like to have a more clear indication between blog posts and Case Studies.

https://www.cobira.co/blog

Thanks 

Thank you.

You want to move "Case study" to top right of image, like this?

Screenshot 2022-03-27 at 10.09.36.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!)

Posted (edited)

Hi 

Yeah I have made a graphic explaining how here. 

This is the URL to the blog: 

Please see screenshot. 

Thank you very much 💪

 

Screenshot 2022-09-07 at 09.45.51.png

Edited by theisdahl
  • Solution
Posted
19 hours ago, theisdahl said:

Is there anyone out there that has come up with a solution like this for Brine 7.0 theme?

Thanks 

Add to Design > Custom CSS

.Blog-meta.BlogList-item-meta {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: black;
    z-index: 999999;
    padding-left: 10px;
    padding-right: 10px;
}
article {
    position: relative;
}
.Blog-meta.BlogList-item-meta * {
    color: white !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!)

Posted (edited)
On 9/9/2022 at 10:11 AM, tuanphan said:

Add to Design > Custom CSS

.Blog-meta.BlogList-item-meta {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: black;
    z-index: 999999;
    padding-left: 10px;
    padding-right: 10px;
}
article {
    position: relative;
}
.Blog-meta.BlogList-item-meta * {
    color: white !important;
}

 

Thanks @tuanphan

This worked great 💪

Cheers 

Edited by theisdahl
  • 1 year later...
Posted

@tuanphan Hello! I'm looking to add some padding *between* my blog categories. Right now they are touching. I've used the following CSS so far (see screenshot):

/* Metadata Pill Style - For Blog - Ghost */

.blog-categories, .blog-author, .blog-date, .blog-meta-item {
  background: #F2F0ED;
  border: 2px solid #0560B5;
  padding: 7px 13px;
  border-radius: 50px;
}

.blog-meta-item {
  display: inline-block !important;
  margin: 5px !important;
}

/* Changes metadata categories font */

.blog-meta-section a.blog-categories {
   font-family: 'Work Sans' !important;
}
 

The website is: https://upwardpartners.squarespace.com/?password=brian 

 

Thanks so much in advance for any advice!!

Screenshot 2024-08-24 at 1.23.46 PM.png

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.