Questions tagged [style]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

How to load the custom CSS in SPFx Extension before the page load?

We are loading a custom CSS using SPComponentLoader in SPFx Extension to apply these styles in header. But while the page loads, the UI is not coming properly as the Custom CSS loads after the Page ...
0 votes
1 answer
20 views

Can we convert SP2016 master page / page layout to modern communication site style?

We are using SP2016 on-premise. Our plan is to upgrade to SharePoint online by next year. At the moment we want to convert out existing sites & home pages to modern communication site style. Just ...
  • 4,058
0 votes
1 answer
46 views

Intranet page does not scale with browser

The intranet page basically does not scale with the browser.. so if the browser is at 110% the white space on the right-hand side goes away, but when the browser is at say 70% the white space becomes ...
0 votes
1 answer
947 views

How to dynamically change css in React/Sharepoint online

I am developing webpart for Sharepoint in React and I have: div located in X.tsx <div className={styles.somestyle}><RichText className={styles.richTextStyle} isEditMode=.../></div> ...
  • 37
0 votes
1 answer
62 views

How to hide 'Recently modified'

I have used the following as suggested in another post. and it seems to work, however when I save changes and reload page the 'recently modified' section comes back. Am I missing something or is ...
  • 1
0 votes
0 answers
173 views

How can i use google fonts in sharepoint online?

Has anyone used google fonts in sharepoint online? Will it work at all or is it worth the effort? Any recommendation would be grateful. Thanks in Advance
  • 4,162
1 vote
2 answers
265 views

Alternate CSS Does Not Set on Sub-Sites

I am using Office 365 and having a horrible time setting CSS for sub-sites. I have set my Alternate CSS set at https://site.sharepoint.com/_layouts/15/ChangeSiteMasterPage.aspx but even though it is ...
  • 111
0 votes
1 answer
125 views

Modify SuiteBar Color for SharePoint Communication Site

I'm managing a newsletter for my department and I'm trying to modify the suitebar color for our SharePoint Online Communications site because the default blue clashes with the theme of the site (red): ...
  • 101
1 vote
2 answers
2k views

Problem with changing in the scss file

I am facing problems that I can't change the scss file which is there when you create a SPFx webpart in React. When I try to change color of the webpart nothing happens. I am building an RSS Feed in ...
  • 97
1 vote
1 answer
102 views

Not able to style the media webpart. Style option is disabled

After adding media webpart in sharepoint page, I am not able to add style to the media webpart. Style option is disabled. It's saying The control is currently disabled. Can anyone please tell the ...
2 votes
2 answers
3k views

Custom column formatting with JSON: style ignored?

