News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Product description

Started by kaleske, February 16, 2012, 17:55:07 PM

Previous topic - Next topic

kaleske

Hello all!
I have question if i want to change description word to other position what have i to do? Sorry for my english. Picture below

[attachment cleanup by admin]

chocolatepudding

#1
Hello,

I was not able to open the picture.

I would suggest that you create a div around the product description in your flypage:

<div id="productDescription"><?php echo $product_description ?></div>

Position the div in theme.css. Example:

#productDescription {
position: absolute;
left: 30px;
top: 500px;
}


using position:absolute will position your div 30px from the left and 500px from the top of the page.

#productDescription {
position: relative;
left: 30px;
top: -50px;
}


using position:relative will position your div relative to its current position. So, your div will move 30px right from its current position, and 50px higher since we set a negative value. If we set it to left: -30px it would move 30px left relative to its current position/ top:50px, it would move 50px down.

#productDescription {
margin-top: 20px;
margin-left: 10px;
margin-right: 30px;
margin-bottom: 50px;
}


Positioning using margin will position your div 20px from the element above, 10px from the left, 30px to the right and 50px to the element under it. if you want your div to be centred, set 'auto' for the left and right margins.

check w3schools.com for css tips.

Hope this helps!!


kaleske

#2
i will try this. Thanks. Yes it relly helped. Thank you very much ;)