Style a v-autocomplete dropdown [vuetify] - css

I have a dropdown menu that I would like to style.
When it's up, the dropdown looks like this.
And when it's down, it looks like this.
This yellow border is just a border-bottom style that I added to the dropdown component. The big problem is that, depending on where the user is on the page, the dropdown may appear on top of the input, in the middle or below it (as it always should).
So this is what it looks like when the user clicks on the input when it's not on the "right position".
As you can see, it just looks ridiculous.. What I'd like is a way to change the input's border-bottom: I'd like it light-grey when the dropdown is up and yellow when it's down.
Does anyone know how to do this ? I already tried using this link : https://vuetifyjs.com/en/components/selects/#icons
But it turns out the v-select component doesn't work with the "Select All" feature (that I really need).
Here's what my code looks like :
<!-- CATEGORY -->
<template>
<v-autocomplete
loading="true"
:menu-props="{ maxWidth: 313}"
v-model="valuesType"
:items="typeArray"
label="Category"
:search-input.sync="searchType"
filled
append-icon="mdi-chevron-down"
clear-icon="mdi-close-circle"
background-color=#313131
clearable
multiple
:item-color="yellow"
item-text="color:var(--yellow)"
color="var(--yellow)"
>
<template v-slot:prepend-item>
<v-list-item
ripple
#mousedown.prevent
#click="toggleType"
height="48px"
>
<v-list-item-action>
<v-icon :color="valuesType.length > 0 ? 'var(--yellow)' : ''">
{{ iconType }}
</v-icon>
</v-list-item-action>
<v-list-item-content>
<v-list-item-title>
Select All
</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-divider></v-divider>
</template>
<template v-slot:selection="{ item, index }">
<div v-if="valuesType.length === 1">
<span v-if="index === 0 && valuesType[0].length > 16">{{ valuesType[0].slice(0,16) }}... </span>
<span v-if="index === 0 && valuesType[0].length <= 16">{{ valuesType[0] }}, </span>
</div>
<div v-if="valuesType.length === 2 ">
<span v-if="index === 0 && valuesType[0].length <= 8">{{ valuesType[0] }}, </span>
<span v-if="index === 0 && valuesType[0].length > 8">{{ valuesType[0].slice(0,8) }}... </span>
<span v-if="index === 1 && valuesType[1].length <= 8">{{ valuesType[1] }}, </span>
<!--<span v-if="index === 1 && valuesType[1].length > 8">{{ valuesType[1].slice(0,8) }}... </span>-->
<span v-if="index === 1 && valuesType[1].length > 8"
class="grey--text text-caption spanFilters"
>
+1 other
</span>
</div>
<div v-if="valuesType.length > 2">
<span v-if="index === 0 && valuesType[0].length <= 10">{{ valuesType[0].slice(0,10) }} </span>
<span v-if="index === 0 && valuesType[0].length > 10">{{ valuesType[0].slice(0,8) }}... </span>
<span
v-if="index === 1"
class="grey--text text-caption spanFilters"
>
+{{ valuesType.length - 1 }} other(s)
</span>
</div>
</template>
</v-autocomplete>
</template>
Any suggestion or help would be appreciated ! :)

Related

Vue 3 and Vuetify 3: V-Menu moving when a v-chip is showed up

