• Resolved simplelogic

    (@simplelogic)


    Hi. Love your plugin. Great job. Hopefully this one will be an easy one for you to answer!

    I have a few pages on my site that use a transparent navigation at the top until you scroll down. I can make this happen by adding some custom css to the child theme, but I can’t figure out how to call out the pages your plug-in creates.

    For instance I use this css for blog posts and woocommerce pages.

    .single-post .x-navbar {
    background-color: rgba(0,0,0, 0.8) !important;
    }

    .woocommerce .x-navbar {
    background-color: rgba(0,0,0, 0.8) !important;
    }

    I’ve tried .tribe-events, etc.. but I can’t seem to find the right class you are using to call your pages.

    Any ideas?

    https://ww.wp.xz.cn/plugins/the-events-calendar/

Viewing 1 replies (of 1 total)
  • Hey simplelogic,

    A consistent body class that you can target that should work for all the views would be “.tribe-events-page-template” followed by any additional target that you have.

    Let me know if this helps.

    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘CSS class’ is closed to new replies.