Skip to main content

Move product description

13 years 11 months ago #78199 by mad-q
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.

13 years 11 months ago #78223 by Jerome
Replied by Jerome on topic Move product description
Hi,

First, I would recommend you to remove the CSS rule
Code:
.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
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.

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

13 years 11 months ago #78322 by mad-q
Replied by mad-q on topic Move product description
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.

13 years 11 months ago #78346 by mad-q
Replied by mad-q on topic Move product description
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.

13 years 11 months ago #78390 by Xavier
Replied by Xavier on topic Move product description
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.

13 years 11 months ago #78394 by mad-q
Replied by mad-q on topic Move product description
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.

13 years 11 months ago #78420 by Xavier
Replied by Xavier on topic Move product description
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.057 seconds
Powered by Kunena Forum