Jump to content

Help with CSS


Recommended Posts

Hey guys and girls... i have found this

.topbar-inner, .topbar .fill {

background-color: #95cb56;

background-color: #95cb56;

background-repeat: repeat-x;

background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222));

background-image: -moz-linear-gradient(top, #333333, #222222);

background-image: -ms-linear-gradient(top, #333333, #222222);

background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0096ff), color-stop(100%, #222222));

background-image: -webkit-linear-gradient(top, #333333, #222222);

background-image: -o-linear-gradient(top, #333333, #222222);

background-image: linear-gradient(top, #333333, #222222);

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);

-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);

-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);

box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);

}

 

 

and change the back ground color but it doest change the color... what else could be wrong?

Link to comment
Share on other sites

Hey guys and girls... i have found this

.topbar-inner, .topbar .fill {

background-color: #95cb56;

background-color: #95cb56;

background-repeat: repeat-x;

background-image: -khtml-gradient(linear, left top, left bottom, from(#333333), to(#222222));

background-image: -moz-linear-gradient(top, #333333, #222222);

background-image: -ms-linear-gradient(top, #333333, #222222);

background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #0096ff), color-stop(100%, #222222));

background-image: -webkit-linear-gradient(top, #333333, #222222);

background-image: -o-linear-gradient(top, #333333, #222222);

background-image: linear-gradient(top, #333333, #222222);

filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);

-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);

-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);

box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);

}

 

 

and change the back ground color but it doest change the color... what else could be wrong?

 

You'll need a hex code for a "light" version of the colour you want, then a "dark" version. Then, change the two numbers in the "linear-gradient" styles to those numbers. That should do it.

 

Alternatively if you want it to just be a flat colour, not a gradient, just remove those styles.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated