Solved

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

Posted on 2013-12-13
3
443 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 250 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 250 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…

831 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