Hi all,
I'm brand new to developing so go easy on me!
Basically I have some unwanted line spacing in wysiwyg using Magento.
First screenshot shows the code, second screenshot shows the result and unwanted space between header and bullets:
Any advice / teachings would be greatly appreciated,
Gracias amigos y amigas
Hello,
If you can provide the url, more help can be provided.
For css issues it is best to use firebug tool or inspect element on any browser.
This seems to be css issue, it can be checked easily through these tools.
Open up this file: app/design/frontend/rwd/{THEME_NAME}/template/catalog/product/view.phtml
If it does not exist, copy it to your local theme from: app/design/frontend/rwd/default/template/catalog/product/view.phtml
You'll find in this file, these lines:
<?php if ($_product->getShortDescription()):?> <div class="short-description"> <div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div> </div> <?php endif;?>
Remove the "nl2br" PHP call that is in there prior to fetching the short description:
<?php if ($_product->getShortDescription()):?> <div class="short-description"> <div class="std"><?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?></div> </div> <?php endif;?>