Hi @TDarji,
I would recommend that you simplify your captured element. When it is created, it notes the html around that element at the time, you can make it more generic by reducing the number of elements specified or by using wildcards. I don't have an example myself, but try exploring the captured element on the right hand tool bar and slowly reduce the number of elements captured until it works in your solution. You can also edit the code for the element directly but if you get it wrong, you have to re-capture and start again.
If this isn't of help, best open another call as I am sure someone will have tackled similar in more detail elsewhere.
Damien