Skip to main content

How to change the size of the product title

More
2 years 5 days ago #363335 by sophiez
-- HikaShop version -- : 5.1.0

I'm trying to change the size of the product title when the details are shown. I used the developer tool and found out that the hikashop_product_name_main class is used but I cannot find it in the frontend css file.

I attached a screenshot from the demo side showing which title (brown shoes) I would like to change.

Any help would be very much appreciated


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

More
2 years 5 days ago #363339 by nicolas
Hi,

You can't find any CSS for it because there is none by default.
But you can add your own CSS code for that class.
For example, you could add:
Code:
.hikashop_product_name_main{ color: red; }
Now, instead of adding this code in the CSS of HikaShop, the best is to add it to your Joomla template.
Many templates provide the possibility to add custom CSS, one way or another. So I would recommend adding it there if possible.
If not, you can always follow the instructions here to add it to HikaShop's CSS:
www.hikashop.com/support/documentation/1...ize-the-display.html
The following user(s) said Thank You: sophiez

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

More
2 years 2 days ago #363393 by sophiez
thank you. I manage to create a custom css file and add the appropriate style. All good now,.
The following user(s) said Thank You: nicolas

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

Time to create page: 0.193 seconds
Powered by Kunena Forum