- This topic has 16 replies, 3 voices, and was last updated 1 year, 5 months ago by David.
-
AuthorPosts
-
October 30, 2022 at 5:27 am #2393767eran
Hi,
I want to create a table of content without plugins.Will it hurt my page’s SEO if I use headings as links instead of a list?
October 30, 2022 at 6:49 am #2393836DavidStaffCustomer SupportHi there,
a List block will tell assistive technologies there is a List of related items here.
So it’s better for accessibility.October 30, 2022 at 6:55 am #2393840eranSo I’ll need to style it with CSS?
Or there’s a way I can use generateblocks to style it?
October 30, 2022 at 7:06 am #2393854DavidStaffCustomer SupportDo you have GenerateBlocks Pro ?
October 30, 2022 at 7:21 am #2393874eranYes
October 30, 2022 at 7:38 am #2393891DavidStaffCustomer SupportOk, if you:
1. add a Container Block, and got to Advanced > Add Attribute.
In the first left hand field add:role
In the second right hand field add:list
2. Inside the container add your Headlines. For each headline you add, in Advanced > Add Attribute
And this time it will berole
andlistitem
That in theory will allow assistive technologies and any other HTML tools treat it as a List.
October 30, 2022 at 7:48 am #2393903eranCan you check if I did it right?
Plus, is it possible to make an Indent list item?
October 30, 2022 at 8:09 am #2394159DavidStaffCustomer SupportWhere can i see it ? Can you share a link
October 30, 2022 at 8:13 am #2394168eranAdded in private message.
Is it possible to make an Indent list item?
And there’s a way to add a bullet for every item? so when long item take space of 2 lines readers won’t think its a different item.
October 30, 2022 at 8:15 am #2394169DavidStaffCustomer SupportSelect the Headline block(s) ( note you can shift click to select multiple ones ) and then in Spacing add some Left Margin.
October 30, 2022 at 8:17 am #2394171DavidStaffCustomer SupportCan you check if I did it right?
And yes – thats correct 🙂
October 30, 2022 at 8:18 am #2394172eranthere’s a way to add a bullet for every item? so when long item take space of 2 lines readers won’t think its a different item.
October 30, 2022 at 8:22 am #2394175DavidStaffCustomer SupportYou can add an icon to the Headline block.
Or alternatively use a List Block if its going to make your life easier maintaining the lists.
We can assist with some CSS for styling if you need.November 18, 2022 at 2:58 pm #2422229JustinDavid,
I’m not 100% sure my issue is related, but I don’t see the ability to indent text in a post.
Use case: Sometimes we use bullets for unordered lists, but the paragraphs are too long and we want to use a line break. However, there doesn’t appear to be a way for us to keep have a non-bulleted paragraph of text that’s aligned with the bulleted paragraph above it.
We’re in the process of migrating from Squarespace. I looked at our html and this is how they do it <p style=”margin-left:40px;white-space:pre-wrap;” class=””>[post text goes here]</p>
Can you think of a way we can easily accomplish the same thing without having to modify the html tags in the editor?
November 19, 2022 at 3:39 am #2422654DavidStaffCustomer SupportHi there,
without messing with the HTML, the core List Block ( and the GB Headline Block ) does support (multiple) soft line-breaks using Shift Enter.
For the list block the margin indent is preserved.
The same goes for the Headline with an Icon, you will need to make sure the Icon alignment is set to Top.Does that help ?
-
AuthorPosts
- You must be logged in to reply to this topic.