2

I am new to SharePoint.I need to create a banner for my site . Please find below the steps I followed.

1) Uploaded the reuse_banner.png file in document section (asset is the folder under document section)

2) created CSS file

body { 
    background:url("sites/reuse/Assets/reuse_banner.png") no-repeat fixed top; 
} 

3) Under Site Settings -->Web designer galleries -->Master page and page layouts , created a folder named MyMasterStyle and uploaded the css file

4) Downloaded the copy of master.seattle file and edited like this

<SharePoint:CssRegistration Name="/MyMasterStyles/banner_test.css" runat="server" />

5) Checked-In the new master_new.seattle and published

6) Under Look and Feel ---> Master page changed the default master page to master_new.seattle.

I couldn't see the banner image on my home page.

Can some one correct me.

1
  • Can you check in developer tool if your CSS file is coming? If its not coming then probably not referred properly. Also for referring can try <style type=text/css> put your css here </style> Commented Aug 26, 2016 at 13:02

1 Answer 1

0

to test if you are working with an invalid css reference I would:

which has two aspects

  • the delegate control for the branding is deactivated
  • the banner is directly referenced from the source without file link / css registration

If this test is ready 4 use you can do try-and-error to examine whether the seattle_new activation is the problem or the css registration. But don't forget to save the original seattle first in order to be able to restore it in case of crashing the file by sharepoint designer which is very easy to reach.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.