Customizing SMF > SMF Coding Discussion

Scaling site logo?

(1/1)

ajay16:
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

Iomega0318:
Just a heads up it breaks in a regular browser as well, if you re-size your browser the image will show large too..

Old Fossil:
@ajay16

How are you adding the image?

Directly onto the index.template file or using the image link in admin?

ajay16:
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.

ajay16:
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!

Navigation

[0] Message Index

Go to full version