Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

CSS – ClassContent & Page ID

Home / Forums / Virtue Theme / CSS – ClassContent & Page ID

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
November 11, 2016 at 3:13 pm

Hi Ben, Hannah and Kevin,

On my inner pages I have inserted padding between the header and the page title section with:
PAGE EXAMPLE –

.contentclass {
padding-bottom: 30px;
padding-top: 40px;
}

Of course this would make the same spacing on the home page. I have confirmed that my page id is 9 and have inserted this css but I still have spacing.
PAGE EXAMPLE:

.page-id-9 .contentclass {
padding-top: 0px;
}

I know I am missing something on this, and it is probably right there in front of me, any ideas?

Thanks,
Chad

  • The forum ‘Virtue Theme’ is closed to new topics and replies.