According to The official detailed syntax reference, I can use (CSS-like) style attributes like "display" and "width". I tried something like this: { "$schema": "https://developer.microsoft....
0 votes
4 answers
6k views

Background images in Sharepoint Online

I have Full control over a site, and I want to set background images to different pages, I looked for some guides on the internet, they suggest using Content Editor WebPart to add the background using ...
0 votes
1 answer
41 views

Where to put styles in a VS Project

I'm developing a SharePoint feature, I already know where to put custom layouts and templates, but can't find helps where to put .css styles. I'm not asking how to reference an existing file in any (...
  • 1,190
0 votes
1 answer
2k views

Adding custom fonts to sharepoint modern page

I'm currently trying to load GothamNarrow into the sharepoint modern page but am struggling to find a point where I can upload this font and use it. Is this even possible using a modern sharepoint ...
  • 165
0 votes
1 answer
42 views

Create more columns with SharePoint Online List

I am trying to create more than 2 columns views on the boxed style for the list a created. I tried following the steps here: how to display items in one row in boxed style view in sharepoint 2013 But ...
1 vote
0 answers
36 views

Vertical scroll appears sharepoint

i have an issue where a few of the users (not all) are experiencing in SharePoint in IE (works fine in chrome). Whereby when you try to scroll using the scroll bar another appears. Any ideas?
  • 71
2 votes
3 answers
795 views

How to restrict style to one web part

I have added a content editor web part to my page and added a style for Links, to override the standard link colors. This is working well. But at the moment it is also changing the colors on the links ...
0 votes
1 answer
2k views

Adding new custom styles to a RTE column

Upfront, before anyone asks: yes, I've googled this and I've read every single article on every dodgy blog site instructing me to: Create a CSS file and drop in the Style Library. Write some CSS ...
1 vote
2 answers
652 views

How to add class to the html Img element using SharePoint style Page element

I have image tag in SharePoint page. <img src="smiley.gif" alt="Smiley face"> I'm trying to add class="ABC" to my html img tag using SharePoint Page element under style section in SharePoint ...
1 vote
1 answer
366 views

Boxed style not available when creating a list view

I have a SharePoint 2013 Document library that when creating a new view for the option under the Style section is missing both "Boxed" style options. Any idea why they are missing and how to get ...
0 votes
1 answer
766 views

How to make changes to the Oslo Site Layout

I am using the Oslo Site Layout on my site. I need to be able to remove the "Home" link that is currently the "Page Title" in the default homepage. How can I remove this?
  • 787
2 votes
1 answer
5k views

Access Corev15.css file of Online SharePoint Office 365

As far as my understanding, In SharePoint on-premise version of SharePoint corev15.css file is located at c:\program files\common files\microsoft shared\web server extensions\ _layouts\15\1036\styles\...
0 votes
3 answers
1k views

Show a document library's single column as multiple columns

I have a growing SP2013 document library. In home page, I'm showing only the Name column. Now this results in just one long column on the left side of web part and an empty expanse on the right. Is ...
2 votes
0 answers
2k views

How to customize the mouseover-effect of Tiles (Promoted Links)

I wanted to change the standard-mouseover-effect of SharePoint Tiles (the simply "scroll up" of the "infobox") into sth. more "eye-catchy". I guess it's a job for JavaScript, but I have no idea how to....
0 votes
1 answer
687 views

How to hide elements in dialog box?

In SP-2013 on prem, I am trying to hide all elements except the one element where one can browse for pictures, like shown in this picture where I want to hide everything inside the red square. I ...
  • 1,321
2 votes
1 answer
3k views

Apply Alternate CSS to all site collections via Powershell in SharePoint 2013

I have a SharePoint 2013 environment where I want to apply a single Alternate CSS file across all site collections and subsites. I am using the following method. When I run this I receive a single ...
1 vote
0 answers
66 views

Creating a global sharepoint menu that doesnt flyout

Im working on some requested changes for a sharepoint site. One of these changes is the requirement of having a global menu across multiple site collections. This menu needs to be on the masterpage ...
  • 705
0 votes
1 answer
410 views

Rendering and ViewStyle

Has anyone managed to incorporate the setting of the viewstyle into a CSR? I have come across the following links: Using CSR to change row color - how do I keep the view style shaded view? http://...
1 vote
2 answers
2k views

Reset/Remove Masterpage style on page layout

I have a problem that requires me to remove all masterpage styles from my layout page and add custom css styles to the layout. I have been able to add the custom css to the layout but don't know how ...
1 vote
1 answer
67 views

Custom style sheet - css

I've created a custom CSS file and added it to a Style Library. In my Master page I've referenced it. I am enable to see the styles from the CSS file because i am in the SharePoint Owner group. ...
1 vote
1 answer
88 views

ms-rteElement not working from Azure CDN

I've put some of our CSS and JavaScript files on Azure storage. These files are used across different websites. The problem is SharePoint seems to ignore ms-rteElement and rteStyle styles when the ...
  • 1,305
1 vote
1 answer
503 views

How to style third party web part in SharePoint 2013 Online?

I have a web part added into the page and would like to style its look and feel. The issue is that the web part is appearing under an iframe and I cannot seem to apply style to its DOM under the ...
  • 1,307
0 votes
1 answer
233 views

RSS show dates style sheets / CSS

I am using the RSS viewer web part and I would like to customise the view. I need to show the date of the article before the article. I also need to change the font size and colour. How can I do ...
0 votes
1 answer
508 views

To hide the search box from Mysite (SP2013 on premise)

Is there a centralized CSS file for SP2013 MySite? We would like to hide all the search box under mysite pages. Can we do it without update the sites 1 by 1? Thanks.
  • 4,058
7 votes
2 answers
5k views

SP2013 - Adding title and border (Chrome Type) to a search web part

I have a page in which all the web parts have titles and borders (Chrome Type). Adding a search box web part causes all other web part borders to disappear. Does anyone know how this behavior can be ...
1 vote
2 answers
2k views

How can I prevent people from pasting formatted text?

Is there a way to prevent people from pasting formatted text into the rich text editor? I need to make sure only our approved styles are used.
  • 1,305
1 vote
1 answer
1k views

How do I remove default Text Styles from the ribbon?

I want to prevent our users from using the built in text styles. How do I hide or remove them from the ribbon?
  • 1,305
1 vote
0 answers
793 views

Double scroll bar on pages

Recently double scroll bars have appeared. Is this caused by the masterpage or style.css?
1 vote
2 answers
275 views

Change colour of the column names of a list view web part

Is it possible to change the colour of the column names in a list view web part? Currently they are the standard 2013 colour and I want to change them. Can this be done globally via a masterpage or ...
1 vote
1 answer
118 views

How do I style a List View Web Part?

I've included a List View Web part on a page. I want to show a list of links. How do I style it? Such as changing the CSS, adding icons etc.
  • 1,305
2 votes
1 answer
2k views

override corev15 styles in html master page

I am trying to make this master page in SP 2013, I have added this into my html for the master page: <!--SPM:<SharePoint:CssRegistration name="&lt;% $SPUrl:~sitecollection/_catalogs/...
0 votes
0 answers
188 views

Sharepoint 2013 - masterpage loses all styles on preview and publish

How would you troubleshoot this? Here is what happened. I had a fully functioning masterpage I copy the 'html' masterpage by using 'copy and paste' When I preview this masterpage, this is what I see: ...
  • 163
1 vote
2 answers
3k views

Customising the style of a document library/list

I am trying to change the default styling for some of my document libraries and lists. I've got a decent understanding of CSS and HTML, but never in the SharePoint sphere. What is the best way in ...
  • 355
2 votes
1 answer
375 views

Draggable / floating Web Part Properties dialog

I have a pretty tight design that has a fixed width. However, when editing a Web Part, the dialog gets cut off or sometimes doesn't get display at all because of the frame's overflow. I would like to ...