I'm using Vue 3 and Vutify 3 and I have v-menus with datatables inside. When I select items I show a v-chips in the V-btn with the amount of selected items.
But when the v-chip appear, the V-menu moving (because the V-btn expands).
Tried to use an anchor and put an id (or class) on the icon element, but I got an error saying the anchor didn't find any Id/class element.
<template>
<v-btn variant="plain" color="black">
<div class="d-flex align-center">
{{ title }}
<v-chip
v-if="selectedModel.length"
label
size="small"
color="blue"
class="mx-1"
>
{{ selectedModel.length }}
</v-chip>
</div>
<v-icon right> mdi-chevron-down </v-icon>
<v-menu
location="bottom center"
activator="parent"
:close-on-content-click="false"
>
<v-card width="350">
<v-divider />
<v-divider />
...DATATABLE COMPONENT
</v-card>
</v-menu>
</v-btn>
</template>
As already cited in the documentation-
The menu can be offset relative to the activator by using the location
prop.
This simply implies that it is significantly obvious for a menu to alter its location if its activator element expands/shrinks.
I tested the location-strategy prop as well which didn't work by the way and checked the documentation too but did not find any right way to do this.
However, I came up with two methods to fix the menu position when the activator expands/shrinks. I am just, not sure if these are the right approaches to follow.
Nonetheless, here are the two methods-
1. Render the count element already-
Show the count element always but with a condition that when the count is 0, transparent the count's background otherwise gives a color.
In this way, the count element will always be present in the button but invisible until its value increases from 0, so no issue with the button's expanding/shrinking.
<!DOCTYPE html>
<html>
<head>
<link
href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"
rel="stylesheet"
/>
<link
href="https://cdn.jsdelivr.net/npm/#mdi/font#4.x/css/materialdesignicons.min.css"
rel="stylesheet"
/>
<link
href="https://cdn.jsdelivr.net/npm/vuetify#3.0.5/dist/vuetify.min.css"
rel="stylesheet"
/>
</head>
<body>
<div id="app"></div>
<script src="https://unpkg.com/vue#3/dist/vue.global.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vuetify#3.0.5/dist/vuetify.min.js"></script>
<script type="text/x-template" id="app-template">
<v-app>
<v-btn #click="resetCount" color="error">Reset count</v-btn>
<div class="d-flex justify-center mt-5">
<v-menu position="bottom center" :close-on-content-click="false">
<template v-slot:activator="{ props }">
<v-btn variant="plain" color="black" v-bind="props" :rounded="0">
<div class="d-flex align-center">
Types
<v-chip
label
size="small"
:color="count_a ? 'red' : 'white'"
:class="['ms-2']"
>
{{ count_a }}
</v-chip>
</div>
<v-icon class="ms-2"> mdi-chevron-down </v-icon>
</v-btn>
</template>
<v-list>
<v-list-item
v-for="(item, i) in items"
:key="i"
#click="count_a = count_a + 1"
>
<v-list-item-title>{{ item.title }}</v-list-item-title>
</v-list-item>
</v-list>
</v-menu>
<v-menu position="bottom center" :close-on-content-click="false">
<template v-slot:activator="{ props }">
<v-btn variant="plain" color="black" v-bind="props" :rounded="0">
<div class="d-flex align-center">
Domains
<v-chip
label
size="small"
:color="count_b ? 'red' : 'white'"
:class="['ms-2']"
>
{{ count_b }}
</v-chip>
</div>
<v-icon class="ms-2"> mdi-chevron-down </v-icon>
</v-btn>
</template>
<v-list>
<v-list-item
v-for="(item, i) in items"
:key="i"
#click="count_b = count_b + 1"
>
<v-list-item-title>{{ item.title }}</v-list-item-title>
</v-list-item>
</v-list>
</v-menu>
<v-menu position="bottom center" :close-on-content-click="false">
<template v-slot:activator="{ props }">
<v-btn variant="plain" color="black" v-bind="props" :rounded="0">
<div class="d-flex align-center">
Languages
<v-chip
label
size="small"
:color="count_c ? 'red' : 'white'"
:class="['ms-2']"
>
{{ count_c }}
</v-chip>
</div>
<v-icon class="ms-2"> mdi-chevron-down </v-icon>
</v-btn>
</template>
<v-list>
<v-list-item
v-for="(item, i) in items"
:key="i"
#click="count_c = count_c + 1"
>
<v-list-item-title>{{ item.title }}</v-list-item-title>
</v-list-item>
</v-list>
</v-menu>
<v-menu position="bottom center" :close-on-content-click="false">
<template v-slot:activator="{ props }">
<v-btn variant="plain" color="black" v-bind="props" :rounded="0">
<div class="d-flex align-center">
Versions
<v-chip
label
size="small"
:color="count_d ? 'red' : 'white'"
:class="['ms-2']"
>
{{ count_d }}
</v-chip>
</div>
<v-icon class="ms-2"> mdi-chevron-down </v-icon>
</v-btn>
</template>
<v-list>
<v-list-item
v-for="(item, i) in items"
:key="i"
#click="count_d = count_d + 1"
>
<v-list-item-title>{{ item.title }}</v-list-item-title>
</v-list-item>
</v-list>
</v-menu>
</div>
</v-app>
</script>
<script>
const { createApp } = Vue;
const { createVuetify } = Vuetify;
const vuetify = createVuetify();
const app = createApp({
template: "#app-template",
data: () => ({
count_a: 0,
count_b: 0,
count_c: 0,
count_d: 0,
items: [
{ title: "Click Me" },
{ title: "Click Me" },
{ title: "Click Me" },
{ title: "Click Me 2" },
],
}),
methods: {
resetCount() {
this.count_a = this.count_b = this.count_c = this.count_d = 0
}
}
})
.use(vuetify)
.mount("#app");
</script>
</body>
</html>
2. Give some minimum width to the activator button-
If the button would have some minimum width then the count element will first try to adjust itself into the available space without moving the menu element.
<!DOCTYPE html>
<html>
<head>
<link
href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900"
rel="stylesheet"
/>
<link
href="https://cdn.jsdelivr.net/npm/#mdi/font#4.x/css/materialdesignicons.min.css"
rel="stylesheet"
/>
<link
href="https://cdn.jsdelivr.net/npm/vuetify#3.0.5/dist/vuetify.min.css"
rel="stylesheet"
/>
</head>
<body>
<div id="app"></div>
<script src="https://unpkg.com/vue#3/dist/vue.global.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vuetify#3.0.5/dist/vuetify.min.js"></script>
<script type="text/x-template" id="app-template">
<v-app>
<v-btn #click="resetCount" color="error">Reset count</v-btn>
<div class="d-flex align-center mt-5">
<v-menu position="bottom center" :close-on-content-click="false" >
<template v-slot:activator="{ props }">
<v-btn variant="plain" color="black" v-bind="props" :rounded="0" :min-width="200">
<div class="d-flex align-center">
Types
<v-chip
v-if="count_a"
label
size="small"
color="red"
:class="['ms-2']"
>
{{ count_a }}
</v-chip>
</div>
<v-icon class="ms-2"> mdi-chevron-down </v-icon>
</v-btn>
</template>
<v-list>
<v-list-item
v-for="(item, i) in items"
:key="i"
#click="count_a = count_a + 1"
>
<v-list-item-title>{{ item.title }}</v-list-item-title>
</v-list-item>
</v-list>
</v-menu>
<v-menu position="bottom center" :close-on-content-click="false">
<template v-slot:activator="{ props }">
<v-btn variant="plain" color="black" v-bind="props" :rounded="0" :min-width="200">
<div class="d-flex align-center">
Domains
<v-chip
v-if="count_b"
label
size="small"
color="red"
:class="['ms-2']"
>
{{ count_b }}
</v-chip>
</div>
<v-icon class="ms-2"> mdi-chevron-down </v-icon>
</v-btn>
</template>
<v-list>
<v-list-item
v-for="(item, i) in items"
:key="i"
#click="count_b = count_b + 1"
>
<v-list-item-title>{{ item.title }}</v-list-item-title>
</v-list-item>
</v-list>
</v-menu>
<v-menu position="bottom center" :close-on-content-click="false">
<template v-slot:activator="{ props }">
<v-btn variant="plain" color="black" v-bind="props" :rounded="0" :min-width="200">
<div class="d-flex align-center">
Languages
<v-chip
v-if="count_c"
label
size="small"
color="red"
:class="['ms-2']"
>
{{ count_c }}
</v-chip>
</div>
<v-icon class="ms-2"> mdi-chevron-down </v-icon>
</v-btn>
</template>
<v-list>
<v-list-item
v-for="(item, i) in items"
:key="i"
#click="count_c = count_c + 1"
>
<v-list-item-title>{{ item.title }}</v-list-item-title>
</v-list-item>
</v-list>
</v-menu>
<v-menu position="bottom center" :close-on-content-click="false">
<template v-slot:activator="{ props }">
<v-btn variant="plain" color="black" v-bind="props" :rounded="0" :min-width="200">
<div class="d-flex align-center">
Versions
<v-chip
v-if="count_d"
label
size="small"
color="red"
:class="['ms-2']"
>
{{ count_d }}
</v-chip>
</div>
<v-icon class="ms-2"> mdi-chevron-down </v-icon>
</v-btn>
</template>
<v-list>
<v-list-item
v-for="(item, i) in items"
:key="i"
#click="count_d = count_d + 1"
>
<v-list-item-title>{{ item.title }}</v-list-item-title>
</v-list-item>
</v-list>
</v-menu>
</div>
</v-app>
</script>
<script>
const { createApp } = Vue;
const { createVuetify } = Vuetify;
const vuetify = createVuetify();
const app = createApp({
template: "#app-template",
data: () => ({
count_a: 0,
count_b: 0,
count_c: 0,
count_d: 0,
items: [
{ title: "Click Me" },
{ title: "Click Me" },
{ title: "Click Me" },
{ title: "Click Me 2" },
],
}),
methods: {
resetCount() {
this.count_a = this.count_b = this.count_c = this.count_d = 0
}
}
})
.use(vuetify)
.mount("#app");
</script>
</body>
</html>
Note- Please test the snippets on the full page because the menu will overlap with the activator in the small window.
Also, please let me know if you come up with a better/right way.

Change color items in v-list-item

I have a dropdown with multiple items in it and I'd like to change their appearances.
At the moment, I can only change the color of the appended item "Select All" but no the ones under it. Does anyone know how to do this ?
<template>
<v-container fluid>
<v-select
v-model="valuesType"
:items="typeArray"
label="Category"
multiple
flat
attach
>
<template v-slot:prepend-item>
<v-list-item
ripple
#mousedown.prevent
#click="toggleType"
class="test elevation-0"
dense
>
<v-list-item-action>
<v-icon :color="valuesType.length > 0 ? 'var(--yellow)' : ''">
{{ iconType }}
</v-icon>
</v-list-item-action>
<v-list-item-content>
<v-list-item-title class="select-all">
Select All
</v-list-item-title>
</v-list-item-content>
</v-list-item>
<v-divider></v-divider>
</template>
<template v-slot:selection="{ item, index }">
<div v-if="valuesType.length === 1">
<span v-if="index === 0 && valuesType[0].length > 16">
{{ valuesType[0].slice(0,16) }}...
</span>
<span v-if="index === 0 && valuesType[0].length <= 16">
{{ valuesType[0] }}
</span>
</div>
<div v-if="valuesType.length === 2 ">
<span v-if="index === 0 && valuesType[0].length <= 8">
{{ valuesType[0] }},
</span>
<span v-if="index === 0 && valuesType[0].length > 8">
{{ valuesType[0].slice(0,8) }}...,
</span>
<span v-if="index === 1 && valuesType[1].length <= 8">
{{ valuesType[1] }}
</span>
<span v-if="index === 1 && valuesType[1].length > 8">
{{ valuesType[1].slice(0,8) }}...
</span>
</div>
<div v-if="valuesType.length > 2">
<span v-if="index === 0 && valuesType[0].length <= 10">
{{ item }},
</span>
<span v-if="index === 0 && valuesType[0].length > 10">
{{ valuesType[0].slice(0,10) }}...,
</span>
<span
v-if="index === 1"
class="grey--text text-caption spanFilters"
>
+{{ valuesType.length - 1 }} other(s)
</span>
</div>
</template>
</v-select>
</v-container>
</template>
I'd like the items under the "Select All" (the checkboxes and also the hover) to have the same yellow as the "Select All".
Check this codepen The v-checkbox component of vuetify accepts a color prop by which you can change the checkbox's color.
<v-checkbox color="yellow" :input-value="active"></v-checkbox>

