- Posts: 19
- Thank you received: 0
Buttons' CSS
-
Alexandros
Inactive member - Topic Author
- New Member
Less
More
12 years 10 months ago #14916
by Alexandros
Replied by Alexandros on topic Re: Buttons' CSS
Thank you so much Milos! I've disabled that line and now it's using the correct image. I don't have the same effect though when I hover on the button. This maybe too easy but since I'm a newbie, could you help me with what to add in order to have the same effect?
The hikashop code is:
a.hikashop_cart_button, a.hikashop_cart_button:hover, a.hikashop_compare_button, a.hikashop_compare_button:hover {
background-image: url("../images/button.jpg");
border: 1px solid #356AA0;
color: #000000;
cursor: pointer;
float: left;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 11px;
padding: 3px 8px;
text-decoration: none;
white-space: nowrap;
Thank you!
The hikashop code is:
a.hikashop_cart_button, a.hikashop_cart_button:hover, a.hikashop_compare_button, a.hikashop_compare_button:hover {
background-image: url("../images/button.jpg");
border: 1px solid #356AA0;
color: #000000;
cursor: pointer;
float: left;
font-family: Verdana,Arial,Helvetica,sans-serif;
font-size: 11px;
padding: 3px 8px;
text-decoration: none;
white-space: nowrap;
Thank you!
Please Log in to join the conversation.
-
milos
Support Staff - Moderator
Less
More
- Posts: 6745
- Thank you received: 716
12 years 10 months ago #14932
by milos
Replied by milos on topic Re: Buttons' CSS
Try adding !important next to the property that does not work. In example, if you have trouble with background image, change this line to:
background-image: url("../images/button.jpg") !important;
background-image: url("../images/button.jpg") !important;
Please Log in to join the conversation.
-
Alexandros
Inactive member - Topic Author
- New Member
Less
More
- Posts: 19
- Thank you received: 0
12 years 10 months ago #15034
by Alexandros
Replied by Alexandros on topic Re: Buttons' CSS
I added !important after each line of the code that I added at the bottom of template_css.css but it didn't work.. Any hints?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 10 months ago #15037
by ivan.milic
Replied by ivan.milic on topic Re: Buttons' CSS
Maybe just needs refresh ??
Please Log in to join the conversation.
-
Alexandros
Inactive member - Topic Author
- New Member
Less
More
- Posts: 19
- Thank you received: 0
12 years 10 months ago #15043
by Alexandros
Replied by Alexandros on topic Re: Buttons' CSS
I refreshed after the changes Ivan.. The code now is:
.button{
background-image:url(../images/button.jpg)!important;
border:1px solid #356AA0 !important;
color:#000000 !important;
font-family:Verdana,Arial,Helvetica,sans-serif !important;
font-size:11px !important;
padding:3px 8px !important;
text-decoration:none !important;
cursor:pointer !important;
float:left !important;
white-space:nowrap !important;
}
but the hover effect does not apply.
.button{
background-image:url(../images/button.jpg)!important;
border:1px solid #356AA0 !important;
color:#000000 !important;
font-family:Verdana,Arial,Helvetica,sans-serif !important;
font-size:11px !important;
padding:3px 8px !important;
text-decoration:none !important;
cursor:pointer !important;
float:left !important;
white-space:nowrap !important;
}
but the hover effect does not apply.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 10 months ago #15055
by ivan.milic
Replied by ivan.milic on topic Re: Buttons' CSS
Can we see your link
Please Log in to join the conversation.
Time to create page: 0.097 seconds