![]() |
|
Thread Tools |
#1
|
|||
|
|||
Showthread: userinfo above on mobile, to the left on desktop
Anyone got an idea how to switch the userinfos on the showthread page from left to above depending if I am on a mobile device or on a desktop? (vb 3.8). On mobile it should be above and on desktop it should be on the left side.
Its a setting in the style and language vb setting, but not a style related setting. I am using vb 3.8 and only one style. No members have liked this post.
|
#2
|
|||
|
|||
i do use style fetch plugin. i do make a copy of style on desktop will show only left side (postbit_legacy) and for mobile (postbit) on top > i replaced both the same code postbit_legacy and postbit for top on mobile. the plugin will detected if user using desktop or mobile> without change any style and language vb setting
No members have liked this post.
|
#3
|
|||
|
|||
Thanks, what is the name of the style fetch plugin?
No members have liked this post.
|
#4
|
||||
|
||||
go to Add New Plugin
>Hook Location: style_fetch >Title: *any title >Execution Order: 5 >Plugin PHP Code
Plugin is Active> yes the first 3 lines edit your desktop and mobile browser ID>>>> mine for mobile 115 and desktop is 60 $mobile_style_advanced=115; //iPhone? $mobile_style=115; //Any mobile phone/device $default_style=60; //Your default or preferred desktop style let me know if that works for you No members have liked this post.
|
#5
|
|||
|
|||
Perfect, thanks!!!!
No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 13:13.