how to add theme to div in angular material

this is the code that needs to be changed is class="header1 fuse-navy-600">
<div class="container-fluid">
<div class="main-card">
<div class="header1 fuse-navy-600">
<div class="title1">
<mat-icon class="logo-icon s-32 mr-16 mat-icon material-icons ng-trigger ng-trigger-animate"
role="img" aria-hidden="true">shopping_basket
</mat-icon>
{{ title }}
</div>
<div class="mode-container" *ngIf="processedEntryForm && myForm">
<span class="mode">
<p class="mode-text">Mode: {{ eventType.valueOf() |
titlecase }}</p>
<mat-icon class="mat-icon-mode" *ngIf="eventCode == 'VIEW'">visibility
</mat-icon>
<mat-icon class="mat-icon-mode" *ngIf="eventCode == 'DELETE'"
aria-label="Example icon-button with a heart icon">delete_outline </mat-icon>
<mat-icon class="mat-icon-mode" *ngIf="eventCode == 'MODIFY'"
aria-label="Example icon-button with a heart icon">create
</mat-icon>
<mat-icon class="mat-icon-mode" *ngIf="eventCode == 'PROCESSPENDING' || eventCode == 'PROCESS' ">build</mat-icon>
<mat-icon class="mat-icon-mode" *ngIf="eventCode == 'ADD'">add</mat-icon>
</span>
</div>
</div>
enter image description here
how will i add theme to a div and be able to change the header fuse-navy-600 color
From what I'm seeing in the documentation of the latest Fuse theme which uses Tailwind CSS (http://angular-material.fusetheme.com/ui/colors), to change the background-color of a div to the primary color, you can replace the fuse-navy-600 class in the html by bg-primary. In case you want to choose a specific hue of the primary color, you can specify it in this manner: bg-primary-300

