CSS Category Description

  • Posts: 65
  • Thank you received: 0
12 years 11 months ago #35236

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.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
12 years 11 months ago #35260

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.

  • Posts: 83024
  • Thank you received: 13403
  • MODERATOR
12 years 11 months ago #35261

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.

  • Posts: 4
  • Thank you received: 2
10 years 11 months ago #139041

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:

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: 10 years 11 months ago by 3rx.
The following user(s) said Thank You: Mohamed Thelji

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

  • Posts: 12953
  • Thank you received: 1778
10 years 11 months ago #139056

Thank you for your feedback :).

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

Time to create page: 0.082 seconds
Powered by Kunena Forum