News:

Support the VirtueMart project and become a member

Main Menu

Remove line bellow brand?

Started by MaHe29, February 10, 2012, 12:23:30 PM

Previous topic - Next topic

MaHe29

I hope someone can help me out on this one.
On the product page, underneath the brand link. The page shows a small line (as seen in the attachment) I want to get rid of this line, but I can't find out what part of the HTML code I need to delete.
Bellow you find the part of code that shows the manufacturer in productdetails/default.php


// Manufacturer of the Product
            if(VmConfig::get('show_manufacturer', 1) && !empty($this->product->virtuemart_manufacturer_id)) { ?>
            <div class="manufacturer">
            <?php
               $link = JRoute::_('index.php?option=com_virtuemart&view=manufacturer&virtuemart_manufacturer_id='.$this->product->virtuemart_manufacturer_id.'&tmpl=component');
               $text = $this->product->mf_name;

               /* Avoid JavaScript on PDF Output */
               if (strtolower(JRequest::getWord('output')) == "pdf"){
                  echo JHTML::_('link', $link, $text);
               } else { ?>
                  <span class="bold"><?php echo JText::_('COM_VIRTUEMART_PRODUCT_DETAILS_MANUFACTURER_LBL') ?></span><a class="modal" rel="{handler: 'iframe', size: {x: 700, y: 550}}" href="<?php echo $link ?>"><?php echo $text ?></a>
            <?PHP } ?>
            </div>
            <?php } ?>

         </div>
      </div>
      <div class="clear"></div>
   </div>

   <?php
   if (!empty($this->product->customfields)) { ?>
      <div class="product-fields">
      <?php
      $custom_title = null ;
      foreach ($this->product->customfields as $field){
         ?><div style="display:inline-block;" class="product-field product-field-type-<?php echo $field->field_type ?>">
         <?php if ($field->custom_title != $custom_title) { ?>
            <span class="product-fields-title" ><b><?php echo JText::_($field->custom_title); ?></b></span>
            <?php if ($field->custom_tip) echo JHTML::tooltip($field->custom_tip,  JText::_($field->custom_title), 'tooltip.png');
         } ?>
         <span class="product-field-display"><?php echo $field->display ?></span>
         <span class="product-field-desc"><?php echo jText::_($field->custom_field_desc) ?></span>
         </div>
         <?php
         $custom_title = $field->custom_title;
      } ?>
      </div><br />
      <?php
   } // Product custom_fields END ?>


[attachment cleanup by admin]

MaHe29


jenkinhill

Did you look at the code/css with FireBug?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

dontflinch

better than firebug is google chrome inspector.
find that element then look for a border