Restrict Content plugin
put login shortcode on page you want them to login
options will automatically appear on “Edit Page”
restrict pages to users only using the options
Thanks how can I add a “login|logout” “register” menu
The menu would change to “logout” if login was successful.
Thanks.
Use this CSS:
/*Change LOGIN menu item position*/
@media (min-width: 980px){
.nav-collapse .nav {
width: 100%;
}
li#menu-item-1284 {
float: right;
padding-right: 10%;
}
}
/*Change REGISTER menu item position*/
@media (min-width: 980px){
.nav-collapse .nav {
width: 100%;
}
li#menu-item-1782 {
float: right;
padding-left: 25%;
}
}
/*Change Logout menu item position*/
@media (min-width: 980px){
.nav-collapse .nav {
width: 100%;
}
li#menu-item-1503 {
float: right;
padding-right: 10%;
}
}
Change “menu-item-#” to your own. You may need to adjust padding % to make them how you like.
Here is an example of how it looks: EXAMPLE. Use promo code MERCHANT for a test account.
Get “nav menu roles” plugin to hide Register|Login for logged-in users.
If you provide a link to your site I will input exact code with your menu-item-#s.
Hi Ibogo,
Very nice of you to offer help.
My site is ehrlichreversal.com (nothing fancy as of yet) 🙂
I used the plugin from “Ultimate Member” to help address my CMS.
However still appreciate you taking a look at the site and giving me some feedback.
It would be great to have code with menu-item-#s
Thanks.
Login is normally on the right side.
Simply paste this into Custom CSS:
/*Change LOGIN menu item position*/
@media (min-width: 980px){
.nav-collapse .nav {
width: 100%;
}
li#menu-item-189 {
float: right;
padding-right: 10%;
}
}
Hi,
Any good link for learning CSS and how these themes use them?
Thanks.
So many to choose from, but my faves are:
w3schools
css-tricks
tuts
We only learned this thanks to @d4z_c0nf
he help with same issue long ago 🙂