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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:05:16+00:00 2026-06-04T13:05:16+00:00

I am thinking of using the Jquery progress bar to show the progress the

  • 0

I am thinking of using the Jquery progress bar to show the progress the user has made in a course.

  • Within the progress bar, I want to show the text Course Progress 70%
  • And I want to change the default grey color of the progress bar

This is what I have done so far – which lets me add the text in the center of the progress bar:

$(function() {
    $( "#progressbar" ).progressbar({
        value: 70
    });
);


<div style="width:600px;" id="progressbar">
    <div style="float:left;color:black;text-align:center;width:100%;padding-top:3px;">Course Progress
</div>

But I cant figure out how to change the color. It doesn’t have to change dynamically – just one color that is not grey 🙂

Thanks

  • 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-04T13:05:18+00:00Added an answer on June 4, 2026 at 1:05 pm

    Presuming you’re using jQueryUI, the progress bar’s background controlled by a CSS attribute – it’s a solid image.

    The style attribute is .ui-widget-header, so you’d want to change the background image for that. In the head of your document, (or if you don’t have access to the head, then the body will do) put the following if you want a fancy background image:

    <style type='text/css'>
        .ui-widget-header {
            background-image: url('link-to-a-new-gradient-bar-here.png') !important;
        }
    </style>
    

    or alternatively, for a simple single-colour background:

    <style type='text/css'>
        .ui-widget-header {
            background-image: none !important;
            background-color: #FF0000 !important; //Any colour can go here
        }
    </style>
    

    The !important is necessary to make sure the new style overwrites the existing CSS.

    Also, you’re missing an end tag on your progress bar HTML.

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

Sidebar

Related Questions

With preferably using jquery id want to update written text from input field into
I'm using jQuery and countdown (jQuery plugin). I want the countdown to run for
I'm thinking about using jquery-ui-map , which is a google map plugin. Are there
I'm thinking about using the java application object to implement a simple cache, to
I was thinking of using a Double as the key to a HashMap but
I was thinking of using AUTONOMOUS_TRANSACTION Pragma for some logging in a batch process.
I'm thinking of using Google Docs as a content management system, and to integrate
I am thinking about using Gears in a project, but I have doubts about
I am thinking of using sed for reading .properties file, but was wondering if
I'm thinking about using a ViewFlipper for an Wizard like Activity. But I see

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.