Answers.Body: <p>If you're on a CiviCRM page as a user with CiviCRM privileges, you will see the CiviCRM menu, including on public facing pages. This is the default behavior that I have observed across Drupal and WordPress.</p>
  <p>WordPress does not have an administration theme the way that Drupal does, so public facing CiviCRM pages are going to pull in CiviCRM stylesheets when rendering that container. I would suggest installing the WordPress &quot;CiviCRM Admin Utilities&quot; plugin, and with that you can set it to prevent CiviCRM stylesheets from loading. This way your theme should take over all of the styling on these pages. You will most likely need to define some additional css in your theme to get things looking good.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-16T23:54:31.923Z
Answers.LastActivityDate: 2022-08-16T23:54:31.923Z
Answers.UserDisplayName: Kristin
Answers.Body: <p>The menu shows because the direct registration pages are in Civi. As such, you're going to see the Civi menu because you have permission to see it when inside Civi.</p>
  <p>When you use the shortcode and put it on a WP page, you're no longer in Civi, so the menu doesn't show.</p>
  <p>I can't answer the part about the theme, as I use Drupal. But in Drupal, I have two settings - one is for the Admin part of Civi and the other is for the public pages for Civi. The public pages part is what shows for me on registration pages regardless of whether I am logged in or not.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-16T14:39:06.630Z
Answers.Text: Yes, thats how CiviCRM operates on Drupal, but thats not how it operates on WordPress, even on demo master.
  
  https://wpmaster.demo.civicrm.org/civicrm/event/register/?id=1&reset=1
  
  If you are logged in (demo, demo) you will see, the menu does not appear.
Answers.UserDisplayName: themak
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-18T06:58:42.860Z
Answers.Text: Do you have the ability to set visibility for menus? Maybe they have it manually set to not show up?
Answers.UserDisplayName: Jenni Simonis
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-08-15T21:09:46.487Z
Answers.LastActivityDate: 2022-08-15T21:09:46.487Z
Answers.UserDisplayName: Jenni Simonis
Body: <p>When I am logged in as a civicrm admin, or anyone with civicrm privs, the menubar is showing up on event registration pages when linked to directly. In addition, backend theme css loads on the frontend too.</p>
  <p>This does not happen when i embed an event registration shortcode on a page. Only when going directly to the event registration page in CiviCRM.</p>
  <p><a href="https://example.org/civicrm/event/register/?id=10&amp;reset=1" rel="nofollow noreferrer">https://example.org/civicrm/event/register/?id=10&amp;reset=1</a></p>
  <p>When not logged in, the menu does not appear, but the backend theme css still seems to load on front facing pages. This happens with any civicrm theme I use.</p>
  <p>If I select a different front end theme in civicrm settings, it makes no difference.</p>
  
Tags: <civievent><menu><theme>
Title: Why would the CiviCRM menu or theme css appear on frontend pages on Wordpress?
ThreadText: # Why would the CiviCRM menu or theme css appear on frontend pages on Wordpress?
  
  (Asked by: username_0 on 2022-08-15)
  
  When I am logged in as a civicrm admin, or anyone with civicrm privs, the menubar is showing up on event registration pages when linked to directly. In addition, backend theme css loads on the frontend too.
  
  This does not happen when i embed an event registration shortcode on a page. Only when going directly to the event registration page in CiviCRM.
  
  <https://example.org/civicrm/event/register/?id=10&reset=1>
  
  When not logged in, the menu does not appear, but the backend theme css still seems to load on front facing pages. This happens with any civicrm theme I use.
  
  If I select a different front end theme in civicrm settings, it makes no difference.
  
  **Tags:** civievent, menu, theme
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2022-08-16. Score: 2
  
  If you're on a CiviCRM page as a user with CiviCRM privileges, you will see the CiviCRM menu, including on public facing pages. This is the default behavior that I have observed across Drupal and WordPress.
  
  WordPress does not have an administration theme the way that Drupal does, so public facing CiviCRM pages are going to pull in CiviCRM stylesheets when rendering that container. I would suggest installing the WordPress "CiviCRM Admin Utilities" plugin, and with that you can set it to prevent CiviCRM stylesheets from loading. This way your theme should take over all of the styling on these pages. You will most likely need to define some additional css in your theme to get things looking good.
  
  
  ---
  
  ### Answer by username_2 on 2022-08-15. Score: 0
  
  The menu shows because the direct registration pages are in Civi. As such, you're going to see the Civi menu because you have permission to see it when inside Civi.
  
  When you use the shortcode and put it on a WP page, you're no longer in Civi, so the menu doesn't show.
  
  I can't answer the part about the theme, as I use Drupal. But in Drupal, I have two settings - one is for the Admin part of Civi and the other is for the public pages for Civi. The public pages part is what shows for me on registration pages regardless of whether I am logged in or not.
  
  > **Comments:**
  > **username_0**: Yes, thats how CiviCRM operates on Drupal, but thats not how it operates on WordPress, even on demo master.  https://wpmaster.demo.civicrm.org/civicrm/event/register/?id=1&reset=1  If you are logged in (demo, demo) you will see, the menu does not appear.  
  > **username_2**: Do you have the ability to set visibility for menus? Maybe they have it manually set to not show up?  
  
  ---
  
  