I understand better now. I believe you're referring to the right-hand sidebar blocks, such as "Derniers gros titres" and "Sujets les plus lus," and not the left-hand menu.
In that case, the problem seems to be related to layout/responsiveness, not pagination.
Based on the described behavior:
* in `/portal`, the blocks appear at the bottom of the page;
* in `/portal?start=8`, the same blocks appear correctly on the right-hand sidebar.
This indicates that, under some condition on the first page, the portal layout is breaking the main grid and pushing the sidebar down. The first page has the featured/hero block, while the paginated page does not. Therefore, it's possible that the hero block, a larger card, image, long title, or a specific CSS rule of the first page is causing the main area to occupy too much width, preventing the sidebar from being displayed alongside it.
In other words, the likely cause is not the content of the sidebar blocks themselves, but the visual structure of the first page.
In the extension package, I would mainly review:
Código: Selecionar todos
styles/all/template/portal_body.html
styles/all/theme/forumportal.css
styles/all/theme/forumportal_responsive.css
styles/all/theme/forumportal_images_layout.css
The most likely issue is the structure:
Código: Selecionar todos
<div class="forumportal-layout">
<div class="forumportal-main">
...
</div>
<aside class="forumportal-sidebar">
...
</aside>
</div>
The sidebar only stays on the right if the CSS of `.forumportal-layout` can maintain two columns. If any element on the first page exceeds the available width, the sidebar may drop down.
So, in addition to correcting pagination, it may be necessary to adjust the CSS to ensure that the main area never forces the sidebar down, for example by reinforcing:
Código: Selecionar todos
.forumportal-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 280px;
align-items: start;
}
.forumportal-main,
.forumportal-sidebar {
min-width: 0;
}
.forumportal-main img,
.forumportal-main iframe,
.forumportal-main table,
.forumportal-story,
.forumportal-hero {
max-width: 100%;
}