Ineffective CSS

  • Posts: 138
  • Thank you received: 0
11 years 3 weeks ago #18293

Some of the css that i've applied is not effective after I updated my version of hikashop. I am trying to change the size and font color of the product name in the main page. Here is the CSS that i've used:

span.hikashop_product_name{
display:;
margin-bottom:5px;
font-weight:;
color:#f35b00;
font-size:150%;
text-decoration: none;
}

span.hikashop_product_name_mainpage{
font-weight:;
color:#f35b00;
font-size:150%;
text-decoration: none;

}

Please Log in or Create an account to join the conversation.

  • Posts: 75905
  • Thank you received: 11855
  • MODERATOR
11 years 3 weeks ago #18297

The CSS class hikashop_product_name_mainpage does not exists in HikaShop and never existed so that's normal it's not taken into account...
For the first one, I can see the CSS applied in Chrome, however you have two lines which are not correct:
display:;
font-weight:;

If you don't put a value in a CSS property, you should remove the line completely as this might break the whole CSS definition in other browsers.

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum