Questions tagged [css]

CSS is the abbreviation for Cascading Style Sheets. CSS is a language used to control the presentation (including colors, layout, and fonts) of HTML and XHTML documents.

336 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
1answer
450 views

Replace Title Menu with My Own HTML/CSS DropDown Title Menu

I am working to develop an intranet portal on SharePoint 2013. I want to create a drop down menu like attached image. I have following strategy in mind Remove the Title Menu with CSS Write my Own ...
6
votes
1answer
506 views

SharePoint 2010 Site Actions menu items hidden in IE9

I poked around a bit for the answer but didnt find anything. I have a site in which the Site Actions menu items are hidden in IE (all version). Some background on the site: I am currently working on ...
4
votes
1answer
1k views

Modern Site "Highlighted Content" web Part links not working properly

This seems to be a known issue on Microsoft's website. When a new link is created and a filter is added to the highlighted content web part to pull that link it seems to pull the link in a card layout....
3
votes
2answers
126 views

IsDlg=1 causes no content to be displayed in dialog

We are having a problem that has apparently been an issue for a while on all of our SP 2013 sites. Any dialog marked with IsDlg=1 shows no content at all whatsoever. Meaning a thin white dialog is ...
3
votes
0answers
2k views

How to change SharePoint Online navigation header's color?

Here's a little background info, I'll include a summary as well: I have a problem with SharePoint's Navheader color, which appears to have changed sometime in the last couple of weeks following an ...
3
votes
0answers
48 views

Changing SharePoint 2013 theme design using online theme

I am new in web designing and in SharePoint . I want to change the SharePoint 2013 theme using online theme. What is your advice for me? Also, I want to change the layout of contents to be tidy....
3
votes
1answer
382 views

Set fixed width for top navigation

I am trying to set a fixed width for TopNavigationMenu but in CSS if i do it then it does set fixed with but the menu items go beyond the width. Is there any we can restrict the width of the menu and ...
3
votes
0answers
410 views

html page in app, reference css after corev15.css

I have a SharePoint app, where I am using an html page, not .aspx. I referenced bootstrap, but the style for the buttons is being retrieved from corev15app.css, not from bootstrap (btn-primary). ...
3
votes
0answers
6k views

Is there some list with class names of the sharepoint icons (spcommon.png)?

I have developed a webpart. Inside this webpart I have created the a href below: <a title="Mail a friend" href="https://www.myCompany/vacancies.aspx?id=35382" target="vacatureIframe"><span ...
3
votes
0answers
1k views

Adding Custom Image Styles to the Ribbon

I use the following Editor Control, with the PrefixStyleSheet "el-" for my custom styles: <PublishingWebControls:RichHtmlField FieldName="f55c4d88-1f2e-4ad9-aaa8-819af4ee7ee8" HasInitialFocus="...
2
votes
2answers
789 views

Combine Column Wrap Text, Color and Column Width - JSON Code

