How to add background image to " li " with using content block Edit HTML
Permalink
<ul class="item slides">
<li style="background-image: url('<?php echo $this->getThemePath();?>/img/featured1.jpg')">
I want to add a background image to li..above it is added as style..but that php code desnt work..any suggestion for this problem?
<li style="background-image: url('<?php echo $this->getThemePath();?>/img/featured1.jpg')">
I want to add a background image to li..above it is added as style..but that php code desnt work..any suggestion for this problem?
I have used this before and it worked well, not sure if it is exactly what you want but it may be worth a look.
http://www.concrete5.org/marketplace/addons/kinos-image-menu/...
Hope that helps
http://www.concrete5.org/marketplace/addons/kinos-image-menu/...
Hope that helps
Rony