• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Modify color of jQuery UI dialog?

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi I am using this
jquery dialog

What I am trying to set is the title bar to a different color then the light grey.... I don't know how to get access to it???

I can set the white text background by doing this
$("#dialog").css("background-color","color goes here");

But I don't know how to set the title bar to a different color?

Any help would be great I have this as my external script files they are not local so I cann't modify them.


 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Sam, please be sure to take the time to compose descriptive subjects for your posts. I've adjusted this one for you.

jQuery UI widgets are controlled by their theme. You can either tweak the CSS on a page by page basis, or you can create your own theme from scrathc. For the latter, visit the Theme Roller web app.
 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And... why in the world are you importing multiple versions of jQuery in the same page?
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The background is controlled by the .ui-widget-header class and is generally an image, not simply a color.
 
Sam Doder
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok , basically the only way I can modify the title look is to modify the css file,...etc is their somewhere I can download the equivalent of



If I cut and paste these files from my internet explorer the formating of it is not easy to read/modify???

Thanks



 
Bear Bibeault
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I ask again:

Bear Bibeault wrote:And... why in the world are you importing multiple versions of jQuery in the same page?



What you have there is nuts!

And, no, you don't need to modify the CSS file if you don;t want to. You can just override the CSS rules if you prefer.
 
Yeast devil! Back to the oven that baked you! And take this tiny ad too:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic