• Hi,
    I’m currently working with Learnpress and a third party theme for a client, and need to know what Learnpress uses as a post id. For example, on a normal WordPress page there’s a post ID with the ID number in the URL bar on the edit page, and to select it with CSS you use the ID number and “page”. Obviously there’s more code than that, but I really just need to know what Learnpress uses instead of “page”.

    Please let me know if you need more clarification. When you get down to it, I just need to know what Learnpress calls itself when using it with CSS.

    Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi jkp1122,

    Can you say more clearly about your question?

    Thread Starter jkp1122

    (@jkp1122)

    Yes, I’m currently using this class name in order to target a specific Learnpress lesson in WordPress with CSS, unfortunately it’s not targeting the lesson. I’m attempting to hide the theme’s menu from appearing on this page and all other lesson pages for Learnpress. I’ve confirmed the code is good for that purpose (by testing on other pages), but I don’t know the name for that page.

    Specifically, what should I be using instead of “page” in the code below if it’s a LearnPress lesson page?

    .page-id-785 .vw-menu-main-inner{
    display:none !important;
    }

    Hi jkp1122,

    You can try using the selector .postid-785.

    • This reply was modified 5 years, 1 month ago by hadam.
    Thread Starter jkp1122

    (@jkp1122)

    Sorry, the selector didn’t work

    Can you give me your site URL to check?

    Thread Starter jkp1122

    (@jkp1122)

    Which menu do you want to remove in lesson pages?

    Thread Starter jkp1122

    (@jkp1122)

    The header menu. The other id in that code I listed worked for other pages (with different page selectors), so not sure why this page/post is different.

    Thread Starter jkp1122

    (@jkp1122)

    Hi, did you have a chance to review the lesson/menu? Thanks!

    Can you say more clearly about your mind?

    Thread Starter jkp1122

    (@jkp1122)

    Huh? I just want to use display: none on that page. What code would you recommend? I already have my own, but can’t target the page.

    But the main menu is hidden in the lesson page, Why do you still want to use CSS code to hide it?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘What does Learnpress use as a title for it’s post IDs?’ is closed to new replies.