Background image of custom master page just shows for 1 second.

Advertisement

Hi, 
I have created a custom master page from a html code and I have applied to it on my site collection, but when I open it on the web browser the background image just show up for a second or less and then the background turns white.
I'll aprecciate any suggestions in order to solve this.
Regards.

Advertisement

Hi,
According to your post, my understanding is that Background image of custom master page just shows for 1 second.
I recommend to change the class to use .main-content.
.main-content
background-color:#F4F2E5;
background: url('/Style%20Library/Images/image.png');
background-repeat: no-repeat;
background-;
You can also use a contol called cssregistration. Add a line that looks something like this, right below the existing csslink:
< SharePoint:CssLink runat="server" Version="4" /> (under this you add:)
< SharePoint:CssRegistration runat="server" name="/Style%20Library/Scripts/style.css" After="coreV4.css" />
Here is a similar thread for you to take a look at:
http://social.technet.microsoft.com/Forums/en-US/929c9fe6-a222-43a9-9551-985c0f20756d/background-image-in-sharepoint-2010-master-page?forum=sharepointcustomizationprevious
Best Regards,
Linda Li
Linda Li
TechNet Community Support

November 30, -0001

Background image of custom master page just shows for 1 second.

Hi,  I have created a custom master page from a html code and I have applied to it on my site collection, but when I open it on the web browser the background image just show up for a second or less and then the background turns white. I'll aprecciat

Custom master page branding is missing buttons to add Web Parts

I've created a custom master page which does not display the "add" or "cancel" buttons when adding web parts to the page. These elements are controlled by CSS tags such as: .ms-wpadder, .ms-wpadder-cell, .ms-wpadder-buttonArea, .ms-wpa

Report Viewer Webpart is Blank in Custom Master Page

Dear Experts , Recently my team created a new master page to replace seattle default page in Sharepoint 2013. Things were fine till the moment we accessed one of site page containing a Report Viewer Web Part to load SSRS rdl. The web part is blank wi

Custom Master page

  how to apply  custom master page site setting page in sharepoint2007 it's passible or not.Hello, Since layout page inherited from application.master page so your custom master page won't apply to settings page. You can use HHTPmodule to overwrite t

Setting the custom master page through powershell is NOT working

Hi,  I am writing the below code to set the  custom master page through powershell. But its not working .when i went to site settings-->master page --> in the drodown , the  maste page set is seattle.master ONLY, though my current master page is ava

Sharepoint 2013 - Error while applying custom master page.

I am getting following error on my sharepoint 2013 site on applying a custom master page. System.ArgumentNullException: Value cannot be null.  Parameter name: ribbon    at Microsoft.SharePoint.WebControls.RibbonTrimmer..ctor(SPRibbon ribbon)     at M

What to do if my master page is too small for custom master page column, I need to change the papers

What to do if my master page is too small for custom master page column, I need to change the papersize from A4 to US letter size *My 2nd gen works fine with WPA2 and AES encryption. You may need to go back and start over.  Reset the router back to f

Can we resize and change the background image in a 2 page layout?

I am a two page layout report in RTF. Can I use different background image on page 1 and page 2? The first page background will not be repeated but the second page will. Also, it seems when we insert a background image by going "Format -> Backgrou

Different background image (div) on each page of site complicated by template

Hope I can explain this:  Below are specifics - Using Dreamweaver cs5.5 - Making the pages from a template. - Each page will have a different backround image; but the image is contained in a div tag (div name is .mainbackground) which runs behind the

How to add left navigation to Custom Master page for Office 365

Hi, I have created a master page using html, it looks good, But I could not see the left navigation, which I would like to have. below is my html page which converted to a master page: <?xml version="1.0" encoding="utf-8"?><!-

Background images which change with scrolling, just how is it done?

These fabulous sites, were featured on Adobe Muse's Site of the Day http://www.streetreach.org/ http://www.lauranet.nl/ Brilliant sites. What they have in common is a background image (of sorts)  that changes with scrolling, I just cant get my brain

Don't know how to calcualte the current page in smartform for second layout

Hi All ,    Iam creating an smart form which contains two layout in a single form. I need the page number to be displayed as followes. 1st layout : 1 of 2                  2 of 2. in 2nd layout 1 of 2.                     2 0f 2. I dont have any issu

How to Get current username in custom SharePoint 2010 master page

Hi, How can I get current logged-in username in SharePoint 2010 custom master page? Regards, AmitYou can use the SPContext.Web.CurrentUser object to get at the information you're looking for. This can be accessed either via client-side JavaScript or

Search for master page usage; better way to use master pages?

Hi all, I am using Frame 9. I have my files set to always have an even number of pages. For chapters where the text ends on a right-hand page, I assign a custom master page to the final left-hand page -- this custom master page has our logo on it. Ho

Can you print only pages with a specific master page designation?

I'm laying out a fairly large technical book using InDesign CS4 and need to print proofs of pages that use a specific custom master page. Rather than scrolling through the Page window and writing down page numbers that use that specific master, i'd l

Adobe Interactive Form - Master Page  vs. Body Page

Hi Could someone please explain to me what 1) the difference between the Master Page and Body Page and when to use the Master page 2) the reference object and when to use it I am new to this and I cannot find any answers related to this in SDN Thanks

Custom stroke / page borders (see picture)

Hi, I have been given an MS Word draft document that contains an an "art border" on every page. My task is to convert to ID and layout properly. Only condition is that the border must remain as is. The border looks like the image below. I am won

Master Pages and Buttons - Bug and Fix Request

I think I'm the only person in the world who has encountered this bug, and I've filled out the bug report form on the Adobe site twice in a couple of years. Just wondering if anyone else has encountered it, and I'm curious to know if it still exists

Creating Master page for publishing site

Hi, I am trying to create a master page for publishing site. I have downloaded the "StarterBranding - V1.3" from codeplex, and used the "Starter Publishing". Currently it is not showing logo, search box, top navigation, breadcrumbs. I

Master pages not applying to site and subsites

I am having an issue with a master page not applying to a site and subsites. The site is created using the community template and has the following hierarchy: TopLevel: SharePoint Central - server/SPCtrlv2/sitepages/welcome.aspx (webpart page) subsit