PDA

View Full Version : Home page Fetured



Kim Ling
January 4, 2019, 12:27 PM
Hello on the home page the featured tab shows this.


Great Car

ConvertableUsed

$7500


Now my problem is on the second line the words are joined together
which file do i access to put a space between the words? what do i look for
Kind regards Kim

Wei Hong
January 4, 2019, 01:55 PM
Can we see picture, we can't imagine what's the problem.

Kim Ling
January 4, 2019, 03:06 PM
3025

this is the problem there should be a space in between the word

Rudi
January 4, 2019, 05:46 PM
Hello,

I've fixed it on your end

the fix for auto_main_blue:

templates > tpl > blocks > featured_item.tpl



<span id="flf_{$featured_listing.ID}_{$item.Key}">{$item.value}</span>


should be changed to:


<span id="flf_{$featured_listing.ID}_{$item.Key}">{$item.value} </span>

Kim Ling
January 4, 2019, 06:58 PM
oh thanks Rudi, you have been very helpful as always
kind regards Kim

Logmanov
October 11, 2022, 04:23 PM
Hello Rudi.

In the home page featured and Recently Added listings have the same classes, I couldn't find difference between them. So how do I add a class for featured ones?

Thank you!

Rudi
October 11, 2022, 07:02 PM
Hello,

You need to use a class ltfb_listings in your selector like:


section[class*="ltfb_listings"] .featured > li

Logmanov
October 11, 2022, 07:57 PM
Hello,

You need to use a class ltfb_listings in your selector like:


section[class*="ltfb_listings"] .featured > li


Hello Rudi,
It did not work. I checked it with styles:

section[class*="ltfb_listings"] .featured > li img {
width: 50px !important;
}

and
section[class*="ltfb_listings"] .featured > li {
width: 50px !important;
}

Logmanov
October 11, 2022, 08:08 PM
How to add own class to this listings?

I added $listing.Featured but it didn't work.

I tried also $featured_listing.ID. It worked for both, featured and recently added

Rudi
October 11, 2022, 08:22 PM
I've checked and it works fine on my end

You can use this condition for your custom class:



{if $block.Key|strpos:'ltfb_' === 0 || $block.options|strpos:'featured' > 0}your class{/if}

Logmanov
October 11, 2022, 09:18 PM
It works only in the Featured box, but I want to add class into listing boxes block.

Logmanov
October 11, 2022, 09:25 PM
Yes Rudi, it worked.
Thank you very much!