Is there a way to change formatting on just the mobile version or even just the phone? For instance, I want my text aligned centered on the phone, but not on the laptop/desktop. Is there CSS code for that?
Hey ginnywills,
Please provide a link to the site/page in question so we can inspect the page and provide the necessary css.
Best regards,
Jordan Shannon
Its not really a specific pages that I want it for, its more overall. If you look at this home page: http://roadies.coach/
I like the way it looks on the laptop but when you look at it on the phone, some things are centered and some are left-aligned. I am wondering if it can ALL be centered JUST on the mobile.
Thanks
Hi,
Yes it can, it just a matter of knowing the classes of the elements, Try this code in the General Styling > Quick CSS field:
@media only screen and (max-width: 480px) {
.av-catalogue-container{text-align:center !important; }
.av-catalogue-title{padding-right:0px!important; }
.av-catalogue-content{padding-right:0px!important; }
.av-catalogue-image{float:none!important; margin-right:0px!important; }
}
Best regards,
Mike
Yeah!! So its only a matter of putting this in front ‘@media only screen and (max-width: 480px)’ and then it will only make changes on the phone?
Hi,
Yes. It targets the specific mobile screen size. Did Mike’s code solve your problem?
Best regards,
Jordan Shannon
Yes! Thank you!
Hi,
Great! If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon