Budove
Budove

Reputation: 403

Override style in jquery.mobile-1.0b3.min.css

I am building a mobile site using jquery.mobile-1.0b3.min.css. If I download the css file, I lose some of the effects and icons from the theme I'm using. But I need to override some styling in that file even though it's hosted at jquerymobile.com.

The style I need to override is ui-select. The width attribute of this style is width: 60%, but I need to remove that style altogether while leaving the rest intact.

.ui-select {
width: 60%;
display: inline-block;
}

Is there a way to remove width: 60%; without effecting display: inline-block;?

Upvotes: 0

Views: 180

Answers (1)

Kevin Boucher
Kevin Boucher

Reputation: 16675

You can add your own stylesheet that overrides any previous styles. (Just make sure your custom stylesheet loads after the jQuery stylesheet.)

Upvotes: 1

Related Questions