How to make title and date on one line in angular material

I have a title and date , but they are looking now like this:
title
date
but it has to be: title date.
<mat-card-header>
<mat-card-title >
<span [innerHTML]="item.title | highlight : searchQuery"></span>
<span class="spacer"></span>
<span>
<a mat-icon-button [routerLink]="['../', dossier.id , 'item', item.id]" i18n-title title="Edit">
<mat-icon>edit</mat-icon>
</a>
</span>
</mat-card-title>
<mat-card-subtitle >
<span *ngIf="!createdAtEqualsDate(item)">{{item.date | date: 'shortDate'}} <ng-template i18n>created</ng-template></span>
<span>{{item.createdAt | date: 'short'}}</span>
<span *ngIf="item.createdAt !== item.lastModifiedAt"><ng-template i18n>modified</ng-template> {{item.lastModifiedAt | date: 'short'}}</span>
</mat-card-subtitle>
</mat-card-header>
css:
mat-card-header{
justify-content: center;
}
So what I mean is that card-title and card-subtitle are on the same line and not under each other
I tried this example https://jsfiddle.net/VanessaRC/Lz9vz6bs/1/. But that doesnt fix it. Because I have a mat-card-header
oke, I have it now like this:
<mat-card-header>
<mat-card-title>
<span [innerHTML]="item.title | highlight: searchQuery"></span>
<span class="spacer"></span>
</mat-card-title>
<div class="title-date">
<span *ngIf="!createdAtEqualsDate(item)"
>{{ item.date | date: 'shortDate' }}<ng-template i18n>created</ng-template></span
>
<span>{{ item.createdAt | date: 'short' }}</span>
<span *ngIf="item.createdAt !== item.lastModifiedAt"
><ng-template i18n>modified</ng-template> {{ item.lastModifiedAt | date: 'short' }}</span
>
</div>
<span>
<a mat-icon-button [routerLink]="['../', dossier.id, 'item', item.id]" i18n-title title="Edit">
<mat-icon>edit</mat-icon>
</a>
</span>
</mat-card-header>
But then the date is on the left side next to the edit icon. But It has to be next to the title
You can add this to your styles, you will need to make a little more adjustments
.mat-card-header-text{
display: flex;
}
You could also use
.mat-card-header-text{
display: inline-block;
}
https://www.w3schools.com/css/css_inline-block.asp

Image slideshow disappeared and wrong image size in Product page Prestashop

