Jump to content

I need help to change colour of date boxes on calendar page

Go to solution Solved by SandNotOil,

Recommended Posts

I have tried to figure it out myself, and I know it's probably simple, but I am just stuck.

I have a What's On calendar list page, and I would like to change the background colour of the small date cube using CSS code to #fecd0a (and preferably with a thin black line edge too, but I don't know if this is possible).

Can anyone help me out?

This is the page - https://www.themudlife.co.uk/whats-on

cube.png

Link to comment
  • Replies 4
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

6 hours ago, SandNotOil said:

I have a What's On calendar list page, and I would like to change the background colour of the small date cube using CSS code to #fecd0a (and preferably with a thin black line edge too, but I don't know if this is possible).

@SandNotOil Try adding this to Custom CSS and then modify to meet your needs:

.eventlist-datetag-inner {
  background: floralwhite;
  border: 1px solid #ddd;
}

Did this help? Please give feedback by clicking an 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.

Link to comment
9 minutes ago, SandNotOil said:

Thanks Paul that worked a treat as you can see, but is there a way to change the line colour too?

line-bit.png

Here is the code for change the line color. You can change the color to your need

.eventlist-datetag-enddate {
    border-color: red !important;
}

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

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.