Quantcast
Viewing all articles
Browse latest Browse all 26374

overrule sharepoint 2010 css with my own custom css

Hi,

I have an sharepoint 2010 intranet and I am designing the current template with my own css file. I have added my custom css file to the style library and have added this peace of code in my masterpage at the end in my <head> tag:

<SharePoint:CssRegistration name="<% $SPUrl:~SiteCollection/Style Library/custom/custom.css%>" runat="server"/>

Now I need to add always the !important tag in my css classess which are also used in the default sharepoint css file. I dont whant to do that always. Is there some solution where I can overulle my own custom css over the default sharepoint css file?

Viewing all articles
Browse latest Browse all 26374

Trending Articles