[29/10/2024] On essaie d'aligner les logos des marques un peu mieux

This commit is contained in:
2024-10-29 21:16:28 +01:00
parent 5a79db3015
commit 850f640f50
5 changed files with 8 additions and 3 deletions

View File

@@ -30,3 +30,8 @@
margin-bottom: 15px; margin-bottom: 15px;
padding: 0; padding: 0;
} }
.brands-content article img {
height: 85px;
max-width: min-content;
}

View File

@@ -7,8 +7,8 @@
<div class="brands-content"> <div class="brands-content">
<ul class="list-unstyled row" style="text-align: center"> <ul class="list-unstyled row" style="text-align: center">
{loop type="brand" name="brand_list"} {loop type="brand" name="brand_list"}
{loop type="image" name="brand_images" brand={$ID} width=100} {loop type="image" name="brand_images" brand={$ID}}
<li class="item col-xs-6 col-sm-4 col-md-2"> <li class="item col-md-2">
<article class="row" itemscope itemtype="http://schema.org/Product"> <article class="row" itemscope itemtype="http://schema.org/Product">
<a href="{$URL}"><img src="{$IMAGE_URL}" alt="{$TITLE}" /></a> <a href="{$URL}"><img src="{$IMAGE_URL}" alt="{$TITLE}" /></a>
</article> </article>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

After

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 181 KiB

After

Width:  |  Height:  |  Size: 198 KiB