Grid content within a tab

Hello,

I am displaying a grid within a tab with the shortcode [the_grid name="Oslo"]. The problem is that the grid doesn’t display properly withing the tab. How can I solve this?

See here to visualise the problem: https://prnt.sc/lw0ijf
URL: https://neowebsite.io/modeles-site-internet/

Thanks,
Antoine

Hi @Lecoqdigital,

Thanks for writing in!

Can you please write this CSS to your theme option -> CSS, and let us know if that works!

.x-tabs-panel .tg-grid-wrapper  {
 width: auto !important;
left: auto !important;
}

Hope this helps!

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Thanks.

Thank you!

You’re welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.