Tag Info

New answers tagged

-1

I simply added below CSS and it worked for me: body{ overflow-y:auto; overflow-x:auto; }


1

It will depend upon how your master page is structured. A neat way would be add a new div wrapper inside #s4-workspace and add the CSS for the wrapper class. Include the css/reference from the master page: /* For Fixed Width */ div.wrapper { margin: 0 auto; width: 1000px; } /* For Fluid Width */ div.wrapper { margin: auto 5% !important; ...


1

No, this is exactly what the masterpage is designed for. You're going about it the completely wrong way though. These are CSS customizations. Add the following somewhere in the header: <style> #s4-workspace{ width:1024px; margin:auto; } </style> Modify accordingly Also, go through a CSS tutorial to explain to you the basics: ...


1

Correct me if I'm wrong, but I suppose you want a default table inside of your rich text box everytime someone creates a page based on your page layout? This page content rich text box is actually a field that's part of your content type. It's not connected to your page layout, so I'm not sure you can add default data into it. I see three possible ...


0

First of all, you need to Take a look at this link first: http://msdn.microsoft.com/en-us/library/office/jj822370(v=office.15).aspx#Understand This is necessary to start with SharePoint master page. As per your question I am unable to get your point but as far as I understood, you need to change the same on HTML page first, after that change will ...


0

I'm not 100% sure if this is possible when working with html design files that get converted to a master page. A code behind is custom code that needs to be deployed to the server. The Design Manager will not package this code when creating a Design Package. Design Packages are Sandbox solutions and Sandbox solutions do not support code behind (anymore). ...


0

publishing pages are stored in special document library named pages. The pages document library contains a special type of page known as publishing page.all publishing pages dynamically link to a master page using another property of the SPWeb class named Custommasterurl. generally you have to work with masterurl property in order to swap out the master ...


0

I simply searched for app.master in Hive-15 and manually uploaded app.master to the Master Page Gallery - now everything works just fine.


0

I had the same problem. You should change it under Site Settings --> Master Page. Maybe you have no layout for this page. If you have an aspx file where the custom layout is located, Go to Site Setting , Master pages and page layouts and under files click upload document. After you upload another window will pop up. When it asks you about the content type ...


0

Realised my mistake. It was due to me having absolute style positions setting for my images and menu bar (e.g. Snippet below of my master page) <div id="s4-workspace"> <div id="s4-bodyContainer"> <script src="/_catalogs/masterpage/FormsTest/Scripts/jquery-1.7.1.min.js"></script> <script ...


1

SharePoint 2013 introduces a new user interface that is lightweight, fast, and fluid. This UI is built by using new CSS styles, themes, and master pages. To get this new experience, you must upgrade to the new UI. But the significant changes that were made to support the new UI may break the upgrade story for some scenarios where you use custom branding. ...


1

In my experience you can always get back to the Site Settings page even if you break your Master Page ({your site url}/_layouts/settings.aspx). Then if you have a publishing site, you should be able to click on the Master Page link under Look and Feel and then switch the master page to a different one that you haven't edited. If you have a team site, this ...


0

According to your Information, For now you can delete the site and recreate it. Reason is, because you change the default master page. For Recommended way, Please make a copy of the Master Page and customize it. In case of the Di aster / corruption, simply change the change the master page back to default and your all data will be remain only customization ...


4

For On-Prem installations: You can always change the master page from PowerShell using the below script: Connect-SPOService -Url "tenant admin url" -Credentials "username" $web = Get-SPOSite http://sharepoint $web.CustomMasterUrl = "/_catalogs/masterpage/nightandday.master" $web.MasterUrl = "/_catalogs/masterpage/nightandday.master" $web.Update() Source: ...


0

Site Master Pages are only used on publishing pages. This excludes e.g. the views of lists (NewForm.aspx, AllItems.aspx, etc.). Also while viewing a topic the page is based on a web part Site Page, i.e. not a publishing page. If you'd like to have custom master pages used on these non publishing pages, you could edit the .aspx -file of the selected pages to ...


1

After a while I discovered that just editing (adding a space) to the master page in SharePoint Designer fixed it. I then copied the resulting saved SharePoint Designer master page back into my solution and deployed that and it worked fine. Comparing the two files, the master page that had been provided to me originally had some extra attributes in the ...


0

Fixed this problem, instead adding new controls, I just used paddings and margins, plus, I hid iframe which created white background (needed IE specific css): -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0);


0

IMO there should be nothing you can't do with CSS. You can fairly easily discover and override default CSS styles and take advantage of selectors to do and undo styling throughout the markup. However, there are other approaches, in case you want to go that way: UseSimpleRendering JQuery.wrap()


0

perhaps you have the url wrong this Url="_catalogs\masterpage" should be Url="_catalogs/masterpage"



Top 50 recent answers are included