Profile Picture

Background Image for the Survey Webpart

Posted By agentK10 7 Years Ago
You don't have permission to rate!
Author
Message
agentK10
Posted 7 Years Ago
View Quick Profile
Junior Member

Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)Junior Member (19 reputation)

Group: Forum Members
Last Active: 7 Years Ago
Posts: 1, Visits: 3
Hi,
One of the customizations that my client had asked for was a background image for the survey webpart.
Much like this.
I am not able to figure out how to go about it.
http://forum.kwizcom.com/Uploads/Images/61e71a51-e6f7-4dff-b782-8873.jpg 

Please advise.

Igor
Posted 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)Supreme Being (415 reputation)

Group: Administrators
Last Active: 3 Years Ago
Posts: 415, Visits: 592
Hi,

There is  a 2 options:
Option 1:
If you use custom CSS file:  you initialized "CSS File" property inweb part settings (see image)

http://forum.kwizcom.com/Uploads/Images/71cadcbb-884f-4f79-af05-857d.png
  • Open the "C:\Program Files\Common Files\MicrosoftShared\Web ServerExtensions\wpresources\KWizCom.SharePoint.WebParts.QuickPoll\1.0.0.1__30fb4ddbec95ff8f\QuickPoll.css" file for editing
  • Add background imageto "tableContainer" style:
    For Example:
    .tableContainer
    {
          
    background-color:#e1e1dd;
          
    background:url(/_layouts/images/stsprev.png);
          
    width:100%;
          
    height:100%
    }
 Option 2:You use standardSharePoint style
  • Open the"C:\Program Files\Common Files\Microsoft Shared\Web ServerExtensions\wpresources\KWizCom.SharePoint.WebParts.QuickPoll\1.0.0.1__30fb4ddbec95ff8f\SurveyQuestions.xslt" file for editing
  • In the first tableelement add style attribute: style="background:url(/_layouts/images/stsprev.png);" 
    For Example:
    <TABLE width="100%" border="0" cellspacing="0" cellpadding="0" style="background:url(/_layouts/images/stsprev.png);">
Thanks, 

Igor,
KWizCom 


Similar Topics