DoctorHobel Posted September 28, 2022 Share Posted September 28, 2022 Hey Guys! I like to use list elements a lot, because they enable swiping through items on mobile. I use them for "buzzword-roulettes" ๐ and "teams". Unfortunately โ the "title" of the items is generated as Heading 2/ H2, so I end up with a messed up heading hierarchy with a lot of H2 with buzzwords or names. I know, I could disable titles on items, but this way I can't make a phrase stand out in the description size wise and I am limited to make the phrase bold. Any idea how to disable / prevent / override this? Link to comment
Beyondspace Posted September 28, 2022 Share Posted September 28, 2022 3 hours ago, DoctorHobel said: Hey Guys! I like to use list elements a lot, because they enable swiping through items on mobile. I use them for "buzzword-roulettes" ๐ and "teams". Unfortunately โ the "title" of the items is generated as Heading 2/ H2, so I end up with a messed up heading hierarchy with a lot of H2 with buzzwords or names. I know, I could disable titles on items, but this way I can't make a phrase stand out in the description size wise and I am limited to make the phrase bold. Any idea how to disable / prevent / override this? Can you share your site with the protected password so I can take a look? BeyondSpaceย -ย Squarespace Website Developer ๐ผ๏ธย Lightbox Studioย (Enable Pinch/Zoom on lightbox, video lightbox and much more) ๐๏ธย Delivery Date Pickerย (Squarespace Date picker form field) ๐ซย Gallery block 7.1 workaround ๐ฅณย No-code customisations for Squarespaceย (+100 Spark plugin customisations) ๐ฅณย Freemium Squarespace Widget Templatesย (+1000 Elfsight Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
DoctorHobel Posted September 28, 2022 Author Share Posted September 28, 2022 Heyโ thanks you your answser, it does not depend on a project or a setting, it's every list item and I can't change the title NOT to be a H2. Sourcecode is like: ย <h2 class="list-item-content__title" style="max-width: 75%;">Anything</h2>. You can replicate this on your own projects, just create a list item and take a look at the code :). ย Link to comment
tuanphan Posted September 30, 2022 Share Posted September 30, 2022 On 9/28/2022 at 11:05 PM, DoctorHobel said: Heyโ thanks you your answser, it does not depend on a project or a setting, it's every list item and I can't change the title NOT to be a H2. Sourcecode is like: ย <h2 class="list-item-content__title" style="max-width: 75%;">Anything</h2>. You can replicate this on your own projects, just create a list item and take a look at the code :). ย You want to change its color or? Email meย if you have need any help (free, of course.). Answer within 24 hours.ย Or send to forum message Contact Customer Careย - Learn CSSย - Buy me a coffeeย (thank you!) Link to comment
Silvano Posted October 2, 2022 Share Posted October 2, 2022 (edited) Hi! Is there already a solution for this issue? I also can not change the heading tag. The titles in list elements are always H2. I need them to be H3. This is only an issue with the generated list elements... Edited October 2, 2022 by Silvano Link to comment
creedon Posted October 2, 2022 Share Posted October 2, 2022 4 hours ago, Silvano said: Hi! Is there already a solution for this issue? I also can not change the heading tag. The titles in list elements are always H2. I need them to be H3. This is only an issue with the generated list elements... Please see the following. ย DoctorHobel 1 Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things )ย consultantย open for new projects. Link to comment
DoctorHobel Posted October 4, 2022 Author Share Posted October 4, 2022 My problem ist not the style, it's more about SEO and Heading Hierarchy. I don't want the elements to be H2... they should not be a Heading at all ๐ Link to comment
creedon Posted October 4, 2022 Share Posted October 4, 2022 10 hours ago, DoctorHobel said: My problem ist not the style, it's more about SEO and Heading Hierarchy. I don't want the elements to be H2... they should not be a Heading at all ๐ JavaScript would be the only way to go to change the structure of the page. Weather that technique would work for SEO is another question. If the crawler read the page before the JavaScript ran then the changes to the page would be no good for SEO purposes. If the crawler ran the JavaScript then there is hope that the page changes would be picked up by the crawler. Also note that changing the structure of the page could have a dramatic effect on the page rendering. SS may have written CSS to the h tags. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things )ย consultantย open for new projects. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment