Home Forums Weaver Xtreme Theme specify different image alignments on desktop and mobile Reply To: specify different image alignments on desktop and mobile

#70575
scrambler
Moderator

Add the selector for the single post pages

.single.is-phone .alignleft, .blog.is-phone .wvrx-posts .alignleft {float:none !important;margin-left:auto !important;margin-right:auto !important;}

And if you also want to target aligned right add this one

.single.is-phone .alignright, .blog.is-phone .wvrx-posts .alignright {float:none !important;margin-left:auto !important;margin-right:auto !important;}