Comments 4dowegmbh started the conversationDecember 9, 2019 at 4:50pmHi,I am building a page and have given my headlines id values.in the wordpress code, the elements have got a el_id="my-id-1" attribute.I expected the html outcome to be <h1 id="my-id-1">Headline 1 </h1>but WPBakery doesn't use the id value in my html at all. There is no id="my-id-1" in the entire documents.Is this a common wpbakery error? Does it work on your wordpress-installations?Felix 8,992Tahir repliedDecember 9, 2019 at 8:15pmHey Again,There is an ID Option available in Row Settings here : http://prntscr.com/q8hpun which you can use to target the element inside it.Best ThemeNectar Support Team 4dowegmbh repliedDecember 10, 2019 at 12:44pmOk, I solved it. WP is not adding the IDs to Text blocks, which is what confused me.If you wish to create a hash url anchor then you have to - as Tahir suggested - use the row's ID field. 8,992Tahir repliedDecember 10, 2019 at 6:28pmThe Text Block ID are intentionally disabled since they cause issues with the smooth scroll anchor script and therefore only the Rows can have ID's. Best ThemeNectar Support Team dowegmbh replied privately 8,992Tahir repliedDecember 16, 2019 at 11:13amHey Again,In that case use a Inner Row and set a ID in there : http://prntscr.com/qbh6gu .Best ThemeNectar Support Team Sign in to reply ...
Hi,
I am building a page and have given my headlines id values.
in the wordpress code, the elements have got a el_id="my-id-1" attribute.
I expected the html outcome to be <h1 id="my-id-1">Headline 1 </h1>
but WPBakery doesn't use the id value in my html at all. There is no id="my-id-1" in the entire documents.
Is this a common wpbakery error? Does it work on your wordpress-installations?
Felix
Hey Again,
There is an ID Option available in Row Settings here : http://prntscr.com/q8hpun which you can use to target the element inside it.
Best
ThemeNectar Support Team
Ok, I solved it. WP is not adding the IDs to Text blocks, which is what confused me.
If you wish to create a hash url anchor then you have to - as Tahir suggested - use the row's ID field.
The Text Block ID are intentionally disabled since they cause issues with the smooth scroll anchor script and therefore only the Rows can have ID's.
Best
ThemeNectar Support Team
Hey Again,
In that case use a Inner Row and set a ID in there : http://prntscr.com/qbh6gu .
Best
ThemeNectar Support Team