Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6231859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:00:41+00:00 2026-05-24T10:00:41+00:00

Using jQuery UI gives me these nice stylesheets. These apply to the widgets, …

  • 0

Using jQuery UI gives me these nice stylesheets. These apply to the widgets, … of jQuery UI. But how could I apply these styles to my own HTML elements to have the same look and feel?

When I change the jQuery UI theme I want my pages to change accordingly. I am aware there are similar questions such as ” jQuery UI Themeroller Question “. There it is said I can only open the CSS and manually apply a CSS class to my elements.

Is there no better / official way to do it? Especially with the Theme Switcher I could easily have a customizable UI.

— Add on to original question —

OK, all of you explain me, that I have to manually apply the css class to my element. I appreciate the information and you certainly have more CSS experience than I do. However, when I later want to change the style, I have to change this (jQuery UI) class in many places – e.g. all td elements. So in my CSS files I prefer to apply styles via selectors.

Q: Can I re-apply a class (of the jQuery UI css) with a selector, something like “apply class XYZ to all of my table headers in div “ABC”?

I could do this via jQuery selection, but can I do it within “my css”?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T10:00:42+00:00Added an answer on May 24, 2026 at 10:00 am

    In firefox/chrome

    Right click the element whose style you want to copy, and select inpsect element. Note which classes it belongs to.

    Add those classes to your elements

    to answer your td question above:

    you could create a td class in your css, and copy the styles from the jquery ui csss file to it:

    td{
     //Styles go here
    }
    

    also, you asked “apply class XYZ to all of my table headers in div “ABC”?” add this to your css file

    if the divs ID is ABC

    div#ABC th{
       //Styles Go Here
    }
    

    if the divs class is ABC

    div.ABC th{
       //Styles Go Here
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using jQuery, how would you find elements which have a particular style (eg: float:
I'm using JQuery to extract the src and href from elements in the DOM
I'm usually a C# developer, but writing a mostly-client side application using jQuery. It
I'm trying to combine the codes from these two questions: using jQuery to slideToggle
I am creating dynamic controls using jQuery by reading the query string parameter. These
I need to access XML files with JQuery. I tried these two ways but
What is the best possible way using jQuery to give height and width to
I am using jQuery idTabs pluging. I want to give hover feature and use
Using jQuery , how can I dynamically set the size attribute of a select
Using jQuery, how do you bind a click event to a table cell (below,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.