zencart更改css按钮的宽度css buttons

includes\functions\html_output.php

大概323行的zenCssButton函数

  function zenCssButton($image = '', $text, $type, $sec_class = '', $parameters = '') {

    // automatic width setting depending on the number of characters
    $min_width = 80; // this is the minimum button width, change the value as you like
    //$character_width = 6.5; // change this value depending on font size!
    $character_width = 8.5; // change this value depending on font size!

修改其中的

$min_width = 80;
$character_width = 8.5;

为你自己满意的值即可。



posted @ 2014-11-29 17:14  小鱼阁工作室  阅读(447)  评论(0编辑  收藏  举报
Copyright © 小鱼阁工作室 版权所有 -zencart外贸建站,织梦企业建站,ecshop商城,二次开发,产品采集,模板修改!