how to modify the appearance of blocks

It's weird, but as far as I can see there is no such topic - at least I can't find it.

Well, my problem is - how to modify the appearance of blocks?

In particular, I would like to change the appearance of "leaders" block - to have bigger images and less profiles visible. I can't fint the file, where to do this (css file?). Can anybody help me with this?

 

Quote · 10 Aug 2012

code is here: templates/base/scripts/BxBaseIndexPageView.php

 

/**
 * Top Rated Profiles block (Leaders)
 */
function getBlockCode_Leaders() {


function genLeaderPack($aMTypes, $sSex = 'male') {

Quote · 10 Aug 2012

use firebug in firefox browser that will sort out your problem and can edit from and see instant result in temporary but if you want to apply it change the actual file now using FTP and clear cahce via admin so

you can see result.

"Your future is created by what you do today, not tomorrow." @ www.dexpertz.net
Quote · 10 Aug 2012

Thank you! I would spend a year on this without you! :)

 

But there is another issue: when I change the size of the images, they overlap like this below

 

Have anybody faced the problem like this? What can be the cause?

1.jpg · 10.1K · 139 views
Quote · 10 Aug 2012

Here is a post that can help you out.

Deano shows you how to do all the boxes differently

http://www.boonex.com/forums/topic/Custom-Design-Boxes-Each-block-on-page-can-be-different-.htm

~Simion~ http://1Faze.com ~ Custom Dolphin Development. ~ Dolphin Consultation
Quote · 10 Aug 2012

 

Thank you! I would spend a year on this without you! :)

 

But there is another issue: when I change the size of the images, they overlap like this below

 

Have anybody faced the problem like this? What can be the cause?

 

templates/base/css/index.css

    div#prof_of_year,
    div#prof_of_month,
    div#prof_of_week,
    div#prof_of_day
    {
        width:70px;
        margin:5px;
        left:0px;
        float:left;
    }


edit width:70px;

---------------------

Find this also
$sSexThumbIcon = getTemplateIcon($sThumbType . '_medium.gif');

edit to
$sSexThumbIcon = getTemplateIcon($sThumbType . '_big.gif');

this thumb size is 156x156

Quote · 10 Aug 2012

Thank you soooooooooooooooo much!!

Quote · 10 Aug 2012

Is there a possibility to remove All/Men/Woman switch from this block?

Quote · 15 Aug 2012

ok, I got this :)

Quote · 15 Aug 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.