correspondence between the Joomla template and the "product" view of Hikashop

  • Posts: 202
  • Thank you received: 3
4 years 2 months ago #323781

-- HikaShop version -- : HikaShop Business 4.3.0
-- Joomla version -- : Joomla! 3.9.19
-- PHP version -- : 7.2.33
-- Browser(s) name and version -- : Google Chrome 84.0.4147.135

Hello,

With this documentation page, I understood how to customize the "product" view:
https://www.hikashop.com/support/documentation/153-customize-the-display.html
example: I moved the title block to the right column

But I have a problem in the html, which is located above: when we look at the Htlml structure, we see that the template (I use the "Konstra" joomla template from Joomshaper) displays the "aside" tag which is empty, and which takes 4 out of 12 columns

I need the product display to take 100% of the width, which is 12 columns by 12

in fact I have this problem with this template, the width of the content is not dynamic: if no module on the side, then the content takes 100% of the width

I fixed this problem for the "article" pages -> I modified this file as follows:
templates\konstra\html\com_content\article\default.php

<div class="article-body-content <?php if ($doc->countModules('right')) echo('col-sm-9'); else echo('col-sm-12'); ?>">

But I don't know which Konstra template file loads the "product" view: my question is -> which file of my konstra template I have to modify to add the width of the dynamic content (if no module in position right, then content takes 100% width)


Can you help me please,

Agathe.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 2 months ago #323782

Hi,

I'm not familiar with this.
I actually don't see why you need to modify a view override from com_content for a module position. Module positions are generally handled by the template, and in most cases, it's directly in the index.php file of the template.
So that's where I would look first.
But the best would be to check with the template provider.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum