Custom HTML bullet points suddenly not working
-
I run a book blog and when I write my wrap-up post at the end of the month, I use the custom HTML block to make a bulleted list using a book emoji as the bullet symbol (see https://keysandopenmind.wordpress.com/2022/10/31/october-2022-reading-wrap-up/). To do this, I use
<ol style="list-style-image:url('https://keysandopenmind.files.wordpress.com/2016/12/bookemoji.png');">accompanied by
<li style="list-style-type:none;">This was working fine until October 2022, and is still displaying fine for posts before then.
Starting with my November 2022 monthly wrap-up, the book emoji have stopped appearing.
e.g. https://keysandopenmind.wordpress.com/2023/01/02/december-2022-reading-wrap-up/
https://keysandopenmind.wordpress.com/2023/01/02/december-2022-reading-wrap-up/).
I’ve noticed that somewhere along the line, the style code is disappearing and reverting to a plain <ol> tag. I tried replacing these with the above and it appears to work in the preview, but when I save and open the page, the problem has returned.
I’ve even tried copying the list into a plain text document, deleting the block and creating a new one, and replacing the html, but the problem persists, and starting a new post from scratch, since I usually use the Duplicate Post function.
I’d really appreciate some advice on what might have changed with these posts to cause this.
The blog I need help with is: (visible only to logged in users)
-
Hi there!
We’re aware of inline CSS being stripped in some sites that do not have access to custom CSS, a feature available with the WordPress.com Premium plan or the Custom CSS add-on. I’ve reported this instance to the developers as well so they can look into it. In the meantime, you can consider using the Custom CSS add-on to add site-wide CSS code instead of inline CSS.
Regards
-
Thank you for the advice and for reporting it up the line. I’ll look into the Custom CSS add-on in the meantime.
- The topic ‘Custom HTML bullet points suddenly not working’ is closed to new replies.