Login  Register

Re: Forum not showing properly in mobile devices

Posted by ibatey on May 27, 2015; 5:36pm
URL: https://support.nabble.com/Forum-not-showing-properly-in-mobile-devices-tp7589906p7594903.html

I was just commenting really, but your  information below makes sense.
You've probably saved me hours of fruitless work

Thanks and regards

Sent from my iPhone

On 27 May 2015, at 08:44, GregChapman [via Nabble Support] <[hidden email]> wrote:

Hi,
ibatey wrote
The CSS/HTML I use  can usually handle tables and automatically reformats
most of the page for mobiles.  (It's a Weebly feature of the template I use)
I may have understood what you are trying to say here.

Bear in mind that as the forum is served from Nabble, your Weebly template and any CSS you put in there will not affect the embedded forum.

While Nabble offers a facility to add your own CSS, its use is seriously hampered because in Nabble's code almost all the HTML elements have only "visual" classes applied, that are used on almost every screen. The result is you have no "hooks" on which to hang code that will apply only to a particular screen without affecting every other screen on the forum.  That means to write CSS that will take effect only on a Gallery screen you also need to play with the NAML code to re-write the HTML that will be generated for that page. It's something I haven't yet attempted to do.
Just a Volunteer Nabble Helper - because the nice folk at Nabble have helped me!



If you reply to this email, your message will be added to the discussion below:
http://support.nabble.com/Forum-not-showing-properly-in-mobile-devices-tp7589906p7594896.html
To unsubscribe from Forum not showing properly in mobile devices, click here.
NAML