News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Little help needed for mobile devices

Started by dekatria, December 31, 2014, 01:48:11 PM

Previous topic - Next topic

dekatria

Hello,

I think this is a general problem. Forum is unreadable in mobile devices because the wideness is much less.
How could I make it show with standard width, so it is readable in mobile phone devices?
Basically I need the forum to show as in desktop even on mobile.
http://rouletteforum.roulette30.com/index.php

Is there any other solution to make forums usable in mobile phones?

Hope my question makes sense.
Thanks in advance.

Gwenwyfar

You can look for one of the responsive themes out there, or have someone adapt yours.

But to just set a minimum width, you could add this to the bottom of your css:

div#wrapper {
   min-width: 570px; }

@media only screen and (max-width: 600px) {
   div#wrapper {
      width: 95%; }
}

Should look good enough and not be way too wide for mobiles.

If you want a larger minimum size just change the numbers there.
"It is impossible to communicate with one that does not wish to communicate"

dekatria

Hello,

Very helpful reply. Thanks

could please explain what the "max-width:600px" means? Because my forum is wider than this.

Antechinus

In this context, it means that the code after that will only be applied to screens that are 600px or less in width.

Advertisement: