Header style lost when selecting characteristic

  • Posts: 2
  • Thank you received: 0
11 years 9 months ago #89081

Hi!

I've a little problem regarding the header of my product pages when they have characteristics. When a characteristic is selected, the header with the name of the product loses its style (as you can see in the images attached).








How can I fix this?

Thank you,

Anna

Attachments:

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
11 years 9 months ago #89209

Hi,

The problem comes from your typography plugin which doesn't handle dynamic updates of the DOM.
You will have to disable the update of the product name with the characteristic value if you want to keep the styling.

That can be done by removing the code:

			<div id="hikashop_product_name_<?php echo $variant_name;?>" style="display:none;">
				<?php echo $variant->product_name;?>
			</div>
from the file "show" of the view "product" for your frontend template via the menu Display>Views.

The following user(s) said Thank You: annaTT

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

  • Posts: 2
  • Thank you received: 0
11 years 9 months ago #89382

Thank you very much, Nicolas!

That worked perfectly! :)

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

Time to create page: 0.075 seconds
Powered by Kunena Forum