[Resolved] Blog content colour

Home Forums Support [Resolved] Blog content colour

Home Forums Support Blog content colour

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #117146
    Mark Flint

    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

    #117147
    Mark Flint

    Oh and the site is http://www.b2bgraphics.flintmarketing.co if you needed to look.

    #117166
    Tom
    Lead Developer
    Lead Developer

    Hi Mark,

    Give this a go:

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

    Nice site! ๐Ÿ™‚

    #117167
    Mark Flint

    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.

    #117179
    Tom
    Lead Developer
    Lead Developer

    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;
    }
    #117192
    Mark Flint

    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…

    #117196
    Tom
    Lead Developer
    Lead Developer

    Thanks so much! I appreciate it ๐Ÿ™‚

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.