Skip to main content

CSS Category Description

More
14 years 8 months ago #35236 by standib
I am trying to enlarge the font for the category description on my product listing page. I cannot find the css. My property inspector says it is under the DIV's 'hikashop_category_description' and 'hikashop_category_description_content' but I don't see those div's anywhere in the css file or views. Can you tell me where to change the font?

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

More
14 years 8 months ago #35260 by nicolas
Indeed they are not in the CSS file since HikaShop doesn't apply any styling to it by default.
You should just add it.

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

More
14 years 8 months ago #35261 by nicolas
Indeed they are not in the CSS file since HikaShop doesn't apply any styling to it by default.
You should just add it.

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

More
12 years 8 months ago - 12 years 8 months ago #139041 by 3rx
Replied by 3rx on topic CSS Category Description
It's an old post, but here goes if anyone else also struggled with this.

I added [hikashop_category_description_content] to the Custom.css (gets created once you fiddle with CSS in HikaShop) and configured the "<p>" style's format, as a nested element in the "<div>", as follows:
Code:
div.hikashop_category_description_content, .hikashop_category_description_content p { font-family:Verdana,Arial,Helvetica,sans-serif; font-size:30px; padding-top : 20px; padding-left : 5px; clear:both; padding-bottom : 20px; text-align:left; float:left; background-color:#FFFFFF; display:block; width:100%; }

If you inspect your CSS, the formatting is directed via the DIV to the "<p>" containing your category description, associated with the class[hikashop_category_description_content].
Last edit: 12 years 8 months ago by 3rx.
The following user(s) said Thank You: Mohamed Thelji

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

More
12 years 8 months ago #139056 by Mohamed Thelji
Thank you for your feedback :).

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

Time to create page: 0.185 seconds
Powered by Kunena Forum