Dentro Template Issue - Question | JoomShaper

Celebrate JoomShaper's Sweet 16 with Flat 35% OFF!

Dentro Template Issue

Stephane Hanrez

Stephane Hanrez

Template 1 year 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
7 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 year 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
6 months ago #211842

Please, in wich file? where?

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

Please, create a separate post of your issues.

Thanks

0
Stephane Hanrez
Stephane Hanrez
Accepted Answer
1 year 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 1 year ago #195790

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

Thanks!

0
Stephane Hanrez
Stephane Hanrez
Accepted Answer
1 week ago #225499

Hi,

Just updated to latest Dentro template and I see this is still unresolved... Could you please correct this in the next version ? It's annoying that every time I update the template, I have to manually change that line on each of my websites.

Thanks

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 1 week ago #225571

Hello,

I apologize for this issue.

I have forwarded it to our template team for investigation and resolution. The fix will be included in an upcoming release.

Thank you for your understanding.

Best regards,

0