Right Module Position Showing Outside Main Div - Forum | JoomShaper
Awaiting an answer Templates

Right Module Position Showing Outside Main Div

Asked by conshelf 5 years ago Last activity 2 years ago

Hello,

We are having an issue with the right module position on Newsberg 1.2, it is showing up under the main content. If you inspect element in chrome, you can see the <aside> block appears outside of the <main> div.

Here's a page where you can see the issue:
https://www.oceannews.com/staging1/featured-stories/smarter-offshore-wind-cable-management

This issue does not happen on the main category pages:
https://www.oceannews.com/staging1/featured-stories/

The issue only occurs when you view a full Joomla article.

Kind regards,
John

57 replies

Mehtaz Afsana Borsha Staff

Hi,
Could you please give me a screenshot of this issue?

conshelf Asked this

Sure, here you go:

conshelf Asked this

Hello,

Is there a temporary fix that I can apply? I'm hoping to launch the site this week if possible.

Kind regards,
John

Mehtaz Afsana Borsha Staff

Hi
Use this custom css

.view-article.layout-default .container-inner {
    display: flex;
}

Add this css code inside the custom.css file.
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
In Extensions>Template> Template Options > Custom Code > Custom CSS please add this
Thanks

Mehtaz Afsana Borsha Staff

give me your super admin access please

conshelf Asked this

Hi Mehtaz,

It appears our developer added the CSS in the wrong place. They added the CSS to this file templates/newsberg/html/com_content/article/default.php -- I'm fixing it now.

Kind regards,
John

conshelf Asked this

Ok, CSS is in the correct place, but now the layout is messed up. The Content area is not as wide as it once was, and there is a large amount of white space between the content on the right siderbar.

conshelf Asked this

Top naviagtion is now messed up too.

conshelf Asked this

I added login credentials to the hidden content area of this post.

Log in to reply.