need to change the colour of the date on my blog posts

Hello, I have done a search for this but cannot find the answer so would appreciate some help.

In my blog posts the date is visible in the editor but when I publish them it is no longer visible as I pressume the colour of the date must be defaulted to white when pubslihed. However, my background is white so once published, the date is invisible.

This is the same issue for the captions under photos by the way. 

I have gotten around it for the captions by adding a small text box tight up against the photo with my caption in it. The text font colour is editable.

However, there seems to be no way to change the colour of the font for the date element in blog posts. 

Please help with this. If required, my domain is www.madreluna.com.au

Thanks!!

2,340 Views
Message 1 of 10
Report
1 Best Answer

Best Answer

This should do it for you @MaryGior, if you put it in Settings > SEO > Header Code:

<style>
    .blog-date, .date-text
    {
        color: #3e3e3e !important;
    }
</style>

View Best Answer >

2,245 Views
Message 11 of 10
Report
9 REPLIES 9

hi   @MaryGior   blog date colour can be changed  in the  html code   but this  aint always recomended, as it CUSTOMISES your theme, Weebly wont be in a position to help u if it all goes pear shaped.

but   @BJ   is good with over rides which r added to the header code box   and thus do not render ur theme customised

2,329 Views
Message 4 of 10
Report

Thank you for your reply and yes, I hope @BJ will be able to help!!

2,272 Views
Message 4 of 10
Report

Best Answer

This should do it for you @MaryGior, if you put it in Settings > SEO > Header Code:

<style>
    .blog-date, .date-text
    {
        color: #3e3e3e !important;
    }
</style>

2,246 Views
Message 11 of 10
Report

Fantastic, thank you so much!! It worked and was so easy 🙂

You wouldn't have another trick for giving the blog page background a bit of colour or customisation would you? 

2,234 Views
Message 11 of 10
Report

@BJ  @MaryGior 

@Adam  @Bernadette 

thats so cool...    i gotta learn how to do over rides

2,220 Views
Message 11 of 10
Report

If you have some spare time W3Schools can teach you basic CSS pretty quickly, @whitemonkey:

https://www.w3schools.com/css/css_intro.asp

2,204 Views
Message 11 of 10
Report

@BJ    oh cool thanks for that....   

2,203 Views
Message 11 of 10
Report

Sure, that's pretty simple too. This will make it a sort of off-white:

<style>
    body, .content-wrap, .cento-header
    {
        background: #ffffdb !important;
    }
</style>

You can edit the hex code to be a different color, though.

2,205 Views
Message 11 of 10
Report

This worked for me too!
2,012 Views
Message 11 of 10
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.