Center the Product Name on the Product Page

  • Posts: 32
  • Thank you received: 1
11 years 9 months ago #87854

How can I center the Product Name on the Product Page?

Dennis

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #87921

Hi,

This is a css issue, you can find documentation in our FAQ:
www.hikashop.com/fr/support/documentation/faq.html#css

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

  • Posts: 32
  • Thank you received: 1
11 years 9 months ago #88327

Hi Xavier and thank you for your response. Can you please tell me what the proper syntax would be for centering the Product Name?

Dennis

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #88399

You can use:

.hikashop_product_top_part h1{text-align:center;}

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

  • Posts: 32
  • Thank you received: 1
11 years 9 months ago #88431

Thank you, Xavier. Can you please tell which file to look in? I can't seem to find that string in the files I looked in. I've looked in Product/listing_div and many others. I'm in the Hikashop/Views/Display/views and in the template I'm using.

Dennis

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #88553

Like said in the FAQ, you have to edit the Front end css file in HikaShop > Configuration > Display, and add the previously given property.

The following user(s) said Thank You: Duchesne

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

  • Posts: 32
  • Thank you received: 1
11 years 8 months ago #91081

Xavier wrote: Like said in the FAQ, you have to edit the Front end css file in HikaShop > Configuration > Display, and add the previously given property.

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

  • Posts: 64
  • Thank you received: 5
11 years 8 months ago #91087

Thanks for the tip. I had to change the width to 50% to make it work perfectly. Also on a responsive template.

.hikashop_product_top_part{
width:50%;
text-align:center;
}

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

  • Posts: 2334
  • Thank you received: 403
11 years 8 months ago #91122

Glad to see you found how to deal with it :)

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

Time to create page: 0.072 seconds
Powered by Kunena Forum