How to change navigation border size on icon stack

I am using this css I would like to know how I can make the border on hover larger

x-navbar .desktop .x-nav>li>a:hover>span {
border-color:rgb(147 203 223);
}
.x-navbar .desktop .x-nav>.x-active>a>span, .x-navbar .desktop .x-nav>.current-menu-item>a>span {
border-color: rgb(147 203 223);
}

Hello George,

Thanks for writing in!

To increase the border thickness, you can simply add border-width CSS property.
For more details, kindly check out this documentation:

For example;

.element-class {
   border-color: red;
   border-width: 5px;
}

Feel free to make adjustment as you need. Here are some related links for further reading, this could help you in finding and implementing some CSS fixes:

Hope this makes sense.

Thanks it made sense it works

The hover border is the issue I need to fix

Hello George,

The basic HTML for the hover can be like this:

/* active state */
.element-class {
   border-color: red;
   border-width: 5px;
}

/* hover state */
.element-class:hover {
   border-color: red;
   border-width: 5px;
}

You can check out this HTML documentation here:
https://www.w3schools.com/cssref/sel_hover.asp

You need to use the Google Chrome Developer Toolbar to check the live HTML code and find which CSS selector you need to use.

Best Regards.

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