css - jQuery custom theme? -


i have 2 jquery themes. custom theme , theme scope sidebar. need mix both themes in sidebar?

for example:

<div class="sidebar">     <div id="accordionwidget">         <div id="datepicker">         </div>     </div> </div> 

the accordion widget , datepicker both using theme scope sidebar. use custom-theme datepicker.

do need copy custom theme , scope datepicker? if do, double css files. or can add class datepicker override scope sidebar?

this not practice, in times ok use !important in css. using !important override preexisting styles.

example:

html:

<p class="blue">  </p> 

css:

p.blue{     color: yellow; /* overridden */ }  .blue{    color: blue !important; } 

you can read more on using !important here


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -