Page layout prob with standard articles - Forum | JoomShaper
Staff replied Templates

Page layout prob with standard articles

Asked by Chris Elliott 5 years ago Last activity 5 years ago

Hiu

Using Dentro template and have modified the default layout to show as COMPONENT + RIGHT (8+4).

Now, when I create a menu item and assign it to a single article, the content displays in the (8) position ONLY. Nothing is shown in the RIGHT (4) position - its an ugly gap. Normally if the right module is not used, the component will go full width.

This happens if I use the SP Page Builder Article integration or a standard Joomla Article edited item.

If I create a menu and assign to different component (DPCalendar for example), this also happens.

So, how do I use standard components in pages and show them as full width pages when there is no module assigned to the RIGHT position?

I'd like help if possible as I can't see anything in the documentation!

Chris

5 replies

Rashida Rahman Staff
5 years ago · edited

Hi there!

Sorry for the issue.

You can use the following CSS for now:

body.view-article .article-body-content.col-sm-8 {
    flex: 100%;
    max-width: 100%;
}

Note: Path towards custom CSS:
Extensions>Templates>Styles>
Click on your current default template name then choose Template Options.
Then find custom CSS within the custom code.

https://prnt.sc/pu705g

https://prnt.sc/pu70zn

Best Regards

Muntasir Sakib Staff

Hello Chris,

Please use full-width layout (12) if you leave the right column (4) void.

And share a screenshot or videocast with us where it is automatically shown in full-width.

Thanks!

Chris Elliott Asked this

Hi guys

Rashida: This works to make the component full width, but if I later add a module to RIGHT, the code will break the page and the RIGHT module will sit under the component.

Muntasir: if I set the component to full width (12) in the Template >> Layout Builder, this removes RIGHT altogether.

I will put a video together to help you understand.

Chris

Chris Elliott Asked this

Scratch that guys.

I have upgraded to Helix 1.1.4 and SP PageBuilder 3.7.12 and this fixes it for me.

I will get back to you if I see any further issues.

Chris

Rashida Rahman Staff

Glad that the issue is fixed now:)

Log in to reply.