Show Article Full Width - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Show Article Full Width

Stephane Hanrez

Stephane Hanrez

SP Page Builder 2 years ago

How do I get my article content to show full width ?

When editing with SP Page Builder, it does use the full with (with some normal margin left and right) but when looking at my final website, it's all shrinked on the left, with half the space on the right left blank.

Is this something with my template ? I'm using Dentro as a template... When switching back to Cassiopea to test, it does use the full width.

Thanks

0
7 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #135847

I can read your answers wherever you write and glad to know that you have solved it. You have to customize in this file:

templates/dentro/html/com_content/article/default.php

and I hope that you have done this.

0
Stephane Hanrez
Stephane Hanrez
Accepted Answer
2 years ago #135619

Any answer on this one ?

When previewing the template I can see there is a position "right" that seems to take up that space... But I don't have any module published in position "right. How is it that the content doesn't expand ?

Is there any way to disable this position from the template (Dentro) so that the content could fill up the whole page ?

Thanks

0
Stephane Hanrez
Stephane Hanrez
Accepted Answer
2 years ago #135690

So I had a look at the code and globally what I want is to remove this div :

<div class="col-sm-4 article-body-right">

and change this one to take all 12 spaces instead of 8 :

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

Is it something I can achieve directly from helix ? Or do I need to change some code inside my template, and if yes then how ?

Thanks

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #135787

Hello Stephane Hanrez

Apology for the inconvenience. Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup with you before sharing.

Best regards

0
Stephane Hanrez
Stephane Hanrez
Accepted Answer
2 years ago #135812

Hi Ofi,

I don't get it, it's already 2 times I try to post how I resolved the issue on my side by modifying the template code, with some examples, and each time I see my answer got lost... Is there some automatic tool on this forum that prevents us from copying lines of code from the template ? Should I maybe copy that in the hidden content or have you been able to read my answers ?

Thanks Stéphane

0
Stephane Hanrez
Stephane Hanrez
Accepted Answer
2 years ago #135889

Yes I have done that... at the same time, it's a bit strange that there is an if statement to not display the right position on a page if there is no module assigned, but no if statement to extend the content section from sm-8 to sm-12 if there is no right module... This should probably be corrected in the template so that users don't have to mess up with the code directly.

Stéphane

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 2 years ago #136052

Thanks for your feedback.

0