I have the wrap code: { "$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json", "elmType": "div", "style":{ "white-space":"wrap" }, "txtContent": "...
2
votes
1answer
142 views

Hide quick launch sections on a specifc page using content editor

I have a SharePoint (2010) list page. I have already found a useful piece of code that works in content editor to hide the quick launch bar: <style type="text/css"> body #s4-...
2
votes
2answers
780 views

How to add reference to a custom css file in SharePoint online Master page

Can some one please tell me why this is not working, I m using SharePoint online On second line I m referring to the custom css. CSS <style type="text/css"> #DeltaPlaceHolderSearchArea {...
2
votes
1answer
917 views

SharePoint calendar CSS is not showing properly

I'm working on SharePoint calendar it is working fine on another site but its not loading CSS in my project showing the below error in chrome console. Do you guys have any idea how to fix this. ...
2
votes
0answers
183 views

CSS not applying to Enterprise Wiki custom page layout

I've created a new master page and page layout in Design Manager. When I preview the page layout in Design Manager, the layout appears correctly with no errors (see below). The new layout also ...
2
votes
0answers
922 views

Column formatting changes vertical alignment

I followed this Microsoft guide on column formatting and made the changes I need to get it to work on 3 of my columns. Specifically I am using the bits on "Conditional formatting based on the value in ...
2
votes
1answer
460 views

How to Remove previous and future month date from calendar view so only current month is displayed

I am very new to the SharePoint and hope people can help. I have setup a calendar and was able to apply CSS to make the calendar into weekday only. http://www.c-sharpcorner.com/UploadFile/fc34aa/hide-...
2
votes
0answers
117 views

Key Filters fields which contain Managed metadata columns will float out of the layout if i move the mouse over one of the managed metadata fields

I am working on an enterprise wiki site collection inside sharepoint farm 2013 on-premises. now i enable the metadata navigation and filtering site feature, and i added 5 managed metadata site columns....
2
votes
0answers
154 views

Accordion h2 open by link

using code from this site i have added accordion to SharePoint page. Now i'm try to open certain part of accordion by link from external page. I guess it should be done with hash but unfortunately ...
2
votes
0answers
13 views

Can we fully customize the Front without being stuck with Microsoft layout habits?

I'm going to be the Tech Lead for a new project targeted 200 company's high people. The main aspect is to favor UI/UX. Indeed, the targeted audience is about 60 years old and expect a very high-...
2
votes
2answers
454 views

Gantt Chart showing small size

I have created a page layout with 5 tab and each tab has a webpart zone than I added webpart on each tab. However some time gantt chart showing small size and some time with proper size. I have got ...
2
votes
0answers
39 views

Branding Package and Theme not working together

I have a custom theme (applied via the "Change the Look" area) on my SharePoint site. I recently installed a branding package that only applies to non-system pages. However, this seems to completely ...
2
votes
2answers
584 views

Countdown html/css/js not working but works in jsfiddle

Is there any reason why this solution won't work in SharePoint? It works well on jsfiddle. I modified the html file to add css and js reference and put the html in a cewp. What am i missing? any help ...
2
votes
1answer
40 views

Blank areas where webpart originally lived after position:relative web part

I'm creating a page and using CSS in a content editor to customize. I have a title webpart, list web part, and a show all / hide webpart that I'm using JavaScript to reveal a 2nd list and hide the ...
2
votes
0answers
798 views

Aligning column headers(titles) with row items

I have a list in which the items are long string of characters. Due to this the Column titles are not perfectly aligned with item rows. The Column headers are not changing there original position and ...
2
votes
1answer
1k views

Resize content search webpart slideshow to fit across page SP2013

I would like to use a content search webpart slideshow mode as the banner across the top of my share point page. When I add in the webpart, it is aligned to the left and only half of the size of the ...
2
votes
1answer
521 views

Alternative CSS styling doesn't appear for visitors - SharePoint 2013

My SharePoint 2013 site is branded and uses a custom masterpage and an alternative CSS which is stored in the style library of the site and called from the master page and also specified as the file ...
2
votes
0answers
377 views

CSS not applying to a Web Part

I have several web parts on a page, 2 of them are CEWPs. 1 links to the CSS and 1 links to a text file. The CSS is applied to all other web parts on the page but it will not apply to the CEWP ...
2
votes
0answers
838 views

Prevent SharePoint from using custom CSS-classes when using RichText editing

We have a number of Rich-Text fields (multi-line) that users type data into. So they might format the color of the text, the font size etc. The formatting looks like this in SharePoint: We have a ...
2
votes
1answer
672 views

Overriding CSS in AllItems.aspx

I want to add some CSS in my site. I read on others questions that it's better to override CSS. I'm OK with that (Tutorial here). But, I browsed every folder of my site in SharePoint Designer and I ...
2
votes
1answer
203 views

Applying Custom CSS

I have a CSS file in my site assetts. I am trying to attach the CSS to a custom Edit form on a document library using SharePoint Designer. When I highlight the text and then right click on the style ...
2
votes
1answer
93 views

Sharepoint 2013 - show edit to admin only

I hope this has not been asked before (I did a few search's on here first). I need to be able to only show the Blue & Grey SharePoint Bars to admins - for all other users I want to be able to ...
2
votes
1answer
39 views

Default.Master for CSS reference

I am trying to find the master page my non-publishing site uses. The Home.aspx page shows a reference to Default.Master however I dont have a Default.master. I do however have to master pages that ...
2
votes
0answers
180 views

I'm having trouble with basic layout using html/css with Sharepoint

first time poster here so I'd like to apologize if I do this wrong. I'm new to Sharepoint, so I'm having difficulty with some basic stuff. My end goal is to basically make something that looks like ...
2
votes
1answer
67 views

Make CSS changes to osssearchresults page only

Is there a way to make CSS changes to the osssearchresults page without it affecting all other pages on the site? Specifically, for this site collection the left navigation is hidden. I want this to ...
2
votes
2answers
557 views

CSS and SP Designer to create fixed background image

I am trying to create a background image that is placed behind a specific title image. I want the background image to stay with that title image so that when I scroll down the page, it stays fixed ...
2
votes
1answer
646 views

Selected Menu Item - Oslo MasterPage

I'm using SharePoint 2013, with the Oslo masterpage, and I've disabled the default navigations and create my own menu in the master page. The issue is that the menu doesn't show what page you are on. ...
2
votes
0answers
96 views

SP looking for CSS files in the wrong place

Environment: SP2013 Enterprise, custom master page, Dreamweaver I've made a custom master page complete with its own CSS. My style sheets are linked near the bottom of the <head> like so: <...
2
votes
0answers
104 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 ...
2
votes
0answers
530 views

modify the style of sharePoint aspmenu?

I am using this website to change the background of the menu and the dropdown menu, but it is not working. I see no effects at all. can anyone tell me how can I apply the style to both menu and ...
2
votes
1answer
1k views

SharePoint 2010 Listview creates "Unable to display..." error after adding inline style

First let me say I have been all over the web looking for a fix and keep finding references to the XsltTransformTimeOut value. I have already had our admins set ours from 1 to actually 10 seconds and ...
2
votes
0answers
551 views

Chrome font rendering issues

Basically, the issue lies with Chrome, as it will not render ttf fonts properly using antialiasing. A popular fix is to order the @font-face directive so that the svg-font is first. Only Chrome will ...
1
vote
1answer
61 views

How to hide status bar and inside an Iframe

I have added an iframe to show a power point diagram on SharePoint classic page. By default it has a some tool bars and other sections in the iframe. I would like to clear all the controls and tool ...
1
vote
0answers
42 views

"Create HTML Table" CSS Style to Format SP List as Single-Column layout

I am using a SharePoint List to store News Clips related to my company. I have created a flow to auto-send them to a distro list, and achieved a clean table, but wish to create an email where the ...
1
vote
2answers
33 views

Simple Modal SP Online (2013) - not working

<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body {font-family: Arial, Helvetica, sans-serif;} /* The Modal (...
1
vote
1answer
68 views

Unable to link CSS to the template url react content query web part

I have just installed the react Content query web part and I am linking the template url to html files in my site assets, I have a common css which has some elements common across different templates ...
1
vote
3answers
408 views

SharePoint online modern experience hide suiteBar, left navigation and top ribbon using SPFX showing it for few second then its hide

I am hiding suiteBar, left navigation and top ribbon using SPFX extension but for few second its showing up. I don't want to show it for few second also. I tried to hide it from master page alternate ...
1
vote
1answer
144 views

How to assign an ID or Class to specific Webpart in Sharepoint

I’m working with Sharepoint on a client project and I’m finding it a bit cumbersome to navigate. I see that Sharepoint seems to generate dynamic ID names for its web parts when they are created; an ...
1
vote
0answers
43 views

O365 CDN not loading master page assets

I have recently enabled the public cdn on a tenant however this is now causing sites to fail loading css resources. I have ran the following PowerShell: Set-SPOTenantCdnPolicy -CdnType Public -...
1
vote
1answer
98 views

Resizing tiles for Dummies

So I’m apparently the winner of the SharePoint admin hat since our last guy left. I just fixed an issue where tiles were all jamming up on each on our home page, but now since there are 14 of them ...

1
2 3 4 5
7