Jump to content

Topic on Skin talk:Chameleon/Flow

Need some hints for what to look at for mobile view

3
Michael Z Freeman (talkcontribs)

Hi,

I'm familiar with Chameleon and am using it on my site - https://wiki.michaelzfreeman.org/

However I've wanted to enable mobile view. I tried "cmln-collapse-point" in LocalSettings.php but it does not seem to do anything. What settings files should I be looking at here ? Is it the Bootstrap stuff ?

Cheers

Michael

Morne Alberts (talkcontribs)

Hi Michael,

What do you mean with "enable mobile view"? There are already default breakpoints that cause some styling to change when viewed on smaller screens.

$cmln-collapse-point is the specific point at which the default navbar will collapse (i.e. menu links get hidden). There is an example of changing that variable on https://github.com/ProfessionalWiki/chameleon/blob/master/docs/customization.md, but that does not enable/disable anything, it just changes the specific point.

Michael Z Freeman (talkcontribs)

Hi Morne,

On my mobile I get a standard desktop page with very small text. I have to turn my mobile to the side for the text to become readable. So I'm looking to detect when the page is being loaded on a mobile device and having much larger text.

Reply to "Need some hints for what to look at for mobile view"