Title: CSS class
Last modified: August 31, 2016

---

# CSS class

 *  Resolved [simplelogic](https://wordpress.org/support/users/simplelogic/)
 * (@simplelogic)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/css-class-8/)
 * 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://wordpress.org/plugins/the-events-calendar/](https://wordpress.org/plugins/the-events-calendar/)

Viewing 1 replies (of 1 total)

 *  [BeardedGinger](https://wordpress.org/support/users/joshlimecuda/)
 * (@joshlimecuda)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/css-class-8/#post-7292568)
 * 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.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [BeardedGinger](https://wordpress.org/support/users/joshlimecuda/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/css-class-8/#post-7292568)
 * Status: resolved