This topic has 8 replies, 3 voices, and was last updated 9 years, 7 months ago ago by Eva Kemp
I’ve got a peculiar problem with the alignment of one of my static blocks when viewed on a smart phone.
If you look at this image https://www.dropbox.com/s/5v2w45xczo2b1z3/Screenshot_2015-04-13-22-53-44.png?dl=0 you can see that the second block STORE INFO is not properly aligned with the first block.
I can’t figure out why this is, they are both configured in the same way with all the same properties in the VC settings.
The elements look fine on 7″, 10″ tablets and laptops/desktops
Hello,
Please add this code in custom.css file.
.footer-top .vc_col-sm-3{
width: 50%;
float: left;
}
Regards,
Robert Hall.
Excellent!!
Why was it happening, did I make a wrong setting?
Everything was fine, just sometimes needed to write code.
Regards,
Robert Hall.
Actually, it’s not ideal. It now shifts the remaining content in that row on tablets in landscape view.
Any other suggestions?
I’ve replaced code above to this. Please clean cache and check it.
@media (max-width: 480px){
.footer-top .vc_col-sm-3{
width: 50%;
float: left;
}
}
Regards,
Robert Hall.
This one is better.
Works on:
HTC One X+
OnePlus One
Ipad Air
Does not fix it on:
Nexus 7 (2012) (portrait)
I can live with this
Thank you
Hello,
You’re welcome.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up