Site logo

Archived topic

Blog content colour

6 replies · Started by Mark Flint on June 28, 2015

Viewing posts 1–7 of 7

Hi Tom,

My background colour is currently set to #263238 and I want the content colour on the blog pages to be this slightly lighter colour: #37474F, so all the masonry is visible. I can't have this as the content colour site-wide though as it's not working correctly with Page Builder (it's colouring in a strip all down the middle behind the Page Builder rows...).

Is there a way to set the content colour for just the blog pages? I tried a few pieces of CSS from other support posts but it didn't work flawlessly.

Cheers,

Mark

Hi Mark,

Give this a go:

.blog .inside-article,
.archive .inside-article {
      background-color: #37474F;
}

Nice site! :)

Cheers! The code worked, but not flawlessly: http://www.b2bgraphics.flintmarketing.co/news

This is the problem I had before with the other CSS I tried... I could add padding to sort the content out but then this doesn't scale so well, and the margins between the older articles aren't there.

So the issue is the padding?

Adding it to the CSS doesn't work?

.blog .inside-article,
.archive .inside-article {
      background-color: #37474F;
      padding: 40px;
}

I swear I tried exactly that and it didn't work, but now it is! Thanks for your help; looks exactly like I want it to.

Think it's about time I bought you a coffee...

Thanks so much! I appreciate it :)

This archived topic is closed to new replies.