Tag Info

New answers tagged

3

You would want to create an alternate css file. In it you would do .ms-pub-contentLayout { background-color: rgba(255, 255, 255, 1); } Save this css file in your site, then apply it using the Alternate CSS URL option in the MasterPage options, /_layouts/15/ChangeSiteMasterPage.aspx.


0

So if I understood your question, you have only a specific page where you want not to have the same styles as you have in the masterpage. If this is so, you can: 1) Create a new master page (let's say master2.master) as a copy of the current masterpage, where you delete all styles you don't want to have in the specific page. 2) In the page where you don't ...


0

To use a custom primary master page in your SharePoint sites, you can: Customize a copy of the default primary master page (v4.master), or Create a new custom master page from scratch, and make it the primary master page for your site.


4

You should try something like this .nav li a .menu-item-text, .nav li a:link .menu-item-text, .nav li a:active .menu-item-text { color:White !important; } .nav li a:hover .menu-item-text, .nav li a:visited .menu-item-text { color:#33CCFF !important; }


0

You can do this by using something called a Control Adapter. Here are a couple of links to get you started Removing Web Parts tables in SharePoint Remove Web Part Zone table with Control Adapter


0

Ok, I edited the default sharepoint file. This is a trivial matter for me and even if Microsoft overrides my editing with an update I can revert back. For those of you who are interested, I edited the following (the file to be edited was Controls15.css) C:\Program Files\Common Files\Microsoft Shared\Web Server ...


1

It's usually recommended to not edit any of the default SharePoint files, because if an update to SharePoint gets applied, and that file is part of the update, your changes will get overwritten by the update. There are a couple of ways you could approach this. If the site you are working with has the publishing features enabled, in Site Settings under ...


0

Use jQuery on page load <script> $(document).ready(function(){ $("#menuitemid").removeclass("someClass"); }); </script>


2

Here's the "oldschool" way of doing it, which hopefully works accross all browsers. In theory you would use setAttribute unfortunately IE6 doesn't support it consistently var cssId = 'myCss'; // you could encode the css path itself to generate id.. if (!document.getElementById(cssId)) { var head = document.getElementsByTagName('head')[0]; var link ...



Top 50 recent answers are included