Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can i overwrite this style of jquery ui
    primarykey
    data
    text
    <p>I'm trying to overwrite the style of some element of jquery ui, this is my html</p> <pre><code> &lt;div class="menu ui-accordion-header ui-state-default ui-corner-all"&gt; &lt;label class="formatText" id="lblIndicators"&gt; Cliente&lt;/label&gt; &lt;span class="ui-icon ui-icon-triangle-1-e menuIcon" style="float: right"&gt;&lt;/span&gt; &lt;div class="subMenu ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"&gt; &lt;ul class="options"&gt; &lt;li&gt; &lt;label class="formatText"&gt; Ver Cliente&lt;/label&gt; &lt;span class="ui-icon ui-icon-triangle-1-s" style="float: right"&gt;&lt;/span&gt; &lt;div class="subMenuRight ui-accordion-header ui-helper-reset ui-state-default ui-corner-all"&gt; &lt;ul class="options"&gt; &lt;li&gt;Por Nombre&lt;/li&gt; &lt;li&gt;Por Año de ingreso&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/li&gt; &lt;li&gt;algo&lt;/li&gt; &lt;li&gt;cualquier vaina&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p><strong>note</strong> that the div has the follow classes <code>menu ui-accordion-header ui-state-default ui-corner-all</code> now i'm trying to overwrite the classes like this</p> <pre><code>.menu .ui-state-default { width:120px; color: #FFFFFF; background: #003E6F; float:left; } .menu .ui-helper-reset { width:120px; color: #FFFFFF; background: #003E6F; float:left; } .menu .ui-accordion-header { width:120px; color: #FFFFFF; background: #003E6F; float:left; } .menu .ui-state-hover{ border-width: 0; font-size: 12px; color: #003E6F; } .subMenu { display:none; width:129px; } .subMenuRight { display:none; width:120px; position:absolute; left:100%; top:0px; } </code></pre> <p>Now my problem it's that first element div, doesn't get the override of the class. All the children divs works well. What i'm doing wrong??</p> <p><a href="http://jsfiddle.net/ZxvkN/20/" rel="nofollow">This is my live demo</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload