Jump to content

Change button background


mardon

Recommended Posts

Hi all, in my shop I want change the a.button background on test.phpprogramator.cz on homepage i prepare medium-buuton2.gif and edit global.css to

a.button {
   color: #ffffff !important;
   line-height: 21px;
   height: 21px
   background-image: url('../img/button-medium2.gif')
}



but I have the a.button on homepage without background. I need help how I can change image to this button (but only to this)

Link to comment
Share on other sites

You are missing one ; after height: 21px, also you can put ; after back background-image: url('../img/button-medium2.gif') but it is not necessary.

a.button {
   color: #ffffff !important;
   line-height: 21px;
   height: 21px;
   background-image: url('../img/button-medium2.gif')
}

Link to comment
Share on other sites

Because its overwritten by style on line 506 (see attached image).

You can try to change code there or add !important

a.button {
background-image:url("../img/button-medium2.gif") !important;
color:#FFFFFF !important;
height:21px;
line-height:21px;
}


global.css (line 442)

34161_dyDGfljapmIZseVmjCOf_t

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...