creating another theme inside the same bos project with the purpose of showing a mobile view version

Avatar
  • updated

i need to create another theme inside the one that alreadys exist to show a mobile view version of it, after i created how can i just visualize the new  theme for the mobile version in bos client 

Avatar
Ricardo Pinto

Hello,

Vitor, I already kind of replied to your previous post about this.

Inside your project, you can create multiple Themes.

So, as far as I know, you already have a theme prepared for tablets, that's ok. This was the first base theme and you changed it to be tablet mode. Now, you have to create / add a new theme for the visualization for what you want, in this case mobile.

Image 5576

After you create your theme, you'll have to tell the system which theme opens in each device.

So in practice you have two themes. When you have multiple themes, and you don't define which opens in which device (Theme: Empty), by default the device will open the first Theme on the list of the tree.

Image 5577

So, let's say you'll have more mobile phones than tablets...

Either you move the mobile theme to be the first of the tree, let the tablet one be the second, go to the tablet user device, and force that tablet to open the second theme (tablet), by choosing the tablet theme, instead of leaving the field as "Empty".

This way, every other device will open the first theme by default (your mobile one).

Or, you can simply force each device to open which theme. In this case, you have to enter every user, check the device, and change the theme for the one you want to force that user to open.

So, resuming:

You can have more than one theme, for the purpose you want. You'll just have to force which device opens which theme, or if you just want to force the tablets to open the tablet theme and let the others simply open the mobile theme (for this you have to place the mobile as first theme on the tree, and just leave "Empty" on every mobile device.

Example:

I only have one tablet at my house. Everything else is mobile phones. So instead of going to each device and force which theme to open, I just moved the mobile theme to be the first of the tree, leave every phone as Theme: Empty, and just go to the tablet and force that device to open the tablet theme instead of the default mobile one.

If you don't do this, force at least the tablets, and you leave Theme: Empty in all of them, by default every device will open the first theme on the list. That's why you need to force specific devices.

Best regards