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

#   Center Product Name in article

##

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

Less More

- Posts: 4
- Thank you received: 0
-
-

9 years 6 months ago [\#266866](#266866) by [jasonladue](/forum/user/7854-jasonladue "View jasonladue's Profile")  *[Center Product Name in article](/forum/26-product-category-display/889709-center-product-name-in-article#266866 "-- url of the page with the problem -- :   cardtrailer.jtlwebdesign.com  -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Google Chrome, Safari Mobile  I'm trying to setup a featured products section on our homepage by using the editor button in the article. I'm putting the products in a 2x2 table. I have the table cells to align center. Currently, the image and price are centered, but the product name is aligning left. On mobile view, this is not a major issue but when viewing from a desktop, it is really making a mess with my layout.  Here is a screencap of the issue.   gyazo.com/6b08d7bff4f603be75d4f04263bbb254  The site is at   cardtrailer.jtlwebdesign.com  Currently, the top left product is provided via Hikashop. The other 3 are there from MijoShop (I'm switching this system over to Hikashop as I like it's backend and documentation/support better).  Any advice that can be provided would be greatly appreciated!")* was created by *[jasonladue](/forum/user/7854-jasonladue "View jasonladue's Profile")*

-- url of the page with the problem -- : [ cardtrailer.jtlwebdesign.com](http://cardtrailer.jtlwebdesign.com)
-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6
-- Browser(s) name and version -- : Google Chrome, Safari Mobile

I'm trying to setup a featured products section on our homepage by using the editor button in the article. I'm putting the products in a 2x2 table. I have the table cells to align center. Currently, the image and price are centered, but the product name is aligning left. On mobile view, this is not a major issue but when viewing from a desktop, it is really making a mess with my layout.

Here is a screencap of the issue.
[ gyazo.com/6b08d7bff4f603be75d4f04263bbb254](https://gyazo.com/6b08d7bff4f603be75d4f04263bbb254)

The site is at [ cardtrailer.jtlwebdesign.com](http://cardtrailer.jtlwebdesign.com)

Currently, the top left product is provided via Hikashop. The other 3 are there from MijoShop (I'm switching this system over to Hikashop as I like it's backend and documentation/support better).

Any advice that can be provided would be greatly appreciated!

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

9 years 6 months ago [\#266868](#266868) by [jasonladue](/forum/user/7854-jasonladue "View jasonladue's Profile")  Replied by *[jasonladue](/forum/user/7854-jasonladue "View jasonladue's Profile")* on topic *[Center Product Name in article](/forum/26-product-category-display/889709-center-product-name-in-article#266868 "-- url of the page with the problem -- :   cardtrailer.jtlwebdesign.com  -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Google Chrome, Safari Mobile  I'm trying to setup a featured products section on our homepage by using the editor button in the article. I'm putting the products in a 2x2 table. I have the table cells to align center. Currently, the image and price are centered, but the product name is aligning left. On mobile view, this is not a major issue but when viewing from a desktop, it is really making a mess with my layout.  Here is a screencap of the issue.   gyazo.com/6b08d7bff4f603be75d4f04263bbb254  The site is at   cardtrailer.jtlwebdesign.com  Currently, the top left product is provided via Hikashop. The other 3 are there from MijoShop (I'm switching this system over to Hikashop as I like it's backend and documentation/support better).  Any advice that can be provided would be greatly appreciated!")*

UPDATE: Although I am still curious about aligning the text placed with the content Editor button in articles, I have resolved this issue. I was able to get the Hikashop module to do our featured products by adding a category called "Featured" that any products we want to feature, we can add the Featured category to its settings along with its actual category.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODk3MDktY2VudGVyLXByb2R1Y3QtbmFtZS1pbi1hcnRpY2xlP3RtcGw9bWFya2Rvd24=) 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: 86322
- Thank you received: 14279
-
-

9 years 6 months ago [\#266867](#266867) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Center Product Name in article](/forum/26-product-category-display/889709-center-product-name-in-article#266867 "-- url of the page with the problem -- :   cardtrailer.jtlwebdesign.com  -- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5 -- PHP version -- : 5.6 -- Browser(s) name and version -- : Google Chrome, Safari Mobile  I'm trying to setup a featured products section on our homepage by using the editor button in the article. I'm putting the products in a 2x2 table. I have the table cells to align center. Currently, the image and price are centered, but the product name is aligning left. On mobile view, this is not a major issue but when viewing from a desktop, it is really making a mess with my layout.  Here is a screencap of the issue.   gyazo.com/6b08d7bff4f603be75d4f04263bbb254  The site is at   cardtrailer.jtlwebdesign.com  Currently, the top left product is provided via Hikashop. The other 3 are there from MijoShop (I'm switching this system over to Hikashop as I like it's backend and documentation/support better).  Any advice that can be provided would be greatly appreciated!")*

Hi,

You can add such CSS:
span.hikashop_product_name {
text-align: center !important;
}

[ www.hikashop.com/support/documentation/1...the-display.html#css](https://www.hikashop.com/support/documentation/153-customize-the-display.html#css)

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

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

[](#top)
