Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Changing Bootstrap grid classes

Featured Replies

I have been trying to learn how to change my category product grid to 4 columns instead of the default 3 columns.

I found this code in product-list.tpl:

{if $page_name == 'index' || $page_name == 'product'} {$product_block_size_class = 'col-xs-12 col-sm-4 col-md-3'} {else} {$product_block_size_class = 'col-xs-12 col-sm-6 col-md-4'} {/if} I just changed the col-md-4 class to col-md-3 and cleared my cache. It seems to be working perfectly.

Is this really all there is to it on Thirty Bees?

The reason I ask is because I was reading PS forums for a solution and in PS you need to modify javascript in a few different places to make the change. Things like how many products per line, list vs grid view classes, etc

I could not find the relevant javascript code in TB.

  • Author

@lesley Cool. It made my day today to make that change and have it work. I'm thrilled that I can adjust my product layout now.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.