Site logo

Archived topic

Main content squeezed on a desktop view

7 replies · Started by Marian on December 12, 2022

Viewing posts 1–8 of 8

I'm using GP theme in tandem with Tutor LMS. I discovered that my instructor view is squeezed into what looks like a left panel. Mobile view seems to be fine. I found that if I change width to 100% in .generate-columns.grid-33, .grid-sizer.grid-33 {width: 33.3333%;} it looks a bit better, but that's hardly a solution. Would you be able to shed some light on what's happening there. Thanks a lot,
Marian.

Hi there,

If youRight Click > Inspect the page to open the Browser Developers Tools and view the Elements tab: the <body> tag has the class of blog.
And the grid-* classes only get applied by GP if the template being used is an index or archive template.

Which is odd. I would assume that should be using a Singular template and not an Archive template.
Could you check with TutorLMS to ask why it is using that template ?

In the meantime, add this CSS to fix the width just on pages whose content container have the tutor-wrap-parent class


#page .tutor-wrap-parent {
    width: 100%;
}

Exactly,
When I untick "Display posts in columns" in GP customizer, everything is back to normal and the page is displayed correctly.
Thanks David,
I'll ask Tutor LMS people what gives.
M.

It would be good to know how to change the template they use :)

Let us know what they say.

So I asked, but got no clear answer...just "I am sorry for the issue. I have informed our team, and I hope very soon the issue will be solved." It's a good product marred by their mediocre support. Hope they'll solve it at least. Thanks again for your assistance.

Oh, thats rather unhelpful.
Are you ok with the CSS fix for now ?

The CSS fix works. Thanks.

Ok glad to heat that!

This archived topic is closed to new replies.