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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:01:29+00:00 2026-06-12T20:01:29+00:00

I have a jQueryUI Dialog, but the X to close it is the same

  • 0

I have a jQueryUI Dialog, but the X to close it is the same color as the background. How could I change it. I’ve used the jqueryUI CSS hosted on their site, and it works, so it must be my jQuery theme. I have a live example at http://www.tapmeister.com/dialog/, and the code is listed below. Thanks

<!DOCTYPE HTML>
<html>
    <head>
        <title>test</title>
        <meta charset="utf-8" />
        <meta name="robots" content="noindex" />
        <script src="http://code.jquery.com/jquery-latest.js"></script>
        <link href="css/ui-lightness/jquery-ui-1.9.0.custom.css" type="text/css" rel="stylesheet" />
        <script src="js/jquery-ui-1.9.0.custom.min.js" type="text/javascript"></script>
        <style type="text/css">
            .ui-dialog-titlebar { border:0; background:none; color:#000000; }
        </style> 

        <script type='text/javascript'>
            $(document).ready( function() {$("#dialog").dialog({autoOpen: true});});
        </script>

    </head>

    <body>
        <div id="dialog" title="Title">Hi There!</div>
    </body>
</html>
  • 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-06-12T20:01:30+00:00Added an answer on June 12, 2026 at 8:01 pm

    Your image color is white: http://www.tapmeister.com/dialog/css/ui-lightness/images/ui-icons_ffffff_256x240.png

    Open the file in Photoshop or some other photo editing program. Then do a color overlay to the color you want. In Photoshop it would be “menu > layer > layer style > color overlay”. Save, then upload file.

    It may be better just to use your existing orange image. Just use CSS opacity.

    .ui-widget-header .ui-icon {
    background-image: url(images/ui-icons_ef8c08_256x240.png);
    opacity: 0.4;
    filter: alpha(opacity=40);
    }
    
    .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
    background-image: url(images/ui-icons_ef8c08_256x240.png);
    opacity: 1;
    filter: alpha(opacity=100);
    }
    

    This way there will be one less image called.

    EDIT:

    Find Code:

    .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
    background-image: url(images/ui-icons_ef8c08_256x240.png);
    }
    .ui-widget-header .ui-icon {
    background-image: url(images/ui-icons_ffffff_256x240.png);
    }
    

    Replace With:

    .ui-widget-header .ui-icon {
    background-image: url(images/ui-icons_ef8c08_256x240.png);
    opacity: 0.4;
    filter: alpha(opacity=40);
    }
    
    .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {
    background-image: url(images/ui-icons_ef8c08_256x240.png);
    opacity: 1;
    filter: alpha(opacity=100);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a modal form that is pretty much same as this one: http://jqueryui.com/demos/dialog/modal-form.html
I am trying to use the jQueryUI dialog in an MVC3 application but having
I have a modal dialog (jqueryui) that contains an accordion (jqueryui). The accordion is
I am using Jquery-UI dialog library but when I try to close it, there
some how i manage to have jquery transfer effect working with jquery dialog but
I am tring do add a jqueryui dialog to my webpage, but when it
I'm creating a popup dialog using jQueryUI. I have run into problems because I'm
I have a jqueryui dialog defined with maxWidth. $(#myDialog).dialog({ autoOpen: false, width: 'auto', maxWidth:
I have an aspx page that contains a dialog box defined with JQueryUI $('#dialog').dialog({
I have JQuery UI Dialog opening on pressing CTRL + Q using the following

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.