Skip Navigation

[Resolved] The content is larger than viewport on mobiles

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 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by Roberto Ciccolella 1 year, 6 months ago.

Assisted by: Waqar.

Author
Posts
#2491931
Screenshot 2022-11-08 at 10.35.22.png
Screenshot 2022-11-08 at 10.34.12.png

I used Toolset Blocks in both troubled pages.

Tell us what you are trying to do?
I had a report from Google Search Console, "the content is larger than viewport on mobiles..."

Is there any documentation that you are following?
Yes, I attached two screenshots.

What is the link to your site?
hidden link

#2492617

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

During troubleshooting, I noticed that this CSS style rule from the file "/wp-content/micro-themes/active-styles.css" is setting a fixed width of 950px to the view's results container:


#span-42-1480 .wp-block-toolset-blocks-grid {
	width: 950px !important;
}

This fixed width value is resulting in the container extending beyond the viewport on smaller screens and instead of the fixed value, it would be better to use percentage-based values (%).

I hope this helps and please let me know if you need any further assistance with this.

regards,
Waqar

#2492717

Hi Waqar,
My issue is resolved now. Thank you!
It was a wrong CSS code I wrote with Microthemer.
But at mobile view there was no way to align the photo centred in the team page, so with MT I wrote this code to fix the issue:

#wpv-view-layout-1499 .tb-image-frame-none {
text-align: center;
}

If you can tell me where in the backend I can align images at mobile view, it will be great.
Best wishes

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.