hikashop_product_price_with_options_main

  • Posts: 1053
  • Thank you received: 11
  • Hikashop Business
11 years 5 months ago #107304

How can I change the class of hikashop_product_price_with_options_main in the default layout? It uses the same for the listing view. So when I change something in the css of this class it changes everywhere where this class is used. Can you give me a small guide to do this . I tried to rename it in my product view but price (from hikashop_product_price_with_options_main to hikashop_product_price_with_options_main_new) but price dissapears.

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

  • Posts: 82727
  • Thank you received: 13342
  • MODERATOR
11 years 5 months ago #107311

You don't need to change the class name (it's the same code which is used for the price display anyway, so that would help).

You just need to add your CS like that:
.hikashop_product_page .hikashop_product_price_with_options_main{
color: yellow !important;
}

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

  • Posts: 1053
  • Thank you received: 11
  • Hikashop Business
11 years 5 months ago #107325

Dear Nikolas. If I do that both printscreen images will get the same (yellow color in your case) isn t it. I need to change the view of these prices. Other style in the show_default and other in the listing I thing.






Thank you!

Attachments:
Last edit: 11 years 5 months ago by verzevoul.

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

  • Posts: 1053
  • Thank you received: 11
  • Hikashop Business
11 years 5 months ago #107329

Sorry...!!! You were clear!

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

Time to create page: 0.074 seconds
Powered by Kunena Forum