Design and CSS styles
Version 4.x > Design and CSS styles > Set Background Image for Editable Text control View modes: 
User avatar
Member
Member
Mercer - 4/14/2010 11:45:31 AM
   
Set Background Image for Editable Text control
I would like to set the background image for an Editable Text control? I want a web part to display text over a background image.

For the HTML Envelope, I have set web part container to a new Web Part Container and I defined and created a new CSS style. The web part shows the wide green border, but not the image.


/*#Containers/VBS#*/
.vbsBox
{
border: 3px solid #0C543F;
margin-bottom: 15px;
background:url (Images/WebBkd.aspx);

}

.vbsBox .body
{

background:url (Images/WebBkd.aspx);

}

Any suggestions?

User avatar
Member
Member
kentico_pavelk - 4/15/2010 5:50:01 AM
   
RE:Set Background Image for Editable Text control
Hello,

You may set Editor CSS stylesheet in the Site Manager -> Sites -> <your site> -> General dialog. In this stylesheet, you can define the background image in Body class.


Best regards,
Pavel Knotek