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 3975494
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:41:31+00:00 2026-05-20T04:41:31+00:00

Is there a way using jquery ui theme roller or otherwise to create more

  • 0

Is there a way using jquery ui theme roller or otherwise to create more than one style for buttons (specifically jquery ui buttons)? If you look at the generated themes – it only seems to allow one button style.

Keywords being “jquery ui”; I understand how to do this in css, but using jquery ui helps keep widgets / css playing nicely.

  • 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-20T04:41:31+00:00Added an answer on May 20, 2026 at 4:41 am

    Yes you can create more then one style using one jQuery UI theme.
    In the example below, i have 3 different buttons each with a different color and all using the same default UI theme. To do this, You need to redefine the UI CSS class of of the element you are working with. For example, to make a button use the UI styling, you need to include the class name ui-state-default. Note how in this example i included this same class for all the buttons. To override this UI class for a specific button we reference the button by adding another class to it then style it in our css and mark it as important. This will override the UI styling for the class you are working with.

    <button class="ui-state-default one">button one</button>
    <button class="ui-state-default two">button two</button>
    <button class="ui-state-default three">button three</button>
    
    button{
        width:200px;
        height:50px;
        display:block;
        margin:10px;
    }
    
    .two{
        background: orange url(http://www.cyrilsframing.com.au/picts/menu.gif) repeat-x 0 0 !important;
        border:1px solid red!important;
    }
    
    .three{
        background: orange url(http://cmshuts.com/picts/background-menu-horz.gif) repeat-x 0 0 !important;
        border:1px solid yellow!important;
    }
    

    View working example at http://jsfiddle.net/7vvhj/2/

    For more on how to style your elements using jQuery UI check the following 2 links

    http://wiki.jqueryui.com/w/page/12137970/jQuery-UI-CSS-Framework

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

was wondering if there is a way to make superfish using jquery ui theme
Is there any way to theme an HTML table (CSS) with using the jQuery
Using jQuery, is there a way to select all tag that reference a specific
I know you can do it for jQuery using jQuery.noConflict. Is there a way
Is there a better way then using jQuery.browser , or equivalents , for determining
Is there a way to find out page end using Jquery, so that a
Is there a way, using jQuery, to force a form to wait until a
Is there a way using the iPhone SDK to get WiFi information? Things like
In .net, is there a way using reflection to determine if a parameter on
I have a simple question. Is there a way ( using reflections I suppose

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.