Archived topic
Left-side-images centered on smartphone-view
5 replies · Started by Anne-Barbara on November 24, 2022
Hi, still one problem:
On this site the small images with the star-people are on the left:
https://hochsensibelsein.org/wP/hochsensibel-symptome/#Hochsensibel_Die_korperlichen_Symptome
In the smartphone-view they are centered. What can I do to put them on the left side, too?
Kind regards,
Anne-Barbara
Hi there,
Try this CSS:
@media (max-width: 768px) {
.entry-content .alignleft {
margin-left: 0;
}
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Thank you, now the images are on the left side! But still one thing: The text is under the image and not beside, it doesn't flow around the image. Can you please help me with this?
Kind regards,
Anne-Barbara
Hi there,
you can add this CSS to keep them left aligned:
.alignleft {
float: left !important;
margin-right: 1.5em !important;
}
Thank you, great! :-) Kind regards, Anne-Barbara
You're welcome