[Skip to main content](#vessel-content)

#   Ineffective CSS

##

- **[rsarpong](/forum/user/2026-rsarpong "View rsarpong's Profile")**
- [![rsarpong's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/2026-rsarpong "View rsarpong's Profile") Topic Author
- [ Offline](/forum/user/2026-rsarpong)

Less More

- Posts: 138
- Thank you received: 0
-
-

15 years 5 months ago [\#18293](#18293) by [rsarpong](/forum/user/2026-rsarpong "View rsarpong's Profile")  *[Ineffective CSS](/forum/3-bug-report/18293-ineffective-css#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&#95;product&#95;name{ display:; margin-bottom:5px; font-weight:; color:#f35b00; font-size:150%; text-decoration: none; }  span.hikashop&#95;product&#95;name&#95;mainpage{ font-weight:; color:#f35b00; font-size:150%; text-decoration: none;  }")* was created by *[rsarpong](/forum/user/2026-rsarpong "View rsarpong's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xODI5My1pbmVmZmVjdGl2ZS1jc3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 5 months ago [\#18297](#18297) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Ineffective CSS](/forum/3-bug-report/18293-ineffective-css#18297 "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&#95;product&#95;name{ display:; margin-bottom:5px; font-weight:; color:#f35b00; font-size:150%; text-decoration: none; }  span.hikashop&#95;product&#95;name&#95;mainpage{ font-weight:; color:#f35b00; font-size:150%; text-decoration: none;  }")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xODI5My1pbmVmZmVjdGl2ZS1jc3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.048 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
