Image at mobile view always at the left

Posted in: Newsmag
Post count: 114

Hi,

the image at the desktop view is on the left (that’s correct) – see: https://cdn.eronite.com/images/desktop.png

The image at the desktop view is on the middle (that’s wrong) – see: https://cdn.eronite.com/images/mobile.jpg

Please view the settings here: https://cdn.eronite.com/images/settings.png

What can I do to set the image to the left side at the mobile view?

Thank you and best regards,
Luke

  • This topic was modified 4 years by luke-tt.
Post count: 20688

Hi,

I think the theme positions it centered on mobile, for some reason. I will try to recreate this case on my test install. There must be a reason why it is like this.

I can provide a quick fix for it, a code like this will align in to the left on mobile https://i.imgur.com/oCM5B1D.png

The code is here – https://pastebin.com/iPb6Aw3n
Enter it in the Advanced CSS section, in the phones field https://i.imgur.com/vvXkFFQ.png

Thank you!

Post count: 114

Hi Simion,

thank you.

How it’s possible to align left only one specific image (which appears sidewide) and not all?

Thank you and best regards,
Luke

Post count: 20688

Hi,

That code should affect only images that are set to be aligned to the left. does it create problems when you try it? Please let me know if it does, I will take a look.

If needed it could be made more specific perhaps, I will try. Which image are you referring to? The one you mentioned before?

Let me know.

Thank you!

Post count: 114

Hi Simion,

yes, I only want to align left this image: https://cdn.eronite.com/wp-content/uploads/lese-tipp-eronite-online-maennermagazin.png

Thank you and best regards,
Luke

Post count: 35449

Hi,
You can try this custom css
.postid-171066 .alignleft:not(.td-post-image-left) {
float:left;
margin-right: 10px;
}

This one will apply only on this post -> https://www.eronite.com/lea-rose-pornos-erstes-mal-blasen/
I hope this will help you!

Post count: 114

Hi,

thank you, but I don’t want to apply this on one single post, I only want to align left this single image (https://cdn.eronite.com/wp-content/uploads/lese-tipp-eronite-online-maennermagazin.png) in all posts, but only this image, no more.

Thank you and best regards,
Luke

Post count: 35449

Then please try this custom css
.wp-image-171839.alignleft:not(.td-post-image-left) {
float:left;
margin-right: 10px;
}

If is still not working, please provide 3 different links that have this image https://cdn.eronite.com/wp-content/uploads/lese-tipp-eronite-online-maennermagazin.png
Thank you!

Post count: 114

Hi Calin,

it works – thanks a lot! 🙂

Best regards,
Luke

Post count: 35449

I’m glad to hear that!
If you need help with anything else, just let us know!
Have a nice week!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newsmag’ is closed to new topics and replies.