![]() |
![]() |
![]() |
|
|||||||
| User interface Discuss eSyndiCat templates here. All the questions regarding eSyndiCat [FREE] Front end |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Join Date: Oct 2009
Posts: 4
![]() |
Hi,
I adjust my Partners Block to show 10 listings in Configuration, But in the front end the 10 listings showed in one column. how to make this block show the listings in 5 columns and 2 rows (in my instance). I attached a picture for more explanation. Thanks in advance MAQ |
|
|
|
|
|
#2 |
|
Join Date: Nov 2007
Location: Earth
Posts: 973
![]() |
Hi
Please try following for "Sponsored" block. Code:
{if $sponsored_listings}
<!-- sponsored listings box start -->
<div class="listings clearfix">
{foreach from=$sponsored_listings item=sponsored_listing}
<div class="sponsored-listing" style="float: left; margin-right:10px;">
<a href=" {if $config.forward_to_listing_details} {if $config.mod_rewrite} {$config.base}{$config.dir}{$sponsored_listing.path}/{convertStr string=$sponsored_listing.title}-l{$sponsored_listing.id}.html {else} {$config.base}{$config.dir}view-listing.php?id={$sponsored_listing.id} {/if} {else} {$sponsored_listing.url} {/if} " class="title" id="l{$sponsored_listing.id}" {if $config.new_window}target="_blank"{/if}>{$sponsored_listing.title}</a>
</div>
{/foreach}
</div>
<!-- sponsored listings box end -->
{/if}
|
|
|
|
|
|
#3 |
|
Join Date: Oct 2009
Posts: 4
![]() |
Thanks Vladimir,
I did that and it works almost fine, but it did not comes in table (I think), and its showing glitch. Attached Firefox 3.5, IE8 Snap shoot. Thanks in advance. Regards, MAQ |
|
|
|
|
|
#4 |
|
Join Date: Nov 2007
Location: Earth
Posts: 973
![]() |
Hi maq,
Please check your style.css file in "./templates/your_tpl/css" folder. Could you find class "clearfix" You should see this code in style.css Code:
.clearfix:after
{
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
* html .clearfix
{
height: 1%;
}
|
|
|
|
|
|
#5 |
|
Join Date: Oct 2009
Posts: 4
![]() |
Hi,
I found it there? |
|
|
|
![]() |
| Tags |
| block, column, multiple |
| Thread Tools | |
| Display Modes | |
|
|