<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Changing colours on tabs and accordions

Replies: 0

Hello,

I have tried changing the colours on the tabs and accordion headings to match my theme but nothing is working. I have tried in the theme css file and the WP Customise Additional CSS with the following:

.nav-pills .nav-link.active, .nav-pills .show >.nav-link {
color: #fff;
background-color: #2d8dc1;
}

I am using a child theme of Understap which uses Bootstrap 5.

Please help, where or how do I style the tabs and accordions?

Cheers,
Tracy

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer