I want to give more width to the first <article class="type-reviews">
element, so I've tried:
/*this is what I had previously and works right*/
#show-reviews .type-reviews {
display: inline-block;
width: 31%;
margin-right: 2% !important;
padding: 0px;
vertical-align: text-top;
}
NEW RULE:
/*this is what I've added to change the first element width*/
#show-reviews .type-reviews:first-child {
width: 50% !important;
}
but the new CSS doesn't change anything. Even inspecting with Firebug seems that the rule is not applied to the first element.
The HTML is the next:
...
<div id="show-reviews">
<div id="banner-lateral">...</div>
<article id="post-300" class="post-300 type-reviews status-publish hentry has-post-thumbnail">...</article>
<article id="post-222" class="post-222 type-reviews status-publish hentry has-post-thumbnail">...</article>
...
</div>