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

ios - iPhone/iPad different view orientations in different views , and apple approval process -

monitor web browser programmatically in Android? -

c# - Using multiple datasets in RDLC -