Skip to main content

how can i move the description of a product

More
12 years 2 months ago #163018 by gkassos
-- Joomla version -- : 3.2

how can i move the description of a product?just look at the pic what i mean!
also i would like to know if i can make a framework and put inside the description. thats my last question. tnx. Hikashop is the best tool !

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

More
12 years 2 months ago #163025 by nicolas
Hi,

If you want to move the produt description, you need to edit the file show_default via the menu Display>Views.
www.hikashop.com/forum/2-general-talk-ab...ove-add-to-cart.html

What do you mean by "make a framework" ? Could you give an example ?

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

More
12 years 2 months ago #163255 by gkassos
i mean to put the description in a box like the image

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

More
12 years 2 months ago #163257 by gkassos
Also couls you tell me what should i do in show_dafault code?could u help me at this?

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

More
12 years 2 months ago #163260 by Mohamed Thelji
Hello,
The solution will be to move these lines :
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>
Just after this line :
Code:
<div id="hikashop_product_right_part" class="hikashop_product_right_part span6">

And regarding the "Framework" the solution will probably be to use some CSS code : www.hikashop.com/support/documentation/1...the-display.html#css

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

More
12 years 2 months ago #163411 by gkassos
i moved the description right. tnx for this. i try to put a box to description with this code
div {
width: 220px;
padding: 10px;
border: 5px solid gray;
margin: 0px;
}

I put it on css front_end file. i found the description lines and i wrote this code. but nothing happened. :S

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

More
12 years 2 months ago #163413 by Xavier
Hi,

First of all it's better to apply the css property on the following class "hikashop_product_description_main".
Are you sure that you are using the default frontend css file from HikaShop ? In Configuration > Display > CSS.
If it is selected, so you can apply properties in that file, to force the use of your properties, you can use the "!important" word after each css properties, like:
Code:
.hikashop_product_description_main{ width: 220px !important; padding: 10px !important; border: 5px solid gray !important; margin: 0px !important; }

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

Time to create page: 0.193 seconds
Powered by Kunena Forum