Skip Navigation

[Resolved] Toolset View does not show grid layout in Avada Theme

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 4 replies, has 3 voices.

Last updated by Steffi 2 years ago.

Assisted by: Minesh.

Author
Posts
#2536175
Bildschirm­foto 2023-01-17 um 10.38.51.png
Bildschirm­foto 2023-01-17 um 10.37.33.png
Bildschirm­foto 2023-01-17 um 10.36.08.png

Tell us what you are trying to do?
On this website hidden link I have created a view loop (with Content Templates) that shows games (image and a short text for each game). The website is also available in English, but German is the main language.
The View is configured to show a grid with 4 columns, but Avada seems to ignore these settings. I know that Avada is not 100% bullet proof with Toolset. Is there any way nonetheless how I can make it work?

Is there any documentation that you are following?
https://toolset.com/course-lesson/styling-views-and-archives/

Is there a similar example that we can see?
don't know

What is the link to your site?
hidden link
Content Template: "Spiele-Galerie"

Thanks,
Steffi

#2536495

Nigel
Supporter

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

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

Hi Steffi

Can I check what you've done here?

From your screenshots it looks like you created a Content Template, and added a View block to it to create a grid-based View.

But when it comes to displaying that View, you inserted it into an Avada page with a wpv-view shortcode.

That would account for the styling (in this case, the grid layout) not working correctly.

If you made a View within a Content Template then to display the View you should insert the Content Template, not insert the View directly.

In the context of an Avada page you would do that with the wpv-post-body shortcode, something like:

[wpv-post-body view_template="spiele-galerie"]
#2537085

Hi Nigel,

thank you very much! That's it and now it looks like I configured it.

{!{wpv-post-body view_template='spiele-galerie'}!} is the correct shortcode.

Just one more question: in which cases would I need to insert the (or a) view {!{wpv-view name='spiele-view'}!} and not the content template since I cannot create a view without having a content template first (correct or am I wrong?)? If you could close that gap for me, I'd be happy.

Best regards
Steffi

#2537655

Minesh
Supporter

Languages: English (English )

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

I see you are using the block view. You can create block view by adding view block on pages/posts/content template.

The reason why Nigel asked you to add a view to content template in your case is because you added the view to the third party block or custom field and that is why to load the view assets you required to add the view to content template.

To try it - create a test page and add a view there and try to load that page on frontend and it should work on frontend as expected. (Please make sure there is no other third-party page builder or theme like Awada is not involved with that page - it should be normal wordpress page)

#2537865

Thanks for the explanation and for your help!