[Skip to main content](#vessel-content)

#   How to vertical align the product name in cart?

##

- **[Nagy](/forum/user/9041-nagy "View Nagy's Profile")**
- [![Nagy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9041-nagy "View Nagy's Profile") Topic Author
- [ Offline](/forum/user/9041-nagy)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 1 month ago [\#67826](#67826) by [Nagy](/forum/user/9041-nagy "View Nagy's Profile")  *[How to vertical align the product name in cart?](/forum/2-general-talk-about-hikashop/67826-how-to-vertical-align-the-product-name-in-cart#67826 "Hi! Please see the attached screenshot. Everything is aligned middle vertically but the product name. I would like to vertically align it to the middle as well but cannot do it. I tried to edit the...")* was created by *[Nagy](/forum/user/9041-nagy "View Nagy's Profile")*

Hi! Please see the attached screenshot. Everything is aligned middle vertically but the product name. I would like to vertically align it to the middle as well but cannot do it. I tried to edit the "hikashop_cart_module_product_name_value" in the pictureblue css but it didn't work. Could you please tell me how it could be done, where should I modify the code? Also, I would like to move the quantity box so that it lays in the middle under "Mennyiség". How could I do that? CSS modificatons just don't seem to work - or I screw up something.

- [ ![Cart.jpg](/forum/attachment/6011) ](/forum/attachment/6011 "Cart.jpg") [ ](/forum/attachment/6011?download=1 "Cart.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY3ODI2LWhvdy10by12ZXJ0aWNhbC1hbGlnbi10aGUtcHJvZHVjdC1uYW1lLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 1 month ago [\#67928](#67928) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to vertical align the product name in cart?](/forum/2-general-talk-about-hikashop/67826-how-to-vertical-align-the-product-name-in-cart#67928 "Hi! Please see the attached screenshot. Everything is aligned middle vertically but the product name. I would like to vertically align it to the middle as well but cannot do it. I tried to edit the...")*

Hi,

Please give a link to that page on your website so that we can give the precise CSS to use.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY3ODI2LWhvdy10by12ZXJ0aWNhbC1hbGlnbi10aGUtcHJvZHVjdC1uYW1lLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Nagy](/forum/user/9041-nagy "View Nagy's Profile")**
- [![Nagy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9041-nagy "View Nagy's Profile") Topic Author
- [ Offline](/forum/user/9041-nagy)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 1 month ago [\#67975](#67975) by [Nagy](/forum/user/9041-nagy "View Nagy's Profile")  Replied by *[Nagy](/forum/user/9041-nagy "View Nagy's Profile")* on topic *[Re: How to vertical align the product name in cart?](/forum/2-general-talk-about-hikashop/67826-how-to-vertical-align-the-product-name-in-cart#67975 "Hi! Please see the attached screenshot. Everything is aligned middle vertically but the product name. I would like to vertically align it to the middle as well but cannot do it. I tried to edit the...")*

Hi! The page is on localhost, so I cannot give you a link. But no matter which Hika style I use, the product name is vertically aligned to the top and cannot be modified. If you tell me what to modify in the pictureblue css then I can do it. Is it possible that something in the php code somewhere overwrites the css? Because I tried every kind of vertical alignment method I could find on the internet but none worked. I can modify other attributes of the product name but not the alignment. Is it possible to vertically align it in the php code?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY3ODI2LWhvdy10by12ZXJ0aWNhbC1hbGlnbi10aGUtcHJvZHVjdC1uYW1lLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 1 month ago [\#68138](#68138) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to vertical align the product name in cart?](/forum/2-general-talk-about-hikashop/67826-how-to-vertical-align-the-product-name-in-cart#68138 "Hi! Please see the attached screenshot. Everything is aligned middle vertically but the product name. I would like to vertically align it to the middle as well but cannot do it. I tried to edit the...")*

Hi,

You can't vertical align.
It could be coming from your template CSS, or another CSS on your website. Hard to say without being able to see the HTML/CSS of your website. That's why I asked for a link to it.
I can't say what could be done without being able to assess the situation.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY3ODI2LWhvdy10by12ZXJ0aWNhbC1hbGlnbi10aGUtcHJvZHVjdC1uYW1lLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Nagy](/forum/user/9041-nagy "View Nagy's Profile")**
- [![Nagy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9041-nagy "View Nagy's Profile") Topic Author
- [ Offline](/forum/user/9041-nagy)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 1 month ago [\#68328](#68328) by [Nagy](/forum/user/9041-nagy "View Nagy's Profile")  Replied by *[Nagy](/forum/user/9041-nagy "View Nagy's Profile")* on topic *[Re: How to vertical align the product name in cart?](/forum/2-general-talk-about-hikashop/67826-how-to-vertical-align-the-product-name-in-cart#68328 "Hi! Please see the attached screenshot. Everything is aligned middle vertically but the product name. I would like to vertically align it to the middle as well but cannot do it. I tried to edit the...")*

Hi,

I found out that the problem is not with the alignment. There's an empty paragraph below the product name. If I delete that row from the code with the help of Google Chrome, the product name will appear just the way it should - aligned to the middle. This is the code:

"&lt;p class="hikashop_cart_product_custom_item_fields"&gt;&lt;/p&gt;"

The question is: Where does this come from? I searched for this in the entire joomla installation but could not find it. This class is a hikashop class so it doesn't come from my own website template. Do you have any idea how to get rid of this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY3ODI2LWhvdy10by12ZXJ0aWNhbC1hbGlnbi10aGUtcHJvZHVjdC1uYW1lLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14283
-
-

14 years 1 month ago [\#68542](#68542) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: How to vertical align the product name in cart?](/forum/2-general-talk-about-hikashop/67826-how-to-vertical-align-the-product-name-in-cart#68542 "Hi! Please see the attached screenshot. Everything is aligned middle vertically but the product name. I would like to vertically align it to the middle as well but cannot do it. I tried to edit the...")*

Yes, that's easy.
Just add that CSS on your website :
.hikashop_cart_product_custom_item_fields{display:none;}

It's HikaShop which is adding that HTML, but it's your template which is creating that new line because of the CSS they use on the p elements where usually that's not the case.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY3ODI2LWhvdy10by12ZXJ0aWNhbC1hbGlnbi10aGUtcHJvZHVjdC1uYW1lLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Nagy](/forum/user/9041-nagy "View Nagy's Profile")**
- [![Nagy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/9041-nagy "View Nagy's Profile") Topic Author
- [ Offline](/forum/user/9041-nagy)

Less More

- Posts: 9
- Thank you received: 0
-
-

14 years 1 month ago [\#68609](#68609) by [Nagy](/forum/user/9041-nagy "View Nagy's Profile")  Replied by *[Nagy](/forum/user/9041-nagy "View Nagy's Profile")* on topic *[Re: How to vertical align the product name in cart?](/forum/2-general-talk-about-hikashop/67826-how-to-vertical-align-the-product-name-in-cart#68609 "Hi! Please see the attached screenshot. Everything is aligned middle vertically but the product name. I would like to vertically align it to the middle as well but cannot do it. I tried to edit the...")*

Yes, that worked. Thanks for your help Nicolas!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzY3ODI2LWhvdy10by12ZXJ0aWNhbC1hbGlnbi10aGUtcHJvZHVjdC1uYW1lLWluLWNhcnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.081 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
