Title: Authorization menu
Last modified: March 3, 2022

---

# Authorization menu

 *  [Pavel](https://wordpress.org/support/users/playinescape11/)
 * (@playinescape11)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/authorization-menu/)
 * Hello
    Can someone help with displaying different content for authorized and 
   unauthorized user in the menu header. I use Riode theme + WooCommerce plugin.
 * [For more information, I attach a layout of what functionality is needed.](https://drive.google.com/drive/folders/1DrHaB29jDznyPSyLelS2nmRKZlFDeowR?usp=sharing)
   I will be grateful for help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fauthorization-menu%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Support [Aswin Giri](https://wordpress.org/support/users/aswingiri/)
 * (@aswingiri)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/authorization-menu/#post-15424001)
 * Hello [@playinescape11](https://wordpress.org/support/users/playinescape11/)
 * You can set up a navigation menu. Ultimate member offers functionality to display
   menu items based on the user’s logged-in/logged-out status.
 * Since you have icons and buttons in the header, you will have to write some CSS
   to style menu items and make them look like what you have in the layout.
 *  Thread Starter [Pavel](https://wordpress.org/support/users/playinescape11/)
 * (@playinescape11)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/authorization-menu/#post-15425266)
 * Implement the css through functions.php or style.css ?
    -  This reply was modified 4 years, 2 months ago by [Pavel](https://wordpress.org/support/users/playinescape11/).
 *  Plugin Support [Aswin Giri](https://wordpress.org/support/users/aswingiri/)
 * (@aswingiri)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/authorization-menu/#post-15425371)
 * Hello [@playinescape11](https://wordpress.org/support/users/playinescape11/)
 * You can add CSS to your theme’s style.css or customizer but I recommend you add
   CSS from Customizer and as theme update might wipe out your custom CSS codes 
   if you are not using a child theme.
 * Please navigate to **_wp-admin > Appearance > Customize > Additional CSS_** and
   add your custom CSS
 *  Thread Starter [Pavel](https://wordpress.org/support/users/playinescape11/)
 * (@playinescape11)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/authorization-menu/#post-15425599)
 * Can you help and tell me exactly how it can be implemented?
 *  Plugin Support [Aswin Giri](https://wordpress.org/support/users/aswingiri/)
 * (@aswingiri)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/authorization-menu/#post-15425727)
 * [@playinescape11](https://wordpress.org/support/users/playinescape11/)
 * I won’t be able to completely help but I can give you an example of what can 
   be done.
 *     ```
       add_action('wp_head',function(){
       ?>
       <style>
       	/* Icon style */
       	.menu-item-88 > a  {
       		font-size:0;
       	}
   
       	.menu-item-88 > a:before {
           	content: "\f013";
       		font-family: "FontAwesome" !important;
       		font-size:20px;
       	}
       	/* Button style */
       	.menu-item-89 > a {
       		border:1px solid #cd2653;
       		border-radius:5px;
       		padding:10px 20px;
       		margin-top:-10px;
       	}
       </style>
       <?php
       });
       ```
   
 * You will also have to load font icon CSS if it is not already loaded by your 
   theme or any of the plugins. I have added CSS with a hook that can be added to
   the functions.php file but you can only copy CSS part on your _wp-admin > Appearance
   > Customize > Additional CSS_ and you will have to replace “**menu-item-89**”
   and “**menu-item-88**” with the class name generated on your menu’s li element.
 * I hope this helps.
 *  Thread Starter [Pavel](https://wordpress.org/support/users/playinescape11/)
 * (@playinescape11)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/authorization-menu/#post-15425971)
 * Thank you for your feedback

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Authorization menu’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [authorization](https://wordpress.org/support/topic-tag/authorization/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [menu](https://wordpress.org/support/topic-tag/menu/)

 * 6 replies
 * 2 participants
 * Last reply from: [Pavel](https://wordpress.org/support/users/playinescape11/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/authorization-menu/#post-15425971)
 * Status: not resolved