PDA

View Full Version : Are you a CSS guru? Can you design a great CSS theme for the forums?




RonPaulVolunteer
06-20-2011, 02:51 PM
Right now a CSS theme does exist, but it's not very good - see the results here:

http://ronpaulflix.com/d/ios-theme-rpf.jpg


What we need is someone that knows CSS really well and can work with the admins to create a really great experience for mobile users on small screens. If you know what you're doing (I have no clue about CSS sorry) then contact Josh (http://www.ronpaulforums.com/member.php?1-JoshLowry) and work with him on it. We also need to detect if it's a mobile device and use the mobile CSS stylesheet. Right now people have to know about it, and then select it from a dropdown in the bottom left corner of the page, though right now it renders as the image above which is clearly not great. Being able to easily post to RPF from the field on a mobile device is important, so if you can help it would be really great.

Bern
06-20-2011, 02:56 PM
"There's an app for that." /obligatory

teacherone
06-20-2011, 03:35 PM
The best way is to have a browser detect and redirect in the .htacces file.

something like this:


RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} iPhone
RewriteCond %{REQUEST_URI} !^/my-iPhone-site/
RewriteRule .* /my-iPhone-site/ [R]

this would be the quickest and cleanest way to send all iphone users to ronpaulforums.com/my-iphone-site (or any other sub)

then you just need the vbulletin mobile suite (https://www.vbulletin.com/forum/entry.php/2478-vBulletin-Mobile-Suite-Released) uploaded at ronpaulforums.com/my-iphone-site.

JoshLowry
06-20-2011, 03:45 PM
Thanks for the information. Added it to my list.

This one is pretty low priority. We already have a mobile theme that works for the forums and for posting. http://www.ronpaulforums.com/showthread.php?276930-Mobile-phone-style-now-available-for-RPF.-Browse-on-the-go!

The front page is not made for our mobile theme, but you can view it with the default RPF theme on your iphone.

PastaRocket848
06-20-2011, 04:04 PM
i would probably put an <!--[if lt... statement detecting webkit. webkit is used for android and iphone, and frankly blackberry and winmo 7 don't matter.