3
votes
2answers
62 views

prevent css inheritance from master pages

I am creating horizontal menus for a web part to give more interactive navigation options to a corporate SharePoint site that has headers/Branding etc. locked down. I notice that intended colors and ...
0
votes
1answer
66 views

Add css class to webpart cell

I'm developing my custom web part. Code generated by SharePoint is below: <div id="MSOZoneCell_WebPartctl00_ctl39_TestTile" class="s4-wpcell-plain ms-webpartzone-cell ms-webpart-cell-vertical ...
2
votes
1answer
68 views

How to add class to list view colum in webpart or hide column

This is Sharepoint 2010. I have a list view webpart(calendar) with title and date. I am using Jquery to filter dates shown (workaround for limitations in filtering on reoccurring event). I need to ...
2
votes
4answers
405 views

Web Parts overlapping undesirably

On our SharePoint 2010 Enterprise environment, every page is having some strange behavior with the web part zones. In Edit mode, it essentially looks like this: In non-edit mode, it looks even ...
0
votes
0answers
139 views

SharePoint 2013 - Imageslider / image are not ajusting to web part zone (width)

No. Adjust height to fit zone. - Do not work for images / imageslider. Problem: I've inserted imageslider into a web part, and using the property "no. Adjust height to fit zone". But the images do ...
0
votes
2answers
314 views

PeoplePicker Sharepoint Field Resize

I am editing the look and feel of my Sharepoint NewItem.aspx Form using HTML, CSS and JavaScript. But im having a problem on how to resize my people picker Sharepoint:Formfield. I used css and even ...
0
votes
0answers
141 views

How can I resize a web part to be the size of a div it is sitting in

I am trying to put some final touches on our main portal page. We are using a wiki page with a 2 column text layout. The left column is 75% of the page and the right column is 25%. In the right ...
0
votes
0answers
176 views

CSS for all picture Library Slideshow webparts

I am using the v4 master page and noticed a vertical alignment issue on my picture Library Slideshow webparts. I manage to fix this issue by adding the css code display:block !important;. the problem ...
2
votes
1answer
153 views

Changing the username color to be white

I have a SharePoint web application which contains both a team site & a community site. I have changed the upper left suite bar colour to be blue, but this will make the username not very ...
1
vote
1answer
82 views

How can I add a grey shaded web part

I have added a new community site, and I want to create a web part similar to the built-in “Community Tools” grey shaded area :- I tried to add a content editor web part, but there is not an option ...
0
votes
3answers
105 views

Css makes different results depend on the admin accounts and other users

<div class="webpartDivBody" style="margin-bottom:-20px;"> <WebPartPages:ScriptEditorWebPart runat="server" .....></WebPartPages:ScriptEditorWebPart> </div> This code works ...
1
vote
0answers
52 views

WebPart to dynamically display links to all views within a list or library

I'm trying to develop a WebPart that I can place on the top of a SharePoint 2010 list or library page that will dynamically display links to the views created within the library. I want to also format ...
0
votes
1answer
56 views

How to display customized navigation on website?

I have a publishing site with two languages: English Arabic These sites have the following pages: English - Home - About Us Arabic - منزل - حول بنا I want to display navigation on top ...
0
votes
2answers
386 views

Users can't see css on my visual webpart

I'm trying to add some css on my webpart for the first time in SP2010. But for some reason the css only works when you visit the site on the sharepoint server. I belive it's the href path because it ...
0
votes
2answers
444 views

Styling individual webparts

I've got a publishing site where webparts need to look different based on which siteType they are in. Got a 3 webpart styles (each style can be applied by simply adding a class to the top level ...
0
votes
1answer
56 views

Using a data binding expression in a css style

This may not be possible but thought i would ask. Creating a Sharepoint webpart. In the ascx file i have a style tag. Is there any way that i could do the following: <style ...
2
votes
1answer
149 views

How can I fit a Datatable only into a webpart (not page) dynamically?

I develop a Webpart, which should be deployed in other SP-Farms. The Webpart contains a DataTable. I deployed the solution and the DataTable appears in the right side of the Website. I'm using a ...
2
votes
3answers
4k views

How to add javascript and css to a SharePoint 2010 webpart?

What is the proper way (i.e. without having to manually copy the assets to any sharepoint folder or anything like that) to add custom javascript and CSS to a SP 2010 web part? I would like them to be ...
1
vote
2answers
459 views

Icon-based menu that dynamically changes based on permissions

We're trying to create an square grid, icon-based menu that is permission trimmed (certain icons appear based on your specific SP permission group), that dynamically rearranges the icons based on your ...
1
vote
2answers
596 views

change font in web part

Is there a way to change the font in OWA web part for calendar? The fonts are so big and wont fit in the area where web part is. Please suggest.
1
vote
2answers
783 views

Hide selection in webpart - .ms-WPHeaderTdSelection {display:none}

Hiding the selection is not working. <style type="text/css"> .ms-WPHeaderTdSelection {display:none} </style> Here is the working code: <style> /*--------Hide the ...
1
vote
2answers
513 views

Disable horizontal scrolling in WebPart

From codebehind I add to my webpart controls _grid=new SPGridView() HtmlGenericControl div = new HtmlGenericControl("div"); div.Attributes.Add("id", "div-datagrid"); ...
2
votes
1answer
2k views

How can I override default css in SharePoinrt 2010 web parts

I would like all my custom webpart and default webparts to look the same. I know css classes like: ms-vh and ms-vb are used for the fonts, anchors and cell backgrounds. What would be the best way to ...
4
votes
2answers
4k views

Understanding problem: How to add a stylesheet to a web part

Well, I try to add a css stylesheet to my web part but it didn’t work… I read that there are many ways to a css file into a web part, but I didn’t understand them…. First I installed the Sharepoint ...
1
vote
2answers
3k views

How can I apply custom styles/formatting to an out of the box web part?

I have a list of links stored in a Sharepoint List, and have them displayed in the standard list-item-displaying web part. I would like to have this web part formatted (perhaps with CSS) in a custom ...
0
votes
1answer
104 views

What is the tag for web part description?

I would like to edit the font of the description in my RSS Viewer Web Part. What is the css tag for the description? I tried .description, which was provided from ...