fabiorino / crelly-slider

A free responsive slider for WordPress that supports layers. Add texts, images, videos and beautify them with transitions and animations.
MIT License
104 stars 36 forks source link

making only direct children of slide block elements #16

Open cablop opened 9 years ago

cablop commented 9 years ago

All slide elements are becomming block elements, this is causing problems with elements like <i>, <a>, <span>, <sup>, etc. I think just the direct children of a slide should be block elements and leave the grandchildren elements with their default displays. Then i suggest the rule .crellyslider > .cs-slides > .cs-slide * {, at line 54, should be .crellyslider > .cs-slides > .cs-slide > * {.

fabiorino commented 9 years ago

The children are displayed as a block to be responsive. I'll look at the code and see if there's a way to change it without damaging the responsiveness feature.