Dentro Template Issue - Question | JoomShaper

Dentro Template Issue

Stephane Hanrez

Stephane Hanrez

Template 6 months ago

Hi,

I think there is a bug in Dentro template.

If you look at line 260, you can see : <?php if ($doc->countModules('right')) { ?> which is good because it will only show this section if there is indeed a right section.

But if you look a bit above, line 128, you can see : <div class="article-body-content col-sm-8"> There should be an if as well here... because if there is no right section, this section should extend and then be <div class="article-body-content col-sm-12">

At the moment, event if you have no right section, it will keep an empty space on the right.

Could you please correct this ?

Thanks

0
5 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 6 months ago #195761

Hi Stephane,

Thank you for bringing this to our attention.

You can resolve the issue by updating the line at 128:

<div class="article-body-content col-sm-8">

to:

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

This adjustment ensures the layout adapts dynamically based on whether the “right” module position is in use.

I’ve shared this with our development team. Since the current structure was part of the original design, we’ll consider updating it in a future release if the team agrees.

Best regards,

0
G
gemmajoom
Accepted Answer
4 weeks ago #211842

Please, in wich file? where?

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 4 weeks ago #211918

Please, create a separate post of your issues.

Thanks

0
Stephane Hanrez
Stephane Hanrez
Accepted Answer
6 months ago #195779

Thanks. I already updated my own site, so I'm fine, just wanted to share it so this could be adapted in next version of the template (also so I don't have to redo it every time as I have multiple sites running this template) ;-)

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 6 months ago #195790

If your issue is resolved, kindly mark the question as complete by accepting the relevant answer.

Thanks!

0