Mozilla Firefox & Safariで商品ページの表示ズレ(ゼンカート)
ZenCartでMozilla Firefox & Safariで商品ページの表示ズレ回避方法
includes/templates/template_default/templates/内の
(オーバーライドしていたら includes/templates/テンプレート名/templates/になります。)
tpl_document_general_info_display.php
tpl_document_product_info_display.php
tpl_product_free_shipping_info_display.php
tpl_product_info_display.php
tpl_product_music_info_display.php
以上5個のファイル内の
<!--bof Product description -->
<?php if ($products_description != '') { ?>
<div id="productDescription" class="docGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<?php } ?>
<!--eof Product description -->
を
<!--bof Product description -->
<?php if ($products_description != '') { ?>
<br class="clearBoth" /><div id="productDescription" class="docGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<?php } ?>
<!--eof Product description -->
ようするに、DIV タグの前に<br class="clearBoth" />を入れれば表示される
ちなみに、あっているかどうかは知らないがこれでちゃんと表示されるからいいとするw
includes/templates/template_default/templates/内の
(オーバーライドしていたら includes/templates/テンプレート名/templates/になります。)
tpl_document_general_info_display.php
tpl_document_product_info_display.php
tpl_product_free_shipping_info_display.php
tpl_product_info_display.php
tpl_product_music_info_display.php
以上5個のファイル内の
<!--bof Product description -->
<?php if ($products_description != '') { ?>
<div id="productDescription" class="docGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<?php } ?>
<!--eof Product description -->
を
<!--bof Product description -->
<?php if ($products_description != '') { ?>
<br class="clearBoth" /><div id="productDescription" class="docGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<?php } ?>
<!--eof Product description -->
ようするに、DIV タグの前に<br class="clearBoth" />を入れれば表示される
ちなみに、あっているかどうかは知らないがこれでちゃんと表示されるからいいとするw

コメントする