Tabs style 1

Regarding: bootsnipp.com/snippets/exE6D

Hi, my friend.

how to configure the nav-item active to always be highlighted.

Thanks for help!

Biosis-Developer (1) - 4 years ago - Reply 1


Hello

If you want to set any nav-item and tab-content to be active, add 'active' to the class of nav-item and add 'show active' to the class of the related tab-content, thus it will be active each time you open the page. Otherwise, if you want to show the active effect always even you are switching between tabs you should create new custom class and copy the .active class content to it also .active:after . For example

.alwaysactive{

// content

}

.alwaysactive:after{

// content

}

Then add your class to nav-item

Hope it helps

Thank you

obadasaada (0) - 4 years ago - Reply 1


Ok. Thank you for help!

Biosis-Developer (1) - 4 years ago - Reply 0