Any ideas how to fix the issue with text alignment on mobile/tablet devices ? The text is too small and the alignment is wrong.
https://www.dropbox.com/s/okqsspwrld6frej/SBCimage1.png?dl=0 – Correct layout
https://www.dropbox.com/s/h8rvm3lohk95t6k/SBCimage2.png?dl=0 – Wrong layout – not responsive
Site is at http://www.stourportbc.co.uk
Hey mikemurphy10!
You probably have the layer set to display on the left as a percentage when it needs to be a pixel value. Send us a WordPress login and we’ll take a look.
Cheers!
Elliott
Thanks Elliott. We have all the text elements as a pixel value already.
Perhaps you can take a look, login details below
thnx
Hi!
Sorry, I got my words mixed up but that’s what I meant. You need to use percentages instead of pixel values. I set the first one to 20% so you can see how it’s done.
Regards,
Elliott
Ok, so i tried that but nothing changes. I can see what you mean about % and px however.
You can see how it doesnt change by resizing the browser window. Doesnt work in an ipad also.
Hi!
Question for you, do you know how to use media queries?
Solution would be to load a different for size, for every screen
https://css-tricks.com/snippets/css/media-queries-for-standard-devices/
take a look here and let us know after trying, if you steal deal with any issues
Cheers!
Basilis
Sorry Basilis, dont even know where to start with that !
Hi!
try this code in Quick CSS for desktop:
.ls-l {
left: 40px;
}
and adjust as needed.
For mobile you need to add some media queries, like this for example:
@media only screen and (max-device-width: 736px) {
.ls-l {
left: 40px;
}}
Cheers!
Andy