Site logo

Archived topic

post image on mobile

3 replies · Started by Ruben on January 28, 2020

Viewing posts 1–4 of 4

Hi.

I would like the image on my posts to look similar to the one in desktop.

This is the desktop: https://imgur.com/Mkl4efy

This is the mobile: https://imgur.com/syAH3sT

As you can see the image goes to centre, however I would like it to be on the right side of post as in desktop mode. I tried to make image very small, like 120 px width, etc, but it does not work. I see other websites that achieve this even with large images. How could I do that?

The post I am trying to configure is this one: https://www.mejorbrokerdebolsa.com/invertir-gas-natural-bolsa/

Thank you

Hi there,

add this CSS:

@media (max-width: 768px) {
    .alignright {
        display: inline;
        float: right;
        margin-left: 1.5em;
    }
}

Thank you

You're welcome

This archived topic is closed to new replies.