Sorry, if I may make some mistakes, I'm quite new so I will try to make this question as precise as I can.
Here is the situation:
In this website we have a product display page, with a full size image on the left with a module - Magictoolbox container - that allows me to have a zoom on the product image when the cursors is pointed it.
Normally, on the right hand side of this image we have a vertical slideshow, with smaller images.
Today the vertical slideshow from the product page disappeared and the dimensions are completely off:
https://www.backlabel.com/lounge/272-lounge-wear-pants.html
Here is the code related to product.tpl (I guess it's the correct file to look at)
My prestashop version is 1.6.1.17
<div class="image_container">
<div id="image-block" class="clearfix{if isset($images) && count($images) < 2} fwdth{/if}">
{if $product->on_sale}
<span class="sale-box">
<span class="sale-label">{l s='Sale!'}</span>
</span>
{elseif $product->specificPrice && $product->specificPrice.reduction && $productPriceWithoutReduction > $productPrice}
<span class="discount">{l s='Reduced price!'}</span>
{/if}
{if $have_image}
<span id="view_full_size">
{if $jqZoomEnabled && $have_image && !$content_only}
<a class="jqzoom" title="{if !empty($cover.legend)}{$cover.legend|escape:'html':'UTF-8'}{else}{$product->name|escape:'html':'UTF-8'}{/if}" rel="gal1" href="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox_'|cat:$cookie->img_name)|escape:'html':'UTF-8'}" itemprop="url">
<img itemprop="image" src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large_'|cat:$cookie->img_name)|escape:'html':'UTF-8'}" title="{if !empty($cover.legend)}{$cover.legend|escape:'html':'UTF-8'}{else}{$product->name|escape:'html':'UTF-8'}{/if}" alt="{if !empty($cover.legend)}{$cover.legend|escape:'html':'UTF-8'}{else}{$product->name|escape:'html':'UTF-8'}{/if}"/>
</a>
{else}
<img id="bigpic" itemprop="image" src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large_'|cat:$cookie->img_name)|escape:'html':'UTF-8'}" title="{if !empty($cover.legend)}{$cover.legend|escape:'html':'UTF-8'}{else}{$product->name|escape:'html':'UTF-8'}{/if}" alt="{if !empty($cover.legend)}{$cover.legend|escape:'html':'UTF-8'}{else}{$product->name|escape:'html':'UTF-8'}{/if}" width="{$largeSize.width}" height="{$largeSize.height}"/>
{if !$content_only}
<span class="span_link no-print">{l s='View larger'}</span>
{/if}
{/if}
</span>
{else}
<span id="view_full_size">
<img itemprop="image" src="{$img_prod_dir}{$lang_iso}-default-large_{$cookie->img_name}.jpg" id="bigpic" alt="" title="{$product->name|escape:'html':'UTF-8'}" width="{$largeSize.width}" height="{$largeSize.height}"/>
{if !$content_only}
<span class="span_link">
{l s='View larger'}
</span>
{/if}
</span>
{/if}
</div> <!-- end image-block -->
{if isset($images) && count($images) > 0}
<!-- thumbnails -->
<div id="views_block" class="clearfix {if isset($images) && count($images) < 2}hidden{/if}">
{if isset($images) && count($images) > 3}
<span class="view_scroll_spacer">
<a id="view_scroll_left" class="btn" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}">
{l s='Previous'}
</a>
</span>
{/if}
<div id="thumbs_list">
<ul id="thumbs_list_frame">
{if isset($images)}
{foreach from=$images item=image name=thumbnails}
{assign var=imageIds value="`$product->id`-`$image.id_image`"}
{if !empty($image.legend)}
{assign var=imageTitle value=$image.legend|escape:'html':'UTF-8'}
{else}
{assign var=imageTitle value=$product->name|escape:'html':'UTF-8'}
{/if}
<li id="thumbnail_{$image.id_image}"{if $smarty.foreach.thumbnails.last} class="last"{/if}>
<a
{if $jqZoomEnabled && $have_image && !$content_only}
href="javascript:void(0);"
rel="{literal}{{/literal}gallery: 'gal1', smallimage: '{$link->getImageLink($product->link_rewrite, $imageIds, 'large_'|cat:$cookie->img_name)|escape:'html':'UTF-8'}',largeimage: '{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_'|cat:$cookie->img_name)|escape:'html':'UTF-8'}'{literal}}{/literal}"
{else}
href="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_'|cat:$cookie->img_name)|escape:'html':'UTF-8'}"
data-fancybox-group="other-views"
class="thickbox{if $image.id_image == $cover.id_image} shown{/if}"
{/if}
title="{$imageTitle}">
<img
class="img-responsive"
id="thumb_{$image.id_image}"
src="{$link->getImageLink($product->link_rewrite, $imageIds, 'medium_'|cat:$cookie->img_name)|escape:'html':'UTF-8'}"
alt="{$imageTitle}"
title="{$imageTitle}"
height="{$mediumSize.height}"
width="{$mediumSize.width}"
itemprop="image" />
</a>
</li>
{/foreach}
{/if}
</ul>
</div> <!-- end thumbs_list -->
{if isset($images) && count($images) > 3}
<a id="view_scroll_right" class="btn" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}">
{l s='Next'}
</a>
{/if}
</div> <!-- end views-block -->
<!-- end thumbnails -->
{/if}
{if isset($images) && count($images) > 1}
<p class="resetimg clear">
<span id="wrapResetImages" style="display: none;">
<a id="resetImages" href="{$link->getProductLink($product)|escape:'html':'UTF-8'}">
<i class="icon-repeat"></i>
{l s='Display all pictures'}
</a>
</span>
</p>
{/if}
</div><!-- end image_column -->}
I am really desperate and I don't know how to fix it, anyone has any idea?
Thank you all

Resources