duplicate id

  • Hello, I have a duplicate id=”posttitle-linkpost” on each loop item in my carousel. Where can I remove or make this ID unique in the GenerateBlocks Loop Item template?

    Thank you

  • Hello,

    It’s possible with some custom code.

    What the ID is actually being used for? Do you need it for JS or CSS targeting?

  • Hello,

    I don’t need this ID for anything at all—neither for JS nor CSS targeting. I am styling everything using classes.

    My only goal is to completely remove it because having the same ID repeated in every loop item creates invalid HTML (duplicate IDs on the same page). I just want clean, valid HTML5 code. Is there a simple way to remove it without adding custom PHP snippets?

    Thank you!

  • Ah, ok, just select the block and remove the HTML ID value.

    Block HTML ID value

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.