collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Who's Online

  • Dot Guests: 57
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • BCNPalomino: lol, that search doe :O
    July 18, 2014, 09:26:27 AM
  • RohailPro23: hi all
    July 18, 2014, 08:09:00 AM
  • samborabora: sorry, thought this was search, lol
    June 29, 2014, 04:45:12 AM
  • samborabora: sp_embed_image
    June 29, 2014, 04:45:01 AM
  • stanyy: Was it merely correcting the mistake made in 2.0.7 or is 2.0.8 actually faster than 2.0.6?
    June 20, 2014, 07:51:21 AM
  • AngelinaBelle: Smf 2.0.8 has been released. -- uses less memory than 2.0.7 [link]
    June 19, 2014, 03:46:47 PM
  • iSamp: [link]
    June 14, 2014, 06:42:38 AM
  • iSamp: SiNaN Plz Help
    June 14, 2014, 06:42:12 AM
  • iSamp: I need Help Plz Help Me I posted a Thing In English Support Plz read it
    June 14, 2014, 06:21:15 AM
  • Cyberkid: hey!
    June 12, 2014, 02:29:42 AM
  • AngelinaBelle: Hello!
    June 03, 2014, 01:06:04 PM
  • kal: also, hello. :)
    June 03, 2014, 08:36:43 AM
  • kal: I haven't been here in a couple months I don't think.
    June 03, 2014, 08:36:35 AM
  • AngelinaBelle: Welcome back, David
    June 02, 2014, 06:18:46 AM
  • David: I've missed this place!
    June 02, 2014, 01:04:01 AM

* Team Blog

* Recent Posts

NEED HELP? If you're looking for support with Simple Portal, look no further than the Support Board!

Author Topic: Responsive design  (Read 3076 times)

0 Members and 1 Guest are viewing this topic.

Offline Petter

  • Jr. Member
  • **
  • Posts: 51
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Responsive design
« on: November 07, 2012, 01:45:43 AM »

I think website design is moving towards responsive design, instead of separate mobile skins.

Is it possible to make the left/right side blocks disappear at small window sizes?


At http://www.blocweb.net/ the Online-block at the right side is moving to the bottom of the page, which is a nice solution, but it would also be OK if it just disappeared.

Offline Petter

  • Jr. Member
  • **
  • Posts: 51
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Responsive design
« Reply #1 on: November 23, 2012, 01:21:14 AM »
Maybe I need to express myself clearer: Is there a way to make the side columns collapse automatically at small window sizes? Or when using mobile phones.

Offline phantomm

  • Translator
  • *
  • Posts: 362
  • Gender: Male
  • Smile, tomorrow will be worse...
    • Polish ElkArte community
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Responsive design
« Reply #2 on: November 23, 2012, 02:40:35 AM »
well.. there could be way to use JavaScript to detect screen resolution and if detected dimensions are lower than **px x **px run:
Code: [Select]
$modSettings['showleft'] = '0';
$modSettings['showright'] = '0';

I remember that I tried to make something with JS screen resolution detection, but it never worked as it should... Maybe someone else can help more

I'm sure that there is better way to deal with this than disabling blocks :E

Offline Petter

  • Jr. Member
  • **
  • Posts: 51
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Responsive design
« Reply #3 on: November 26, 2012, 04:17:48 AM »
Thank you, it seems like a good way to fix it. I hope someone can help me with the javascript-thing, I´m not a programmer...

Maybe this could be a built in feature in a future release of SP?

Offline AngelinaBelle

  • Support
  • *
  • Posts: 4885
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Responsive design
« Reply #4 on: February 05, 2013, 02:57:12 PM »
That is a good feature request.  For now, I think it would be good to do this as a mod.

Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Petter

  • Jr. Member
  • **
  • Posts: 51
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Responsive design
« Reply #5 on: February 06, 2013, 12:17:43 AM »
That is a good feature request.


I´m glad to hear that.  :nervous-happy:


well.. there could be way to use JavaScript to detect screen resolution and if detected dimensions are lower than **px x **px run:
Code: [Select]
$modSettings['showleft'] = '0';
$modSettings['showright'] = '0';

I remember that I tried to make something with JS screen resolution detection, but it never worked as it should... Maybe someone else can help more

I'm sure that there is better way to deal with this than disabling blocks :E


Anyone else who knows how to do this?

Offline AngelinaBelle

  • Support
  • *
  • Posts: 4885
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Responsive design
« Reply #6 on: March 11, 2013, 01:39:04 PM »
You might ask about this in the customization board.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Petter

  • Jr. Member
  • **
  • Posts: 51
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Responsive design
« Reply #7 on: November 25, 2013, 04:02:10 AM »

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6406
  • The Amazing Coder!
  • SMF Version: 2.0.8
  • SP Version: 2.3.5
Re: Responsive design
« Reply #8 on: January 02, 2014, 04:44:02 PM »
I'll mark this one here solved then.
And slowly, you come to realize... It's all as it should be...