Advertisement:

Author Topic: Scaling site logo?  (Read 809 times)

Offline ajay16

  • Semi-Newbie
  • *
  • Posts: 35
Scaling site logo?
« on: April 23, 2012, 03:53:56 PM »
I have tried all i can think to get this to work and it doesnt...

When i open my webpage on a PC browser the site opens and looks normal.



However when i open it on a mobile phone the logo gets squashed and doesnt scale down like the rest of the site to fit the screen.


See here:



Can anyone shed any light on the problem?

SMF: 2.0.2
Address: http://208oc.com/public_html/index.php

Offline Iomega0318

  • Jr. Member
  • **
  • Posts: 215
  • Gender: Male
    • jonimpson on Facebook
    • @UOFreeshards on Twitter
    • UOFreeshards.net
Re: Scaling site logo?
« Reply #1 on: April 23, 2012, 06:03:30 PM »
Just a heads up it breaks in a regular browser as well, if you re-size your browser the image will show large too..
UOFreeshards.net
UOFreeshards.net 2.1 Aplha Test Site
"I believe in Christianity as I believe in the sun...
not because I see it but because by it I see everything else."
C.S. Lewis

Heed what I say, for it shall be mentioned only once.

Offline Old Fossil

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 9,884
  • Gender: Male
  • Fussy Old Sod
    • @mkcommforum on Twitter
Re: Scaling site logo?
« Reply #2 on: April 23, 2012, 06:05:21 PM »
@ajay16

How are you adding the image?

Directly onto the index.template file or using the image link in admin?
My Forum
Simple Portal Beta Tester
 Mod Emulate
Forum Themes
My Forums Broken Fix

PMs for support will be returned with dynamite attached

Offline ajay16

  • Semi-Newbie
  • *
  • Posts: 35
Re: Scaling site logo?
« Reply #3 on: April 24, 2012, 02:52:54 AM »
Cheers for that, i thought it would break up at different screen resolutions :(

I am simply deleting the standard logo image and naming my own one the same name. I have changed the width and height settings in the themes index.css.

The theme doesnt have the option to add a url for your own image like most of them do.

Offline ajay16

  • Semi-Newbie
  • *
  • Posts: 35
Re: Scaling site logo?
« Reply #4 on: April 27, 2012, 05:58:55 PM »
Anyone? Im really stuck with this, i have been trying some different code tonight to do with the width in pixels and percent and still it breaks up and goes funny!