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

#   price not centered

##

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

Less More

- Posts: 5
- Thank you received: 0
-
-

14 years 6 months ago [\#48355](#48355) by [miracell](/forum/user/7176-miracell "View miracell's Profile")  *[price not centered](/forum/4-how-to/48355-price-not-centered#48355 "I've set the menu item to type &quot;Products listing&quot; using mode 'div' to take me to the page with the products.  When I set the text to not centered, the text description formats correctly, but the price of the product which appears under the image is left justified. I want it centered under the product, similar to the 'add to cart' button. Where can I set this?  (I didn't find anything on the forums and have tried both the 'built-in' template with Joomla and the Artisteer template we're using)")* was created by *[miracell](/forum/user/7176-miracell "View miracell's Profile")*

I've set the menu item to type "Products listing" using mode 'div' to take me to the page with the products.

When I set the text to not centered, the text description formats correctly, but the price of the product which appears under the image is left justified. I want it centered under the product, similar to the 'add to cart' button. Where can I set this?

(I didn't find anything on the forums and have tried both the 'built-in' template with Joomla and the Artisteer template we're using)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4MzU1LXByaWNlLW5vdC1jZW50ZXJlZD90bXBsPW1hcmtkb3du) 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: 14284
-
-

14 years 6 months ago [\#48392](#48392) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: price not centered](/forum/4-how-to/48355-price-not-centered#48392 "I've set the menu item to type &quot;Products listing&quot; using mode 'div' to take me to the page with the products.  When I set the text to not centered, the text description formats correctly, but the price of the product which appears under the image is left justified. I want it centered under the product, similar to the 'add to cart' button. Where can I set this?  (I didn't find anything on the forums and have tried both the 'built-in' template with Joomla and the Artisteer template we're using)")*

Can you give a link to your page so that we can see that ?

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

14 years 6 months ago -  14 years 6 months ago [\#48394](#48394) by [miracell](/forum/user/7176-miracell "View miracell's Profile")  Replied by *[miracell](/forum/user/7176-miracell "View miracell's Profile")* on topic *[Re: price not centered](/forum/4-how-to/48355-price-not-centered#48394 "I've set the menu item to type &quot;Products listing&quot; using mode 'div' to take me to the page with the products.  When I set the text to not centered, the text description formats correctly, but the price of the product which appears under the image is left justified. I want it centered under the product, similar to the 'add to cart' button. Where can I set this?  (I didn't find anything on the forums and have tried both the 'built-in' template with Joomla and the Artisteer template we're using)")*

You can see the product page at [ www.calmear.com/new/buy-calm-ear](https://www.calmear.com/new/buy-calm-ear) (We're upgrading from the old site, hence the /new)

Last edit: 14 years 6 months ago by [miracell](/forum/user/7176-miracell "View miracell's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4MzU1LXByaWNlLW5vdC1jZW50ZXJlZD90bXBsPW1hcmtkb3du) 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: 14284
-
-

14 years 6 months ago [\#48399](#48399) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: price not centered](/forum/4-how-to/48355-price-not-centered#48399 "I've set the menu item to type &quot;Products listing&quot; using mode 'div' to take me to the page with the products.  When I set the text to not centered, the text description formats correctly, but the price of the product which appears under the image is left justified. I want it centered under the product, similar to the 'add to cart' button. Where can I set this?  (I didn't find anything on the forums and have tried both the 'built-in' template with Joomla and the Artisteer template we're using)")*

Just add that CSS:
span.hikashop_product_price_full {
text-align: center !important;
}
in the frontend CSS file of HikaShop via the Display tab of the configuration, save the configuration, clean your browser's cache and it should display as you want.

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

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

Less More

- Posts: 5
- Thank you received: 0
-
-

14 years 6 months ago [\#48405](#48405) by [miracell](/forum/user/7176-miracell "View miracell's Profile")  Replied by *[miracell](/forum/user/7176-miracell "View miracell's Profile")* on topic *[Re: price not centered](/forum/4-how-to/48355-price-not-centered#48405 "I've set the menu item to type &quot;Products listing&quot; using mode 'div' to take me to the page with the products.  When I set the text to not centered, the text description formats correctly, but the price of the product which appears under the image is left justified. I want it centered under the product, similar to the 'add to cart' button. Where can I set this?  (I didn't find anything on the forums and have tried both the 'built-in' template with Joomla and the Artisteer template we're using)")*

Thanks!

I found the _price_full code was already in the file, so I just added the "!important" to the existing text-align. Not sure what was overriding it, but it works great.

span.hikashop_product_price_full{
text-align: center !important;
font-weight:bold;
display:block;
margin-bottom:5px;
}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzQ4MzU1LXByaWNlLW5vdC1jZW50ZXJlZD90bXBsPW1hcmtkb3du) 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.055 seconds

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