WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Bakery: Reducing number of columns in Mobile
  • Print
Pages: [1]   Go Down

Author Topic: Bakery: Reducing number of columns in Mobile  (Read 18633 times)

Offline svsanchez

  • Posts: 589
Bakery: Reducing number of columns in Mobile
« on: September 23, 2016, 07:23:49 PM »
Hello, this has probably been already answered in the forums but I couldn't find an answer.

I would like to know how to tell bakery to show only 2 columns of products when the user accesses the site using a mobile, but still use 3 or 4 columns when visiting on the desktop.

Thank you.
Logged

Offline svsanchez

  • Posts: 589
Re: Bakery: Reducing number of columns in Mobile
« Reply #1 on: September 26, 2016, 08:45:40 PM »
Hello again, I still haven't found a fix for this, could someone please tell me if it's possible?

Thank you!
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Bakery: Reducing number of columns in Mobile
« Reply #2 on: September 26, 2016, 10:49:17 PM »
Using a layout grid (Bootstrap/Zurb/etc..) in your website template will allow you to do this.
You just need to change the bakery product-loop to whatever your grid needs (and remove all table references)

One small problem is that Bakery hardcodes </tr><tr> on every "row" that is generated because it is expecting to be in a table.
If you change the output into grid <div></div> blocks, these </tr><tr> do not really hurt, but it is not valid html.
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline svsanchez

  • Posts: 589
Re: Bakery: Reducing number of columns in Mobile
« Reply #3 on: September 28, 2016, 10:54:32 PM »
Thanks a lot Ruud, do you know of any site having implemented this?
Logged

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Bakery: Reducing number of columns in Mobile
« Reply #4 on: September 28, 2016, 11:08:53 PM »
Sent you a PM :)
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline seanie_morris

  • Posts: 301
  • Gender: Male
Re: Bakery: Reducing number of columns in Mobile
« Reply #5 on: March 01, 2017, 12:34:17 PM »
Quote from: Ruud on September 28, 2016, 11:08:53 PM
Sent you a PM :)

Ah go on, share it with the rest of us!

(or send me the same PM?) :-)
Logged

Offline chris

  • Posts: 35
  • Gender: Male
Re: Bakery: Reducing number of columns in Mobile
« Reply #6 on: July 22, 2017, 10:40:59 AM »
Is it possible to PM me also Ruud?
Thanks in advance!
Logged

Offline eduardo

  • Posts: 151
  • Gender: Male
    • BBasics
Re: Bakery: Reducing number of columns in Mobile
« Reply #7 on: November 30, 2017, 09:07:30 AM »
Ruud, can you sent me a PM to, thanks
Logged
BBasics internet diensten

Webdesign, Grafisch design, Hosting, Website Baker Templates

http://www.bbasics.nl/

Offline Ruud

  • Posts: 3671
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: Bakery: Reducing number of columns in Mobile
« Reply #8 on: November 30, 2017, 11:43:25 AM »
Sorry, the example website has gone offline :(
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline eduardo

  • Posts: 151
  • Gender: Male
    • BBasics
Re: Bakery: Reducing number of columns in Mobile
« Reply #9 on: November 30, 2017, 07:26:33 PM »
Thanks Ruud :-(
Logged
BBasics internet diensten

Webdesign, Grafisch design, Hosting, Website Baker Templates

http://www.bbasics.nl/

Offline fangda

  • Posts: 1
Re: Bakery: Reducing number of columns in Mobile
« Reply #10 on: December 28, 2017, 03:37:03 AM »
 (Y) (Y) (Y) (Y)
Quote from: svsanchez on September 23, 2016, 07:23:49 PM
Hello, this has probably been already answered in the forums but I couldn't find an answer.

I would like to know how to tell bakery to show only 2 columns of products when the user accesses the site using a mobile, but still use 3 or 4 columns when visiting on the desktop.

Thank you.
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Bakery Shop »
  • Bakery: Reducing number of columns in Mobile
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2