Cornerstone Inline Slider Bug

Noticed a bug where I needed my individual slider items to be a <li> instead of the preset <div> HTML tag.

When I changed the Slide to <li>, on the front end all the auto defined classes were stripped away so that there were no classes for the individual slides. In addition, any custom added classes were stripped away as well (I tried to add the preset ones back in).

Also when changing the Slide Container element to a <ul> tag, it’s preset classes were removed as well.

This then loses the default styling on the front end. The odd thing though is that it’s styling is displayed correctly in Cornerstone builder.

Hi @designerken,

Thanks for reaching out about this. I’ve tried a few different things in an attempt to trigger this, but haven’t been able to. It just updates the tag seemlessly. Would you mind letting me know a bit more about how this is triggered? Did you start from just a Slide Container, or from one of the prebuilt sliders? Any settings you have enabled that you suspect may affect it? Thanks! Hopefully with a few more details we can get to the bottom of this.

It was from a pre-built slider. Inline Slider. This was using the beta version. I will try this again on an other page. So weird that it is fine in the builder and not on front end. There is a custom attribute as well as a few custom classes.

Im working locally so I cant give you access to test either. Let me do a few more tests and see if I can repeat it.

Hi @alexander,

I’ve tried to reproduce the issue and was not able to successfully. So, maybe it was just a glitch when trying to save the element.

I will continue to test this out as I work on a solution for my project and let you know if I run into further problems.

Thanks for letting me know!