Support » Theme: Coraline » Placing Border Around Post and Photo ADJUSTMENT

Viewing 1 replies (of 1 total)
  • Moderator Kathryn

    (@zoonini)

    Automattic Happiness Engineer

    There are a couple of ways to achieve your goal.

    One is to target only the types of pages that you want to affect with your border.

    So for example, let’s say you only wanted to affect single posts, adding the .single class in front of your existing CSS:

    .single .hentry {
      margin: 0 0 3.4em;
      border:3px solid #000;
      background: #EEEEEE;
      padding: 20px;
    }

    If you wanted the border both on the blog page and single posts, you’d use this:

    .single .hentry, .blog .hentry {
      margin: 0 0 3.4em;
      border:3px solid #000;
      background: #EEEEEE;
      padding: 20px;
    }

    And so on. If you need further help, just let me know!

Viewing 1 replies (of 1 total)
  • The topic ‘Placing Border Around Post and Photo ADJUSTMENT’ is closed to new replies.