- This topic has 17 replies, 5 voices, and was last updated 3 years, 4 months ago by
David.
-
AuthorPosts
-
November 21, 2022 at 6:08 am #2425326
eran
Hi,
Is it possible to add an image block after a li? I want to show that li with an image, but I can’t find a way to add an imageNovember 21, 2022 at 7:22 am #2425423David
StaffCustomer SupportHi there,
no i do not believe the core List Block supports nested blocks.
If you must have a HTML list then it will require custom HTML. Let me know if you need assistance with that.November 21, 2022 at 7:35 am #2425438eran
How can I add custom HTML after the li?
How would you add the image after the li?November 21, 2022 at 8:35 am #2425734Leo
StaffCustomer SupportHi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-informationLet me know 🙂
November 21, 2022 at 8:56 am #2425777eran
Its a draft because I can’t publish it with the images
November 21, 2022 at 8:57 am #2425784Leo
StaffCustomer SupportCan you show me an example of what you are trying to achieve?
November 21, 2022 at 10:36 am #2425978eran
I added a link in the private chat.
how can I add image after the li “Impressively create graphics. “?
November 21, 2022 at 10:56 am #2425998Leo
StaffCustomer SupportWhy can’t you just add an image block after the list?
November 21, 2022 at 11:07 am #2426026eran
Because the image related to specific li
November 21, 2022 at 11:12 am #2426036Leo
StaffCustomer SupportAhh I see what you are after.
It’s not possible using the default List block unfortunately.
I would recommend using the Headline block to recreate the list-style look so you can insert the image block in between each headline block.
Here is a similar case where the headline blocks are used to create a list style layout:
Hope this helps 🙂
November 21, 2022 at 11:35 am #2426067eran
Do you want me to make the list with headline blocks and add an icon before the headline so it looks like a list?
all my website use the default list… there’s no way to make it with the default list?
Plus, it won’t look the same as the default list…
November 21, 2022 at 12:06 pm #2426104Leo
StaffCustomer SupportDo you want me to make the list with headline blocks and add an icon before the headline so it looks like a list?
That is the best solution in my opinion.
there’s no way to make it with the default list?
Unfortunately not – this isn’t something GP can control.
Plus, it won’t look the same as the default list…
You should be able to tweak the style of the headline blocks to make it appear exactly the same 🙂
November 21, 2022 at 12:53 pm #2426171eran
How can I find dot exactly the same as the list dot?
November 21, 2022 at 1:13 pm #2426184Ying
StaffCustomer SupportYou can also add a css class to the headline block, eg.
list-item-headline, then add this CSS:.list-item-headline { display:list-item; }November 21, 2022 at 9:20 pm #2426563eran
And will google treat it as a list?
-
AuthorPosts
- You must be logged in to reply to this topic.