Changing font color on a single mobile navigation item

Hello-

You’ll see on my website I have my last navigation item “members portal” in a different font color, weight, and in italics. I want to also do this on the mobile navigation. How can I change navigation item “members portal” to be italics, bold, and red on mobile?

https://christineclemmer.com/

Thank you!

Hi Kim,

Thank you for writing in, I see you did a custom CSS to apply your styling on desktop view.

#menu-item-891 a {
    color: #8f1845 !important;
    font-style: italic;
    font-weight: bold;
}

Please update that to this so it will also apply on mobile.

#menu-item-891 a,
.x-navbar .mobile .x-nav li.portal-nav>a {
    color: #8f1845 !important;
    font-style: italic;
    font-weight: bold;
}

Hope it helps,
Cheers!

THE.BEST. Thank you! Worked awesome

Hi again,

We’re glad it worked. 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

Cheers!

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