PDA

View Full Version : Escort Template show profiles on homepage change



Albert Keijer
October 12, 2016, 08:35 AM
Hello,

I have escort template and the flatty template shows 4 profiles on a row.

profile1-profile2-profile3-profile4

Now I like to have 8 profiles on a row.

profile1-profile2-profile3-profile4-profile5-profile6-profile7-profile8

And of course I think the thumbnails of profiles listing should be 50% smaler to fit in template.

Can anybody help me with this?

Viktor
October 12, 2016, 02:01 PM
Hello Albert,

Would you please explain me where do you want to show it? On home page or on category page? Or may be in some other place?

Albert Keijer
October 13, 2016, 10:19 AM
I want it on home page also for featured profiles and new added box, its escorts website.
On the category page I want 4 profiles a box with picture on left side and some info next picture like: `phone number,body details, about me, how many pictures/video

See picture:
home page

1884

Catagory page:

1885

Viktor
October 14, 2016, 09:24 AM
Hello Albert,

You can try to change it yourself.
Go to ftp://templates>>your_template>>tpl>>blocks>>featured_item.tpl
find code:



if ( in_array($block['Side'], array('middle', 'bottom', 'top'))) {
$class = $side_bar_exists ? 'col-sm-4' : 'col-md-3 col-sm-4';


and replace to:


if ( in_array($block['Side'], array('middle', 'bottom', 'top'))) {
$class = $side_bar_exists ? 'col-sm-4' : 'col-md-2 col-sm-4';


but it will be 6 column.

If you want exactly 8 you should create a ticket.

Albert Keijer
October 15, 2016, 08:12 AM
Thank you very much 6 is good enough I see.
I added a content box : "featured profiles for company" also on home page but this image is stil original size,
where I can change this?

Another problem I have now is that the text below picture is to big.
The country and name fonts should be A little smaler.
Where I can change the font size?

Viktor
October 15, 2016, 12:35 PM
Hello Albert Keijer,

You should change 1 line in file: ftp://templates>>your_template>>tpl>>blocks>>featured_account_item.tpl

find line:

$class = $side_bar_exists ? 'col-sm-4' : 'col-md-3 col-sm-4';

and replace to:

$class = $side_bar_exists ? 'col-sm-4 col-md-2' : 'col-md-2 col-sm-4';

Albert Keijer
October 15, 2016, 04:55 PM
cool :)) thank you Viktor for great help.
It work out fine

How I can make fonts smaler under the pictures? like size 6 so text wil be good under picture.
The website is all a little to big and when fonts are a little smaler there wil be fit more on page
Also the headings txt of categories are big.

I hope somebody can help me with this also.