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;
为你自己满意的值即可。
转载请注明出处!小鱼阁工作室 -专注zencart建站,织梦企业建站,ecshop商城,二次开发,产品采集,模板修改!技术QQ 631992791