Any way I can make a Database Rich-Text field 'Responsive'?

I have been hunting for a solution to my problem on the forum for a few days - without much success…

  • I have 9 ’ tables ’ on one of my web pages ( https://www.babli.org/copy-of-canteen-menu-1 - it is a ‘Canteen Menu’ page, which breaks down the whole ‘menu’ into separate sections.

  • Each of the ‘tables’ are connected to the same Database - but they are linked with different Datasets , each having filters set to them, whereby separate sections of the whole ‘menu’-collection is populating the fields of each table.

  • A large number of the Fields in the database-collection are of Type:Rich Text ~ Since I NEED to be able to customise the text in those fields.

At the moment, everything is more or less okay - on the Desktop Version of the page.

However, the Mobile Version is a TOTAL mess!

As far as I can figure out, the main reason for the ‘mess’ is that I CAN’T MANAGE TO MAKE THE RICH TEXT FIELDS DISPLAY TEXT THAT IS ‘RESPONSIVE’ to the Mobile View

  • And apparently, the Wix Mobile Site is NOT doing the job of adjusting the Rich Text fields automatically , to fit the mobile view?!

I have been trying to find a code that I could maybe add to the Page Code , which will handle the issue.
My query:-
IS THAT EVEN POSSIBLE (especially with a Tables, connected to datasets)?

I did find one Forum Discussion ( https://www.wix.com/corvid/forum/community-discussion/create-responsive-text ) where the commeter ( Johanna ) provides a solution for “Create(ing) Responsive Text” - But that solution seems to be specific to TEXT elements ONLY ?

  • And besides, I couldn’t really figure out how to appropriately ’ modify ’ her solution (JavaScript code example) to fit MY need .

Any help/ guidance would be much appreciated.

[I am NOT well versed with coding - I only know rudimentary HTML - Though I am TRYING to figure out JavaScript, mostly through trial-and-error, while using Wix Code]

Unfortunately at this time there is no way to change the layout for such request on the mobile version. I recommend you post a feature request for this.

As Robert says, not currently, however you can do a sort of a workaround using Wix Window API and the Form Factor function and have things only shown on mobile.
https://www.wix.com/corvid/reference/wix-window.html#formFactor
https://support.wix.com/en/article/corvid-writing-code-that-only-runs-on-mobile-devices
https://support.wix.com/en/article/corvid-tutorial-displaying-elements-in-mobile-only

1 Like

Thanks for your response, Robert McCormick & givemeawhisky

I’ll explore the links and get back to you if I am confused.

So, basically what givemeawhisky is suggesting is that I build two DIFFERENT set of Tables - one for Desktop and the other for Mobile devices - and then set up code to show/hide the two alternately -

Correct?

You can edit your site’s mobile layout using the Mobile Editor . I’ve done this myself for a site that had a much different looks/layouts in desktop and mobile.

Together with editing in the Mobile Editor, you can also use code to determine behavior of the site (e.g. hiding components).

1 Like

Yes that is true that they can use the Mobile Editor, however I think that the way they were describing it in their post, is that they were after the same degree of editing capabilities that are in the Desktop Editor should also be in the Mobile Editor as well and not just the limited options that are there presently.

Yes, Yisrael - we do use the Mobile Editor to customise the mobile version.
But that is NOT helping, in this particular case.

As givemeawhisky correctly notes, we would require MORE ‘customisability’ in the Mobile Editor, for this particular problem to be solved from there…

As we had mentioned in our original post…

" I CAN’T MANAGE TO MAKE THE RICH TEXT FIELDS (of the Database) DISPLAY TEXT THAT IS ‘RESPONSIVE’ to the Mobile View

  • And apparently, the Wix Mobile Site (Editor) is NOT doing the job of adjusting the Rich Text fields automatically , to fit the mobile view?!"

I guess our only option, at this point, would be to create two SEPARATE tables for the Desktop and the Mobile version.

Anyway, thanks again for all your inputs!

[I’m part of the ‘bablifarm’ organisation - commenting here with a personal logon]