Center Product Name in article

  • Posts: 4
  • Thank you received: 0
8 years 2 months ago #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!

Please Log in or Create an account to join the conversation.

  • Posts: 4
  • Thank you received: 0
8 years 2 months ago #266868

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 or Create an account to join the conversation.

  • Posts: 83989
  • Thank you received: 13604
  • MODERATOR
8 years 2 months ago #266867

Hi,

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

www.hikashop.com/support/documentation/1...the-display.html#css

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum