Show article full width - Forum | JoomShaper
Solved SP Page Builder

Show article full width

Asked by Stephane Hanrez 2 years ago Last activity 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

Accepted answer

Marked as the solution
Ofi Khan Staff

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.

6 more replies

Stephane Hanrez Asked this

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

Stephane Hanrez Asked this

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

Ofi Khan Staff

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

Stephane Hanrez Asked this

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

Stephane Hanrez Asked this

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

Ofi Khan Staff

Thanks for your feedback.

Log in to reply.