Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Customizing jquery theme for different component

There are different UI jQuery components available. If I am using a particular jQuery theme and I want to customize the css of any UI component (for example jQuery tab)

My question is how to customize the css of jQuery tab without affecting other components?

The problem I am facing is if I customize the tab css, my css change is partially affecting other components.

like image 543
Soft Avatar asked Mar 19 '26 17:03

Soft


1 Answers

Use a special namespace class... for example mytabs and apply it to a container element. then redefine the themeing classes with this namespace to override... for example:

.mytabs .ui-tabs {}
.mytabs .ui-tab {}

so on and so forth.

like image 189
prodigitalson Avatar answered Mar 22 '26 08:03

prodigitalson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!