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.

Same pages actions different

  • Hi!!, I have these two classes

    The page-id-3290 show the directory members with this class
    <body class="directory members page page-id-3290 logged-in >

    and other times show the profile public of a user with this class
    <body class="xprofile my-profile profile public page page-id-3290 logged-in>

    I need to do if the page is 3290 and it’s my-profile then I use the following CSS:
    .profile div#item-body {
    display: none;
    }

  • Hi there,

    Are you asking which class to use to target the page?

    If so, use .page-id-3290 instead of .profile.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.