Entire button clickable?

in Download Manager Free

Viewing 6 posts - 1 through 6 (of 6 total)
Jan 3, 2014 at 11:57 am
#10803
Member
Gonzalez74
OP

Good morning.
How can I customize the CSS (maybe through the one css class?) to make the download button all clickable, instead of having inside him just the text with link? I’m ok with the text with link, if i can make the button clickable too 🙂
Thanks ahead 🙂

Jan 3, 2014 at 12:10 pm
#10805
Sep 5, 2014 at 8:34 am
#20386

find the following code in download-manager.php (roughly line 214):

$html = "<div id='wpdm_file_{$id}' class='wpdm_file $template'>{$title}<div class='cont'>{$desc}{$password_field}<div class='btn_outer'><div class='btn_outer_c' style='{$bg}'><a class='btn_left $classrel $hc' rel='{$id}' title='{$data['title']}' href='$url'  >$link_label</a>";
    if($data['show_counter']!=0)
    $html .= "<span class='btn_right counter'>$data[download_count] downloads</span>";    
    else
    $html .= "<span class='btn_right'>&nbsp;</span>";             
    $html .= "</div></div><div class='clear'></div></div></div>";

and replace with:

$html = "<div id='wpdm_file_{$id}' class='wpdm_file $template'>{$title}<div class='cont'>{$desc}{$password_field}<a class='btn_left $classrel $hc' rel='{$id}' title='{$data['title']}' href='$url'  ><div class='btn_outer'><div class='btn_outer_c' style='{$bg}'>$link_label";
    if($data['show_counter']!=0)
    $html .= "<span class='btn_right counter'>$data[download_count] downloads</span>";    
    else
    $html .= "<span class='btn_right'>&nbsp;</span>";             
    $html .= "</div></div></a><div class='clear'></div></div></div>";
Sep 5, 2014 at 9:23 am
#20388
Keymaster
Shahjada
Staff

@Gonzalez74, Please give me your url to check

Sep 5, 2014 at 9:59 am
#20390
Sep 13, 2014 at 7:06 pm
#20558

I have the same issue, would love to have the whole button working to, instead of clicking just the text !!
my download page is here, thankx !

http://didiermartini.com/freesheet/

Viewing 6 posts - 1 through 6 (of 6 total)

The topic "Entire button clickable?" is closed to new replies.