Skip Navigation

[Resolved] Archive view is not aligning correctly

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user had problems with the width of their archive and wanted it to be reduced to where it's aligned with their menu

Solution:

This is a purely css solution and in this user's case the problem was because of the natural design of the theme.

The css solution will vary based on the theme and classes the theme users so the best solution would be to have the theme's support team address the issue.

This support ticket is created 3 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by ianC-8 3 years, 6 months ago.

Assisted by: Shane.

Author
Posts
#2258175
Screenshot 2022-01-04 at 09.52.04.png

I am trying to: display post archives at standard page width

Link to a page where the issue can be seen: hidden link?

I expected to see: the left and right edges of the page body should be correctly aligned with the box edges

Instead, I got: content is spilling over about 25pm on both the left and right-hand sides

#2258415

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ian,

Not sure what you're referring to with the page alignment as it appears aligned to the standard page width to me.

If you're able to provide a video demonstration of the issue please do so that I can better understand.

Thanks,
Shane

#2258421
ME-archive-page.jpg

Hi Shane, please see the attached screenshot where I've created a tinted layer showing what the content width should be. You will see there is some overlap on the left and right sides. It's not a huge deal but it looks a bit scrappy.

#2258531

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Ian,

The problem is being caused by your theme. Generally your content area will sometimes be wider than the rest of the website and as such it may not align with the menu or other items in the menu.

To resolve this please add this custom css to the css editor for the archive.

.bb-masonry {
    margin-left: unset !important;
    margin-right: unset !important;
}

The Margins were being adjusted by the theme.

Thanks,
Shane

#2259097

My issue is resolved now. Thank you!