Product detail: Photo and text

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Product detail: Photo and text

MarioF
Hi all,

In the product detail view the product's image and the product's info are not good aligned.

We can see this here:

http://ofbiz-vm.apache.org/ecommerce/products/PROMOTIONS/p_ENCHILADAS

And here:

http://ofbiz-vm.apache.org/ecommerce/products/PROMOTIONS/p_PC001


The text of, for example, Enchiladas is not at the same vertical position that the photo. This makes an ugly blank space under the product photo. I tried to move the text information to the top, but when I go to productdetail.ftl I see this:


So, why is it this happening? Anyone knows how to fix this?

Thanks in advance,
Mario.
Reply | Threaded
Open this post in threaded view
|

Re: Product detail: Photo and text

MarioF
Any idea? I cannot move the text information in the product detail. Although we have
 the information appears down left.



MarioF wrote
Hi all,

In the product detail view the product's image and the product's info are not good aligned.

We can see this here:

http://ofbiz-vm.apache.org/ecommerce/products/PROMOTIONS/p_ENCHILADAS

And here:

http://ofbiz-vm.apache.org/ecommerce/products/PROMOTIONS/p_PC001


The text of, for example, Enchiladas is not at the same vertical position that the photo. This makes an ugly blank space under the product photo. I tried to move the text information to the top, but when I go to productdetail.ftl I see this:


So, why is it this happening? Anyone knows how to fix this?

Thanks in advance,
Mario.
Reply | Threaded
Open this post in threaded view
|

Re: Product detail: Photo and text

Jacques Le Roux
Administrator
It could be certainly improved, but be carefull with this. We have already seen some problems with the layer there some months ago.
In any case, if you find a good solution, please create a Jira and attach a patch
http://cwiki.apache.org/confluence/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Thanks

Jacques

From: "MarioF" <[hidden email]>

>
> Any idea? I cannot move the text information in the product detail. Although
> we have <td align="right" valign="top"> the information appears down left.
>
>
>
>
> MarioF wrote:
>>
>> Hi all,
>>
>> In the product detail view the product's image and the product's info are
>> not good aligned.
>>
>> We can see this here:
>>
>>  http://ofbiz-vm.apache.org/ecommerce/products/PROMOTIONS/p_ENCHILADAS
>> http://ofbiz-vm.apache.org/ecommerce/products/PROMOTIONS/p_ENCHILADAS 
>>
>> And here:
>>
>>  http://ofbiz-vm.apache.org/ecommerce/products/PROMOTIONS/p_PC001
>> http://ofbiz-vm.apache.org/ecommerce/products/PROMOTIONS/p_PC001 
>>
>>
>> The text of, for example, Enchiladas is not at the same vertical position
>> that the photo. This makes an ugly blank space under the product photo. I
>> tried to move the text information to the top, but when I go to
>> productdetail.ftl I see this:
>>
>> <td align="right" valign="top">
>>
>> So, why is it this happening? Anyone knows how to fix this?
>>
>> Thanks in advance,
>> Mario.
>>
>
> --
> View this message in context: http://n4.nabble.com/Product-detail-Photo-and-text-tp1565793p1567098.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Reply | Threaded
Open this post in threaded view
|

Re: Product detail: Photo and text

Deepak Dixit-2
In reply to this post by MarioF
Hi MarioF,

If you want to display text at top then you have to set style "
vertical-align:top;" for respective td.

And iff you want to set it for all td then add it to ecommain.css line
no 84

{code}

th, td {padding:.2em 1em;text-align:left;vertical-align:top;}

{code}


Thanks & Regards
--
Deepak Dixit
HotWax Media Pvt. Ltd.
Website :- www.hotwaxmedia.com
Contact :- +91-98267-54548


MarioF wrote:

> Any idea? I cannot move the text information in the product detail. Although
> we have <td align="right" valign="top"> the information appears down left.
>
>
>
>
> MarioF wrote:
>  
>> Hi all,
>>
>> In the product detail view the product's image and the product's info are
>> not good aligned.
>>
>> We can see this here:
>>
>>  http://ofbiz-vm.apache.org/ecommerce/products/PROMOTIONS/p_ENCHILADAS
>> http://ofbiz-vm.apache.org/ecommerce/products/PROMOTIONS/p_ENCHILADAS 
>>
>> And here:
>>
>>  http://ofbiz-vm.apache.org/ecommerce/products/PROMOTIONS/p_PC001
>> http://ofbiz-vm.apache.org/ecommerce/products/PROMOTIONS/p_PC001 
>>
>>
>> The text of, for example, Enchiladas is not at the same vertical position
>> that the photo. This makes an ugly blank space under the product photo. I
>> tried to move the text information to the top, but when I go to
>> productdetail.ftl I see this:
>>
>> <td align="right" valign="top">
>>
>> So, why is it this happening? Anyone knows how to fix this?
>>
>> Thanks in advance,
>> Mario.
>>
>>    
>
>  


Reply | Threaded
Open this post in threaded view
|

Re: Product detail: Photo and text

MarioF
Thanks Deepak with that I could remove the blank space under the photos.