Add background image to paragraph in rich text editor
Hi ,
I have spent hours to think how to get this thing working without any success , what i want to add background image to selected paragraph , i can do that using style dropdown in rich text editor but i want to extend that image dynamically when the selected paragraph text extend . this can be done using 3 divs like :
but the issue is i cant do that using rich text editor , and i want to give that ability to front end user who can just select the paragaraph and set the styling from dropdown in order to show the background image to that paragraph on the website , i have included the background image just for guidance , can any one provide any assistance or suggestions on how to get this thing working , bg image:
check background-image property in css3 / html 5, couple of additions, ie background-image: cover, setting width to 100% and height to auto should get you somewhere in the direction you need. (and make it responsive into the bargin)
Either that or consider z-index on the single centre div and stack them. You should be able to achieve this with just css.
Add background image to paragraph in rich text editor
Hi ,
I have spent hours to think how to get this thing working without any success , what i want to add background image to selected paragraph , i can do that using style dropdown in rich text editor but i want to extend that image dynamically when the selected paragraph text extend . this can be done using 3 divs like :
but the issue is i cant do that using rich text editor , and i want to give that ability to front end user who can just select the paragaraph and set the styling from dropdown in order to show the background image to that paragraph on the website , i have included the background image just for guidance , can any one provide any assistance or suggestions on how to get this thing working , bg image:
Thanks
Hi Mr A
check background-image property in css3 / html 5, couple of additions, ie background-image: cover, setting width to 100% and height to auto should get you somewhere in the direction you need. (and make it responsive into the bargin)
Either that or consider z-index on the single centre div and stack them. You should be able to achieve this with just css.
Hope it gives you a point in the right direction
G
the issue is ie 8 doesnt support this functionality
is working on a reply...