i'm trying put pair divs with float:right but don't work. Only work with li???
I need put < div class="portfolio-entry-media" > only pairs (2, 4, 6...) with float right. Is this possible? thanks!
this is the code
<div class="wpex-row vcex-portfolio-grid clr left-thumbs" data-transition-duration="0.0">
<div class="post-359 portfolio type-portfolio status-publish has-post-thumbnail hentry portfolio-entry span_1_of_1 col col-1 cat-38">
<div class="portfolio-entry-media">
<img src="http://ift.tt/1yiI4zD" width="222" height="167" class="portfolio-entry-img" alt="Bótox">
</div><!-- .portfolio-entry-media -->
<div class="portfolio-entry-details clr">
<h2 class="portfolio-entry-title entry-title">
<a href="http://ift.tt/1MbaiYA" title="Bótox">
Bótox </a>
</h2>
<div class="portfolio-entry-excerpt clr">
<p>Maecenas nec ultrices massa. Quisque orci diam, malesuada id augue nec, faucibus interdum dolor. Curabitur sagittis, felis porttitor placerat rhoncus, mauris diam sollicitudin nisl, sed luctus nulla sem non velit. Fusce a libero ullamcorper, volutpat orci ut, suscipit erat. Morbi tempor tortor vel urna lobortis. Hendrerit faucibus massa consequat. Vivamus feugiat sapien massa, non luctus purus scelerisque et. Donec sodales pellentesque diam, et adipiscing erat imperdiet ac. Integer a lacinia velit. Pellentesque eu adipiscing arcu, a eleifend nulla. Vivamus tempus sem erat, eget lobortis odio interdum at. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Interdum et malesuada fames ac ante ipsum primis in faucibus. Phasellus et feugiat risus. Ut a egestas libero. Morbi dictum quis felis vel congue. Sed eu arcu auctor, volutpat justo et, egestas libero. Phasellus sagittis sem in iaculis faucibus. Aenean vel lacus purus.</p>
</div><!-- .portfolio-entry-excerpt -->
</div><!-- .portfolio-entry-details -->
</div><!-- .portfolio-entry -->
<div class="post-265 portfolio type-portfolio status-publish has-post-thumbnail hentry portfolio-entry span_1_of_1 col col-1 cat-38">
<div class="portfolio-entry-media">
<img src="http://ift.tt/1Mbagjr" width="222" height="167" class="portfolio-entry-img" alt="Ácido Hialurónico">
</div><!-- .portfolio-entry-media -->
<div class="portfolio-entry-details clr">
<h2 class="portfolio-entry-title entry-title">
<a href="http://ift.tt/1yiI4zG" title="Ácido Hialurónico">
Ácido Hialurónico </a>
</h2>
<div class="portfolio-entry-excerpt clr">
<p>Donec sed vulputate nunc, at fringilla purus. Nulla molestie ut turpis sit amet suscipit. Nullam vulputate diam elit, ac varius turpis vestibulum aliquet. Vestibulum mattis purus et blandit hendrerit. Nulla luctus nisi et pellentesque aliquam. Morbi orci massa, vestibulum vel urna quis, porta interdum libero. Vivamus id eros congue, lacinia elit eget, condimentum risus. </p>
</div><!-- .portfolio-entry-excerpt -->
</div><!-- .portfolio-entry-details -->
</div><!-- .portfolio-entry -->
<div class="post-342 portfolio type-portfolio status-publish has-post-thumbnail hentry portfolio-entry span_1_of_1 col col-1 cat-38">
<div class="portfolio-entry-media">
<img src="http://ift.tt/1MbaiYD" width="222" height="167" class="portfolio-entry-img" alt="Mesoterapia">
</div><!-- .portfolio-entry-media -->
<div class="portfolio-entry-details clr">
<h2 class="portfolio-entry-title entry-title">
<a href="http://ift.tt/1yiI3f9" title="Mesoterapia">
Mesoterapia </a>
</h2>
<div class="portfolio-entry-excerpt clr">
<p>Integer semper malesuada elit. Donec consequat nulla nunc. Praesent nisi ipsum, imperdiet et venenatis et, sagittis nec mi. Phasellus luctus diam elit. Integer porta adipiscing felis ultrices viverra. Morbi tempor tortor vel urna lobortis. Hendrerit faucibus massa consequat. Vivamus feugiat sapien massa, non luctus purus scelerisque et. Donec sodales pellentesque diam, et adipiscing erat imperdiet ac. Integer a lacinia velit. Pellentesque eu adipiscing arcu, a eleifend nulla. Vivamus tempus sem erat, eget lobortis odio interdum at. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Interdum et malesuada fames ac ante ipsum primis in faucibus. Phasellus et feugiat risus. Ut a egestas libero. Morbi dictum quis felis vel congue. Sed eu arcu auctor, volutpat justo et, egestas libero. Phasellus sagittis sem in iaculis faucibus. Aenean vel lacus purus.</p>
</div><!-- .portfolio-entry-excerpt -->
</div><!-- .portfolio-entry-details -->
</div><!-- .portfolio-entry -->
<div class="post-324 portfolio type-portfolio status-publish has-post-thumbnail hentry portfolio-entry span_1_of_1 col col-1 cat-38">
<div class="portfolio-entry-media">
<img src="http://ift.tt/1MbaiYG" width="222" height="167" class="portfolio-entry-img" alt="Hilos Tensores">
</div><!-- .portfolio-entry-media -->
<div class="portfolio-entry-details clr">
<h2 class="portfolio-entry-title entry-title">
<a href="http://ift.tt/1Mbagjx" title="Hilos Tensores">
Hilos Tensores </a>
</h2>
<div class="portfolio-entry-excerpt clr">
<p>Curabitur metus lectus, condimentum eu lacinia sed, aliquam et nibh. Nullam et mi eu ipsum accumsan vestibulum. Donec dignissim, nibh vel consequat molestie, lacus felis suscipit velit, sit amet mollis mauris sem at leo ullamcorper, volutpat orci ut, suscipit erat. Morbi tempor tortor vel urna lobortis. Hendrerit faucibus massa consequat. Vivamus feugiat sapien massa, non luctus purus scelerisque et. Donec sodales pellentesque diam, et adipiscing erat imperdiet ac. Integer a lacinia velit. Pellentesque eu adipiscing arcu, a eleifend nulla. Vivamus tempus sem erat, eget lobortis odio interdum at. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Interdum et malesuada fames ac ante ipsum primis in faucibus. Phasellus et feugiat risus. Ut a egestas libero. Morbi dictum quis felis vel congue. Sed eu arcu auctor, volutpat justo et, egestas libero. Phasellus sagittis sem in iaculis faucibus. Aenean vel lacus purus.</p>
</div><!-- .portfolio-entry-excerpt -->
</div><!-- .portfolio-entry-details -->
</div><!-- .portfolio-entry -->
<div class="post-350 portfolio type-portfolio status-publish has-post-thumbnail hentry portfolio-entry span_1_of_1 col col-1 cat-38">
<div class="portfolio-entry-media">
<img src="http://ift.tt/1yiI4PX" width="222" height="167" class="portfolio-entry-img" alt="Carboxiterapia">
</div><!-- .portfolio-entry-media -->
<div class="portfolio-entry-details clr">
<h2 class="portfolio-entry-title entry-title">
<a href="http://ift.tt/1yiI4PY" title="Carboxiterapia">
Carboxiterapia </a>
</h2>
<div class="portfolio-entry-excerpt clr">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent pretium turpis rhoncus, ultrices quam vel, aliquam lorem. Suspendisse mattis nisl nibh, sit amet pharetra velit auctor vitae. In lacus nibh, bibendum vitae varius vitae, mollis at ipsum. Nullam fermentum purus arcu, sed fringilla libero imperdiet ac. Sed tincidunt fringilla nunc, sed sollicitudin ante interdum id.</p>
</div><!-- .portfolio-entry-excerpt -->
</div><!-- .portfolio-entry-details -->
</div><!-- .portfolio-entry -->
<div class="post-336 portfolio type-portfolio status-publish has-post-thumbnail hentry portfolio-entry span_1_of_1 col col-1 cat-38">
<div class="portfolio-entry-media">
<img src="http://ift.tt/1yiI4PZ" width="222" height="167" class="portfolio-entry-img" alt="Rinomodelación">
</div><!-- .portfolio-entry-media -->
<div class="portfolio-entry-details clr">
<h2 class="portfolio-entry-title entry-title">
<a href="http://ift.tt/1yiI3vt" title="Rinomodelación">
Rinomodelación </a>
</h2>
<div class="portfolio-entry-excerpt clr">
<p>Maecenas nec ultrices massa. Quisque orci diam, malesuada id augue nec, faucibus interdum dolor. Curabitur sagittis, felis porttitor placerat rhoncus, mauris diam sollicitudin nisl, sed luctus nulla sem non velit. Fusce a libero ullamcorper, volutpat orci ut, suscipit erat. Morbi tempor tortor vel urna lobortis. Hendrerit faucibus massa consequat. Vivamus feugiat sapien massa, non luctus purus scelerisque et. Donec sodales pellentesque diam, et adipiscing erat imperdiet ac. Integer a lacinia velit. Pellentesque eu adipiscing arcu, a eleifend nulla. Vivamus tempus sem erat, eget lobortis odio interdum at. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Interdum et malesuada fames ac ante ipsum primis in faucibus. Phasellus et feugiat risus. Ut a egestas libero. Morbi dictum quis felis vel congue. Sed eu arcu auctor, volutpat justo et, egestas libero. Phasellus sagittis sem in iaculis faucibus. Aenean vel lacus purus.</p>
</div><!-- .portfolio-entry-excerpt -->
</div><!-- .portfolio-entry-details -->
</div><!-- .portfolio-entry -->
<div class="post-380 portfolio type-portfolio status-publish has-post-thumbnail hentry portfolio-entry span_1_of_1 col col-1 cat-38">
<div class="portfolio-entry-media">
<img src="http://ift.tt/1MbaiYJ" width="222" height="167" class="portfolio-entry-img" alt="Escleroterapia">
</div><!-- .portfolio-entry-media -->
<div class="portfolio-entry-details clr">
<h2 class="portfolio-entry-title entry-title">
<a href="http://ift.tt/1yiI4Q2" title="Escleroterapia">
Escleroterapia </a>
</h2>
<div class="portfolio-entry-excerpt clr">
<p>Maecenas nec ultrices massa. Quisque orci diam, malesuada id augue nec, faucibus interdum dolor. Curabitur sagittis, felis porttitor placerat rhoncus, mauris diam sollicitudin nisl, sed luctus nulla sem non velit. Fusce a libero ullamcorper, volutpat orci ut, suscipit erat. Morbi tempor tortor vel urna lobortis. Hendrerit faucibus massa consequat. Vivamus feugiat sapien massa, non luctus purus scelerisque et. Donec sodales pellentesque diam, et adipiscing erat imperdiet ac. Integer a lacinia velit. Pellentesque eu adipiscing arcu, a eleifend nulla. Vivamus tempus sem erat, eget lobortis odio interdum at. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Interdum et malesuada fames ac ante ipsum primis in faucibus. Phasellus et feugiat risus. Ut a egestas libero. Morbi dictum quis felis vel congue. Sed eu arcu auctor, volutpat justo et, egestas libero. Phasellus sagittis sem in iaculis faucibus. Aenean vel lacus purus.</p>
</div><!-- .portfolio-entry-excerpt -->
</div><!-- .portfolio-entry-details -->
</div><!-- .portfolio-entry -->
<div class="post-371 portfolio type-portfolio status-publish has-post-thumbnail hentry portfolio-entry span_1_of_1 col col-1 cat-38">
<div class="portfolio-entry-media">
<img src="http://ift.tt/1MbaiYK" width="222" height="167" class="portfolio-entry-img" alt="Piel Perfecta">
</div><!-- .portfolio-entry-media -->
<div class="portfolio-entry-details clr">
<h2 class="portfolio-entry-title entry-title">
<a href="http://ift.tt/1MbagzS" title="Piel Perfecta">
Piel Perfecta </a>
</h2>
<div class="portfolio-entry-excerpt clr">
<p>Nullam volutpat libero vel dolor bibendum, vel vestibulum orci congue. Suspendisse potenti. Ut eu condimentum velit, in varius diam. Phasellus vitae arcu placerat, tristique mi ut, tincidunt leo. Aenean nec felis augue. Vivamus blandit turpis at dictum accumsan. Fusce adipiscing rutrum nibh, ac fermentum urna dictum eu. Nunc ullamcorper aliquet sagittis. Maecenas euismod lacus a pulvinar luctus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Phasellus et feugiat risus. Ut a egestas libero. Morbi dictum quis felis vel congue. Sed eu arcu auctor, volutpat justo et, egestas libero. Phasellus sagittis sem in iaculis faucibus. Aenean vel lacus purus.</p>
</div><!-- .portfolio-entry-excerpt -->
</div><!-- .portfolio-entry-details -->
</div><!-- .portfolio-entry -->
</div>