Menu header fixed in event page

Hello, I would like to leave the menu header fixed in calendar page, as it is other pages using this code. The problem its that I dont know the page name.

.page-id-217 .site-header, 
    .site-header.float-header {
      background-color: rgba(0,0,0,4);
    }

https://rossjoven.com/calendario

I would also like to know how I can make the calendar page private.

Thanks in advance.
Regards,

Hello there,

Try this CSS code:

    .post-type-archive-tribe_events .site-header,
    .post-type-archive-tribe_events .site-header.float-header {
      background-color: rgba(0,0,0,4);  
    }

I hope that helps. Let me know in new topics if you have any other questions.

Regards,
Kharis
aThemes Support

Hi Kharis. Thank for your reply. Your code works fine in calendar page, but doesnt work in single event page (https://rossjoven.com/calendario/2o-encuentro-con-la-ross-2020-2021).

I have one more doubt.

How can I make the calendar page visible only to registered users?

Regards

Hello there,

Thank you for getting back.

Try replacing the code I suggested initially with this one:

    .single-tribe_events .site-header,
    .single-tribe_events .site-header.float-header,
    .post-type-archive-tribe_events .site-header,
    .post-type-archive-tribe_events .site-header.float-header {
      background-color: rgba(0,0,0,4);  
    }

How can I make the calendar page visible only to registered users?

It seems likely this goes beyond the theme support. For that reason, I can only recommend you contact the plugin author.

Regards,
Kharis
aThemes Support

Hello Kharis.

Thanks for your support. Its works fine.
Wich tool do you use to get the elements name??

Regards.

You’re welcome!

I use the web browser’s inspector tool.

Regards,
Kharis
aThemes Support

Hi Kharis, thank you very much.

Regards

1 Like

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis
aThemes Support