Change product layout

  • Posts: 279
  • Thank you received: 1
10 years 2 weeks ago #212812

-- url of the page with the problem -- : www.digitalguarddawg.com/suzuki-t
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.3.4
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : None

I want to move the dropdown box to below its label. My PHP skills are pretty basic, so, despite pouring through various files, I cannot identify where this table exists in the code. Al I need is a line break or a new cell below this one to insert the dropdown into.

Can someone point me to the right file and place to edit so I can create an override? Thanks.

Attachments:

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 2 weeks ago #212813

Hi,

That documentation page will help you to identify the different views which composed a product page :
www.hikashop.com/support/support/documen...-display.html#layout

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 279
  • Thank you received: 1
10 years 2 weeks ago #212857

I assume you mean the diagram under Product page customization. Unfortunately, though it appears to be helpful it was not. I couldn't find what needed editing though I believe I was in the right file - product_show_block_characteristic.php. I did try putting a <br /> in at line 83 but that did nothing except make a blank white screen appear on saving the file which I cannot get rid of. (URL is www.digitalguarddawg.com/administrator/i...m_hikashop&ctrl=view )

So, again, please be specific. What file and what line? Thank you.

Last edit: 10 years 2 weeks ago by trogladyte.

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

  • Posts: 84305
  • Thank you received: 13700
  • MODERATOR
10 years 2 weeks ago #212880

Hi,

No, Jerome was talking about the CSS. You don't need to change any PHP or HTML in any view for that.
Just simple CSS will allow to achieve that:

table.hikashop_product_characteristics_table td {
    display: block;
}
You can add it in the frontend CSS of HikaShop, as explained in the documentation link Jerome provided.

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

  • Posts: 279
  • Thank you received: 1
10 years 2 weeks ago #212909

My apologies. From reading that page I thought it was a PHP alteration. Thank you for the clear explanation - worked perfectly!

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

Time to create page: 0.055 seconds
Powered by Kunena Forum