Bubble around text

How can I remove the circular bubble around text on the main header menu?

Hello @patrick7850,

Thanks for asking. :slight_smile:

I am not quite sure what you meant by circular bubble around text. Can you please elaborate? If you are referring to the hover effect and wish to remove the same, then please add following CSS under X > Theme Options > CSS:

.x-navbar .desktop .x-nav>.x-active>a>span, .x-navbar .desktop .x-nav>.current-menu-item>a>span {
    border: 0;
}

.x-navbar .desktop .x-nav>li>a:hover>span {
    border: 0 !important;
}

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.

Hi @Prasant,

Thank you for your help, and the informative video.

The site in question is http://forgelabs.ca/

I have applied the CSS you provided, and it appears to have worked - but has now created a problem where on mouse-over, the menu text jumps to the left slightly. Is there a way to remove this?

Regards.

Hi There,

Please update the provided code to this:

.x-navbar .desktop .x-nav>.x-active>a>span,
.x-navbar .desktop .x-nav>.current-menu-item>a>span,
.x-navbar .desktop .x-nav>li>a:hover>span {
    border-color: transparent;
}

Hope it helps,
Cheers!

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