vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Can desktop default style be used as mobile style post modification? (https://vborg.vbsupport.ru/showthread.php?t=301163)

thyshiva 08-14-2013 05:11 AM

Can desktop default style be used as mobile style post modification?
 
Hi,

We have desktop default style, can we customize it to use as mobile style? If yes, please suggest step.

TheLastSuperman 08-14-2013 05:53 PM

Yes!

I would start by removing all elements not needed... basically you can use css to hide some elements and/or vb:comment> code or by simply removing code from the templates themselves making the layout of each section "less" because taking the default style and re-designing as a mobile means you needs to strip it down heavily making it more bandwidth savvy per say.

Take a look at how Dartho did this mobile style - https://vborg.vbsupport.ru/showthread.php?t=249277

^ You can do that or similar, that at one point was a default style I imagine that Dartho simply took one day and started manipulating to suit mobile devices ;).

The objective of a mobile style is to work either for tablets or mobile phones, on mobile phones bandwidth is a major factor as some have limited plans but tablets not so much as they usually pull from a home/work network.

Edit: Ahh one tip I forgot to mention, when doing a desktop style if it was fixed width i.e. had a set size in X for example if your forum size is 980px w/ margins set to auto, then when cloning that to make a mobile you should change everything to percentages - Mobile devices do not require a 980px wide forum, they actually show the content better if it's set to %'s and can adjust on the fly - Larger font sizes may show better as well I would gather a few devices and test as I go if it were me.

Edit Again :p: Also if your doing tablets, see about the jquery method outlined here IF you want different backgrounds at different resolutions etc - http://css-tricks.com/resolution-specific-stylesheets/


All times are GMT. The time now is 05:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01160 seconds
  • Memory Usage 1,708KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete