Skip Navigation

[Closed] Elementor and Toolset View. View Is showing vertically instead of horizontally.

This support ticket is created 4 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 7 replies, has 3 voices.

Last updated by Nigel 4 years, 6 months ago.

Assisted by: Nigel.

Author
Posts
#1749019

I have a view that works on the original home page. It just shows the 3 most recent posts in a vertical bar.

WHen adding the same view to elementor it still filters the 3, but it puts them horizontal down the page.

#1753263

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I'm not sure what the difference is between "vertical" and "horizontal down the page".

Do you have links to pages showing the difference? I can use the browser inspector tools to see what markup is involved that accounts for the difference.

What editor did you make the View in (using Blocks, or the legacy editor)?

How did you insert the View into Elementor? Using the Toolset View widget?

#1753995

My settings are to have the view go 4 columns across. It works on a normal page that I created with Toolset. When I created a page with elementor and added the Toolset View widget it changes to one column and goes 4 as rows instead of 4 across as columns.

#1756151

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

It sounds like Elementor interferes with the CSS rules that Toolset uses to lay the items out in columns, but I can't tell without having something to look at.

Do you have links to the pages where it is and is not working so that I can compare?

#1756301

This is the view of how its supposed to look.
hidden link

and this is what it is doing when adding with Elementor

hidden link

#1756527

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Thanks for that.

I've been studying the two side-by-side and it's proving difficult to spot just what in the case of Elementor is breaking the grid layout.

I can see from the markup how you've created this, so I'm going to recreate it on a local test site where I can debug it more effectively, and I'll get back to you.

Thanks for your patience.

#1758135

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Nigel is on Vacation today. He will get back to you tomorrow as soon as possible.

#1759013

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Sorry for the delay getting back to you.

When reproducing the set-up on my own test site I could more readily see the underlying cause, whereby some of the dynamic styles from the View created with the Block editor are not added to the front-end when inserting the View via Elementor rather than directly on a page.

I checked the internal developer tickets and see we already have plans to improve the integration with Elementor (and a handful of other page builders) for content created with Blocks, and we'll work on that in the next dev cycle (the current cycle is nearing completion and is just pending completing testing). That means it may still be a few months before completion, though.

In the meantime, you could add specific CSS to such pages (to replace the missing style rules). In the case of that particular page, I think it would be sufficient to add the following rule to fix the broken grid:

.tb-grid {
  grid-template-columns: minmax(0, 0.25fr) minmax(0, 0.25fr) minmax(0, 0.25fr) minmax(0, 0.25fr);
}

(That's based on your having 4 columns for the grid.)

The topic ‘[Closed] Elementor and Toolset View. View Is showing vertically instead of horizontally.’ is closed to new replies.