collapse

* User Info

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

* Who's Online

  • Dot Guests: 173
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 am
  • emanuele: [link]
    November 01, 2016, 12:43:50 pm
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 pm
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 am
  • [DFg]DJF-1975: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 am
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 pm
  • phantomm: and from what I see only patch is broken, full install package is fine
    October 21, 2016, 03:44:44 pm
  • phantomm: they say it for over 3 weeks now..
    October 21, 2016, 03:43:52 pm
  • aegersz: SMF say that bug fix 2.0.13 is coming soon ...
    October 19, 2016, 06:46:12 pm
  • Chen Zhen: check that thread at a later date as that file is not a final fix
    October 10, 2016, 03:09:18 pm
  • [DFg]DJF-1975: Thanks for the shoutbox fix file!
    October 10, 2016, 09:17:19 am
  • * Burke Knight Lurks
    October 02, 2016, 09:17:45 pm
  • [DFg]DJF-1975: Not to shoutbox spam, but I use this portal daily and I wanted to say thank you. It's been too long since I last thanked you all!
    October 02, 2016, 11:52:06 am
  • [DFg]DJF-1975: Is this project or for that matter anyone here still active?
    October 02, 2016, 11:48:04 am
  • ♦ Ninja ZX-10RR ♦: Hey :)
    September 30, 2016, 11:34:37 pm
  • aegersz: Hello SimplePortal people !
    September 30, 2016, 05:10:53 am
  • Jade Elizabeth: It's GREAT to see you too Sinan!! :D
    July 06, 2016, 02:33:26 am
  • [SiNaN]: Hey Jade! It's great to see you around! Jade!
    July 03, 2016, 06:51:31 am
  • Jade Elizabeth: Oops, sorry I mean HEY SINAN! ;)
    July 01, 2016, 11:07:13 am

* Recent Posts

Re: Get only the articles in rss by emanuele
[Today at 08:46:29 am]


Re: SP articles more functions by emanuele
[Today at 08:45:23 am]


Get only the articles in rss by gcifuentes95
[Yesterday at 08:00:00 pm]


Re: Remove HTML code within Block by ♦ Ninja ZX-10RR ♦
[December 05, 2016, 07:19:21 pm]


Re: SP articles more functions by Cyberkid
[December 05, 2016, 06:10:51 pm]

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

Author Topic: Responsive design  (Read 5396 times)

0 Members and 1 Guest are viewing this topic.

Offline Petter

  • Jr. Member
  • **
  • Posts: 53
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Responsive design
« on: November 07, 2012, 02: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: 53
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Responsive design
« Reply #1 on: November 23, 2012, 02: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: 404
  • Gender: Male
  • Smile, tomorrow will be worse...
    • Polish ElkArte community
  • SMF Version: None
  • SP Version: 2.4 (Elkarte)
  • Elkarte Version: 1.0.5
Re: Responsive design
« Reply #2 on: November 23, 2012, 03: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: 53
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Responsive design
« Reply #3 on: November 26, 2012, 05: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: 4873
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Responsive design
« Reply #4 on: February 05, 2013, 03: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: 53
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Responsive design
« Reply #5 on: February 06, 2013, 01: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: 4873
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Responsive design
« Reply #6 on: March 11, 2013, 03: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: 53
  • SMF Version: 2 RC2
  • SP Version: 2.3.1
Re: Responsive design
« Reply #7 on: November 25, 2013, 05:02:10 am »

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6781
  • SMF Version: 2.0.10
  • SP Version: 2.3.6
Re: Responsive design
« Reply #8 on: January 02, 2014, 05:44:02 pm »
I'll mark this one here solved then.
And slowly, you come to realize... It's all as it should be...