Go Back   CodingForums.com > :: Client side development > General web building > Building for mobile devices

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-01-2013, 11:49 AM   PM User | #1
Common
Regular Coder

 
Common's Avatar
 
Join Date: Jan 2009
Location: Glasgow, UK
Posts: 118
Thanks: 10
Thanked 12 Times in 12 Posts
Common is an unknown quantity at this point
How to make this responsive?

Hello there

I was wondering if someone could suggest any techniques I could use to make the following blog page display well in a mobile browser (such as an iphone):

http://www.intouristuk.com/Blog

What happens is, as you'll see if you open the page on your phone, the browser wants to show the full width of the banner, which really isnt very important, but as a result the blog posts are squished into a tiny column. Sure you can zoom and read it fine but I would like it look good from the off.

Would there be a way to tell the mobile browser to scale the banner right down? Or perhaps I should just go down the route of not loading the banner on a mobile browser.

Any suggestions welcome!
__________________
Glasgow Bar, Restaurant, Event and Gig Reviews at Get Out Glasgow! Or Follow me on Twitter @getoutglasgow
Common is offline   Reply With Quote
Old 02-01-2013, 04:23 PM   PM User | #2
tracknut
Regular Coder

 
Join Date: Aug 2006
Posts: 891
Thanks: 4
Thanked 205 Times in 204 Posts
tracknut is an unknown quantity at this point
I would make a few banners of different sizes to correspond with your specific media queries. The smaller the site, the smaller the banner should be. And yes, possibly the smallest site has no banner at all.

Dave
tracknut is offline   Reply With Quote
Old 02-02-2013, 12:10 AM   PM User | #3
StevenHu
Regular Coder

 
Join Date: Jun 2011
Location: CA
Posts: 105
Thanks: 0
Thanked 10 Times in 10 Posts
StevenHu is an unknown quantity at this point
I suggest not loading the banner. The links under the banner need to change too, so they become easy to tap.
__________________
Steve Husting
http://iphonedevlog.wordpress.com
StevenHu is offline   Reply With Quote
Old 02-02-2013, 11:56 PM   PM User | #4
hdewantara
Regular Coder

 
hdewantara's Avatar
 
Join Date: Aug 2009
Location: Jakarta, Indonesia.
Posts: 287
Thanks: 4
Thanked 39 Times in 39 Posts
hdewantara is an unknown quantity at this point
I've been playing using Ctrl+Shift+M and Ctrl+Shift+I of my FF.18,
and I could think of some quick & dirty rules, below.

But I think you might need to check them first,
because I haven't tested them on mobiles or other desktops
Code:
#masthead > a{
  display: block;
  overflow: hidden;
}
#bottom_menu{
  width: auto;
}

Last edited by hdewantara; 02-03-2013 at 12:07 AM..
hdewantara is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:00 AM.


Advertisement
Log in to turn off these ads.