JQuery user interface and using / not using themes

We use jQuery UI tabs at the top of the page (without using our own styles in the screen.css file) and using jQuery UI Datepicker later on the page.

We want to use the jQuery theme for Datepicker, but we want to use our own tab styles. But as soon as we turn on Themes, it (obviously) styles and is completely in a certain style.

Is there any way to install jQuery UI component for theme or not? Some kind of customizable? Or is it purely the names of the style classes and what you need there? ... It simply does not have empty (without themes) styles, and then tries to undo what sets the styles of the styles ...

+4
source share
2 answers

jQueryUI relies entirely on class names currently imported to the html page. They all start with ui -

Since this is simple CSS, you can do one of two things:

  • cut and paste the classes you want from the css theme into your own css file.
  • import the css theme file and overwrite the classes that interest you using your own css.
+4
source

Check the β€œAdvanced Theme Settings” link on the right side of this download page right in the theme’s drop-down list. There you can define a CSS area to limit the theme to a specific part of the page.

Then you just need to put the css class class in the datepicker parent element.

+4
source

All Articles