Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Hook

  • I need to do the following:

    If the page is X then I use this CSS

    .profile div#item-body {
    display: none;
    }.

    How can I do that?

  • Hi there,

    You can directly add the body class with page id to the CSS.

    If the page id is x, you can change it to:

    .page-id-x .profile div#item-body {
        display: none;
    }

    or this if profile is a body class.

    .page-id-x.profile div#item-body {
        display: none;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.