Hello all,
with the following CSS snippet I have centred the images.
This works as far as I want it to.
img {
display: block !important;
margin-left: auto !important;
margin-right: auto !important;
}
Unfortunately, however, the emojis are also centred. Especially in reading mode, I then have the problem that the emoji is displayed above the headline.
Is there any way that the emojis can be left-aligned? Possibly by limiting the pixels?
The images that are to be centred are still to be displayed locally via a link in Obsidian.
So with the following command:
![[image]]
I am grateful for any tips and hints!
Edit: In edit mode, the emoji is displayed the way I want it.
Understood. And what theme are you using? In the default theme using your CSS from the first post, # đź“„Test remains on the left for me and images are centered.
I use the theme atom and have just set the theme to the default. Unfortunately, the emoji is still displayed incorrectly.
But your post gave me the idea that it might be due to a community plugin, and after a bit of trial and error, my suspicions proved correct. A community plugin has changed the display.