Customizing the Kadence Theme Rounded Navbar and Enhanced Header Design

By WP Scriptly

Posted: 9m & 3d ago
🕑 1 min read

👁 Views: 5,140

(2) Leave a Comment

CSS - WpScriptly

To add rounded corners to the bottom header wrap in the Kadence theme, I applied a rounded border to the navbar. Occasionally, I’ve noticed that the inner header background color behind the navbar differs from the overall site theme. To address this, I added custom CSS to ensure consistency.

The real magic happens in the bottom section of the site, where I override the default theme CSS. I included a border, border-radius, and shadow to enhance the look and feel of the header. Additionally, I added borders between the navbar links using border-left and set a line height of 1 for improved spacing and readability.

*Make sure to use the last row called Bottom.

I use fluent snippet plugin for all my functions, js, and CSS:

Adjust the CSS to fit your theme. By chaing the colors and other items in the CSS below.

CSS:

.site-header-inner-wrap {
    background: #eee!important;
}
.site-bottom-header-wrap .site-header-row-container-inner {
    background: #F9FAFB;
    border: 1px solid #F0F0F0!important;
    border-radius:8px!important;
    box-shadow: 0px 0px 1px rgb(0 0 0 / 10%), 0px 4px 8px rgb(0 0 0 / 10%);
}
.main-navigation .primary-menu-container > ul > li.menu-item > a {
border-left: solid 1px #E1E1E1; 
line-height:1;
}

Author: WP Scriptly, Admin at WpScriptly

Hey, I’m Scot, the guy behind WpScriptly. I create simple, no-fluff WordPress plugins and tools to make your site easier to manage and more powerful. Everything I build is tested on my own projects first — if it’s here, it’s because it works. Thanks for checking out the site. Hope you find something useful at Wp Scriptly.

*These scripts and plugins are provided as is with no guarantees or warranties. If you need assistance or run into issues, feel free to reach out via the contact page.

2 Comments