Centering the product title on the product page

  • Posts: 138
  • Thank you received: 0
13 years 7 months ago #14814

How would I center the product title on the product page? I would like the title to be right above the image of the product.

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
13 years 7 months ago #14824

You need to edit the file show of the view product via the menu Display->Views.
There, you need to move the block of code to display the product name from the top area to the left area.

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

  • Posts: 138
  • Thank you received: 0
13 years 7 months ago #14869

I am not actually sure what to edit. If I am reading the code right I need to edit the CSS but I don't know where to find the file. Can you point me in the right direction?

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
13 years 7 months ago #14884

If you think that you can do what you want with CSS, then, you can edit the hikashop CSS via the interface we provide in the config under the tab display in the CSS area.

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

  • Posts: 138
  • Thank you received: 0
13 years 7 months ago #14939

Where can I find this CSS area or the other code that you were speaking of?

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
13 years 7 months ago #14941

I was talking about the file show of the view product via the menu Display->Views.
You would have to move the code:
<span id="hikashop_product_name_main" class="hikashop_product_name_main">
<?php
echo $this->element->product_name;
?>
</span>
after the line:
<div id="hikashop_product_left_part" class="hikashop_product_left_part">

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

Time to create page: 0.067 seconds
Powered by Kunena Forum