Just add to your styles.css
something like this:
.embpicasa {
display: block;
clear: both;
margin: 1em auto;
}
Hi is not really working, I already add to style.css, what is the problem?
I also use/enabled your pagination that I found on the support on this site, cool…
Any idea?
May be there is floats before gallery and\or pager tryp to add style="clear:both"
to pager paragraph
Hi Thanks for such quick response, Im sorry but how do I do that? whare that I should insert this style=”clear:both”?
<p style="clear:both"><?php /* ... pager ... */</p>
<ul class="embedpicassa">...</ul>
Hi thanks for your suggestion, after I add this the page stop rendering the contents. Any other idea?
Here’s my loop-picasa.php
<?php
?>
<p style="clear:both">
<?php /* ... pager ... */</p>
<ul class="embpicasa">
<?php foreach($photos as $photo):?>
<li>
<a title="<?php echo $photo['title']?>" rel="lightbox[<?php echo $id?>]" target="_blank" href="<?php echo $photo['fullsize']?>">
<img src="<?php echo $photo['thumbnail']?>" alt="<?php echo $photo['title']?>" />
</a>
</li>
<?php endforeach;?>
</ul>
<p stlye="clear:both">
<?php
$total = count($photos); // number of images
$per_page = 6; // count of images to show per page
$current = isset($_GET['picasa_page']) ? max(1, intval($_GET['picasa_page'])) : 1; // current page number
// render pager http://codex.wordpress.org/Function_Reference/paginate_links
echo paginate_links( array(
'format' => add_query_arg('picasa_page', '%#%'),
'current' => $current,
'total' => round($total / $per_page)
) );
?>
</p>
<ul class="embpicasa">
<?php for($i = $current; $i < $current + $per_page; $i++): $photo = $photos[$i];?>
<li>
<a title="<?php echo $photo['title']?>" rel="lightbox[<?php echo $id?>]" target="_blank" href="<?php echo $photo['fullsize']?>">
<img src="<?php echo $photo['thumbnail']?>" alt="<?php echo $photo['title']?>" />
</a>
</li>
<?php endfor;?>
</ul>
Hi thanks for trying, looks like my current themes overwrite everything, I dont know how to fix this..you can have a look at here..
http://pendek.in/j7mw
add to your styles.css
following:
.embpicasa {
overflow: hidden;
display: block;
}
my god, it doesn’t work… thanks for trying… desperate 🙁