Skip Navigation

[Resolved] Using layouts but adding bootstrap columns to layout. Layouts puts in

This support ticket is created 7 years, 8 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 1 reply, has 2 voices.

Last updated by Beda 7 years, 8 months ago.

Assisted by: Beda.

Author
Posts
#421940

I am trying to: I am trying to customize layouts, so that I can add my column settings. The layouts set the columns to 'sm' with that in mind I want to add 'md', and 'lg'. it. IF I want the logo to be col-lg-4 col-md-3 col-sm-10 while the menu to the right would be col-lg-8 col-md-9 col-sm-2

I visited this URL:

Instead, I got: since : Since layouts puts 'sm' first any column changes I add go at the end and that breaks bootstrap. Is it possible to switch the layout initial column to lg or xl?

I love your product and would love to see a souped up starter theme with sass, grunt/gulp other compression and some optional javascripts that are in vogue now (switched on or off at the customize window).

#422052

You can use the Layouts API to customise the framework.

Usually, this is used to integrate other Frameworks as Foundation.
But you can change the default sm- prefix to whatever you like with the API:
https://toolset.com/documentation/user-guides/layouts-framework-api/#overview

Look for the "ddl-get-column-prefix" filter.
Maybe the filter "ddl-get_column_width" also can help you with your goal.

However, this will not be to use here and there, but it will apply as a global value to your layouts.

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