CSS - Product Page

  • Posts: 71
  • Thank you received: 1
11 years 7 months ago #105910

Hi,

I am just trying to make changes on how the product page being layout.
At the moment, the layout seems to be a bit messy.

I need to know what is the code to change the product page - title, product page - product name, add button, price etc

Any help will be appreciated.

Thanks,

Jeannie

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
11 years 7 months ago #105919

Hi,

You can edit the file "show_default" for your frontend template via the menu Display->Views to rearrange the display the way you want it.

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

  • Posts: 71
  • Thank you received: 1
11 years 7 months ago #106012

This will be done using CSS right?
My problem I do not know which code is for which image, title, or add cart button.

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

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
11 years 7 months ago #106070

It depends. If you want to simply style the different elements, then yes.
If you want to move them around, you'll have to more their code around in that view file.

If you look at the code in that view file, you should be able to easily find which part is for which area...
For example, the span hikashop_product_name_main is for the product name and the span hikashop_product_code_main is for the product code.

The following user(s) said Thank You: jeannie

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

  • Posts: 71
  • Thank you received: 1
11 years 7 months ago #106102

span.hikashop_product_name{
text-align: center;
margin-bottom:5px;
}


For example, this code.
In the product page I would like to change the product name to align in the center.
The code is showing it is align in the center but my webpage shows it align on the left.

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

  • Posts: 71
  • Thank you received: 1
11 years 7 months ago #106107

thanks, I manage to figure it out.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum