[Resolved] Background Color for Headlines

Home Forums Support [Resolved] Background Color for Headlines

Home Forums Support Background Color for Headlines

  • This topic has 3 replies, 2 voices, and was last updated 7 years ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #306127
    Ben

    Hi Tom,

    I have a single column layout on my personal blog. It is plain white, black text and a light grey background color. Is it possible to give a background color to the post titles/headlines? That would give a little optical devide between the posts. I use devided containers but with a 0px space – that way it looks best but the blog now seems like an endless paper and I would love to devide things a little.

    Best wishes and thank you!
    Ben

    #306131
    Tom
    Lead Developer
    Lead Developer

    Hi Ben,

    You could try this:

    h2.entry-title {
        background: #EFEFEF;
        padding: 20px;
    }

    Or:

    .archive article:not(:first-child),
    .blog article:not(:first-child),
    .search article:not(:first-child) {
        border-top: 1px solid #DDD;
    }
    #306151
    Ben

    That did it – thank you so much!

    #306300
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

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