?
Solved

SharePoint 2013: CSS Tag isnt working // How are all the differnt CSS layers working together?

Posted on 2013-12-13
3
Medium Priority
?
482 Views
Last Modified: 2014-01-02
Hi,

I am trying to modify a CSS value from a sharepoint website. I've identified the tag, but obviously not the right CSS file.

Can someone give me a hint how the CSS files are bound together. I mean which CSS file overwrites wich CSS file, the CSS hierarchy of Sharepoint so to say.

Sascha
0
Comment
Question by:Sa5cha
3 Comments
 
LVL 44

Assisted Solution

by:Rainer Jeschor
Rainer Jeschor earned 1000 total points
ID: 39717609
Hi Sascha,
can you explain which tag/style you want to change? Do you perhaps have a screenshot what you want to achieve?

Normally the first resource you should look at is the site of Heather Solomon - as she is "the expert" for SharePoint and CSS. Unfortunately it looks like she has not yet updated her excellent CSS reference chart from 2010:
http://sharepointexperience.com/csschart/csschart.html

HTH
Rainer
0
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 1000 total points
ID: 39718056
The order of CSS file list determines the processing sequence and any declaration with scope overlapping previous declarations replaces any property that falls within the scope.

However specificity trumps listing order so you probably need to consider how specificity work.  This article does a good job of drilling down through the pile of override rules:
http://designshack.net/articles/css/what-the-heck-is-css-specificity/

Cd&
0
 

Author Closing Comment

by:Sa5cha
ID: 39750925
Thank you, both links helped me.

Here's another Link:

A guide to quick SharePoint 2013 branding
http://blog.blksthl.com/2013/02/26/a-guide-to-quick-sharepoint-2013-branding/
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing CSS, there are a few simple rules that will make your life easier.    1. Using ‘* {box-sizing:border-box;}’. Using this will wrap all your elements in a nice little compact box-model that will give you the width you want, like so... …
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses
Course of the Month14 days, 13 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question