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

  • Home
  • SEARCH
  • 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 6669953
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:12:41+00:00 2026-05-26T03:12:41+00:00

I have a div tag in my modal dialog built using JQuery like this:

  • 0

I have a div tag in my modal dialog built using JQuery like this: div id=”dialogxxxx” title=”xxxxx” . I want to just change the font and background color of the title alone, i.e. only the place where the title is displayed. Right now it has a default color and font. I want to change it to a specific color, but do not want to change the background color and font of the entire div, just the place where the title is displayed. Is there a way to do this? I tried adding style tag to the div, but that changes the background color of the entire div, not the title alone. I also tried doing div#title, that didnt help either.

Any pointer/help is greatly appreciated.

Thanks,

Asha

  • 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-26T03:12:42+00:00Added an answer on May 26, 2026 at 3:12 am

    If you want a quick-n-dirty way, you can simply override the .ui-widget-header css rule, e.g.

    .ui-widget-header {
      background: red;
    }
    

    See this in action: http://jsfiddle.net/william/NgVAu/.

    If you want a more maintainable approach, you should use the ThemeRoller, configuring the “Header/Toolbar” section. If you open up your css file, you can find a URL to the ThemeRoller with the theme it’s using. It is located in the second lot of comment, after “To view and modify this theme”, e.g.

    /*
     * jQuery UI CSS Framework @VERSION
     *
     * ...
     * http://docs.jquery.com/UI/Theming/API
     *
     * To view and modify this theme, visit http://jqueryui.com/themeroller/?...
     */
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a scrollable div tag (overflow). Now I'd like to use mouse to
I have a function that prepends a li tag to a parent div just
I have a jQuery modal dialog with an iFrame in it that shows some
I have setup a jQuery UI modal dialog to display when a user clicks
so I have a modal dialog i use with jQuery in my asp .net
I am having some trouble with jQuery. I want to have a dialog box
I have a div tag styled through CSS. I set the padding to 10px
I have a Div Tag which contains 4 child Div Tags <Div id=Parent> <div
I have a list of images within a div tag with the id sIMG
I have a div with a <h1> tag in a div, with no margins.

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.