How to add a member login button on the front?

How to add a member login button on the front ?
example:

Hello @cerminjiwa,

Thanks for asking. :slight_smile:

If you would like to add a login button then you can add a new custom menu from Appearance > Menus. After that you can style the menu as a button using custom CSS. Please take a look at the screencast that I have recorded for you to get started. https://cloudup.com/cjkyq1pPr03

Here is the CSS code:

li#menu-item-1925 {
    background-color: #ddd;
}

li#menu-item-1925 a {
    color: #000;
}

In above code, please make sure to replace menu id.

In the video I have also shown you how you can locate menu id. For more details, you can refer following post:

https://wpsites.net/tools/find-nav-menu-item-i-d/

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Thanks.

1 Like

okay thank you

Glad we were able to help :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.