Move product description

  • Posts: 234
  • Thank you received: 4
11 years 11 months ago #78199

Hello,

I am trying to learn how to do things but not 100% with this one. I looked in the Display>view section for how to move the product description but no joy.

Currently my page looks like
www.draganfly.co.uk/index.php/component/hikashop/product/48-

How can I move the text please.

Iain

Please Log in or Create an account to join the conversation.

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #78223

Hi,

First, I would recommend you to remove the CSS rule

.hikashop_product_main_image_thumb img {
width: 350px !important;
height: 230px !important;
align: left;
}
from your custom frontend css.
If you want to change the size of the thumbnail, you can change the "Product page image width/height" in the "System > Configuration > File > Images " section.

About your product show view question.
You have to edit the view "product | show_default" for the template "siteground-j16-7".

In this view, you would find this code
  <div id="hikashop_product_description_main" class="hikashop_product_description_main">
    <?php
    //DISPLAY the product description
    echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description));
    ?>
  </div>
which display the product description in the page.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 234
  • Thank you received: 4
11 years 11 months ago #78322

Thank you for the help, I have made my pages look much better now.

Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 234
  • Thank you received: 4
11 years 11 months ago #78346

How can I get it to only re size the product thumbnails rather than the category ones as well?

Thanks Iain

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #78390

Hi,

You can apply a css property on this class: ".hikashop_product_main_image{}" and change only the height value.

Please Log in or Create an account to join the conversation.

  • Posts: 234
  • Thank you received: 4
11 years 11 months ago #78394

Forgive me, isn't this what Jerome suggested I removed? I have no problem with the main image but with the thumbnails. When I had the CSS adjusting the thumb image size the product text was underneath the thumbnail.

Iain

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 11 months ago #78420

I was thinking that you were talking about the main.

For the thumbnails, you can change the thumbnails size, but you have to apply the css property on the div of the image, not just on the image.
And set only the width or the height, else the image will not be well proportioned.

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum