• Resolved advent12

    (@advent12)


    Hello,

    anyone able to help me write a rule that specifies line spacing on all pages except one? (services).

    I currently have:

    .page p {
    line-height: 2em;
    padding-bottom: 15px;
    }

    I would like to exclude services. I’ve tried a couple things but not working so far.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Can you post a link to the “Services” page?

    Thread Starter advent12

    (@advent12)

    Thanks! Gave idea to look at page id.

    So, for anyone else:

    .page p {
    line-height: 2em;
    padding-bottom: 15px;
    }

    /*Replace # with your page id found in edit page header*/

    .page-id-# p {
    line-height: 1em;
    padding-bottom: 5px;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘.page .p line space. …all but one page? :not(service)?’ is closed to new replies.