• Resolved barnez

    (@pidengmor)


    Hi,
    I have .entry-title {display: none;} set to remove the page title. However, a padding gap remains. With the inspector I can seen an 8rem padding (link). However, if I add .singular .entry-header {padding: 0rem 0} nothing changes. Any ideas?

    Fixed: .singular .entry-header {padding-top: 0rem; padding-bottom: 0rem;}

    • This topic was modified 2 years, 5 months ago by barnez.
Viewing 2 replies - 1 through 2 (of 2 total)
  • In my attempt in the browser this

    .singular .entry-header {
      display: none;
    }

    works without any problems. If you just want the padding gone, then you would have to increase the value if necessary:

    body.singular .entry-header {
     padding: 0;
    }
    Thread Starter barnez

    (@pidengmor)

    Thanks! I also just managed it with .singular .entry-header {padding-top: 0rem; padding-bottom: 0rem;} ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS: How to remove padding after removing page title’ is closed to new replies.