Re: X-Cart reBOOT (reDUX) Template
Hi Phil,
I'm currently in production on reDUX 4.7.12.2. Testing with reDUX 4.7.12.4
1) When testing on MOBILE, the 'category icon' does NOT to appear when 'featured categories' are displayed on the HOMEPAGE. The ICON 'DOES' appear with version 4.7.12.2.
I found what the difference was.
In skin/reboot/customer/featured-items.tpl
Around line 112 I added ‘data-sizes=”auto” which was in the 4.7.12.2 code, and this had the mobile work as I wanted. Is there a reason you removed 'data-sizes="auto" from the 4.7.12.4 code?
FROM
<p class="text-center"><a href="home.php?cat={$i.categoryid}"><img class="lazyload img-fluid featured-item-icon" src="{$AltImagesDir}/spacer.gif" data-src="{$i.image_path|default:'./default_logo.gif'}" alt="{$i.category|amp}" title="{$i.category|amp}" width="{$i.image_x|default:'150'}" height="{$i.image_y|default:'150'}"></a></p>
TO
<p class="text-center"><a href="home.php?cat={$i.categoryid}"><img class="lazyload img-fluid featured-item-icon" data-sizes="auto" src="{$AltImagesDir}/spacer.gif" data-src="{$i.image_path|default:'./default_logo.gif'}" alt="{$i.category|amp}" title="{$i.category|amp}" width="{$i.image_x|default:'150'}" height="{$i.image_y|default:'150'}"></a></p>
Thanks.
Peggy
__________________
X-Cart GP 4.7.12 | XCARTMODS.CO.UK reBOOT (reDUX)4.7.12.8 | Live
IONOS Hosting | Linux | PHP 7.4.33 | MySQL 5.7
|