- Posts: 65
- Thank you received: 0
CSS Category Description
14 years 8 months ago #35236
by standib
CSS Category Description was created 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.
14 years 8 months ago #35260
by nicolas
Replied by nicolas on topic Re: CSS Category Description
Indeed they are not in the CSS file since HikaShop doesn't apply any styling to it by default.
You should just add it.
You should just add it.
Please Log in or Create an account to join the conversation.
14 years 8 months ago #35261
by nicolas
Replied by nicolas on topic Re: CSS Category Description
Indeed they are not in the CSS file since HikaShop doesn't apply any styling to it by default.
You should just add it.
You should just add it.
Please Log in or Create an account to join the conversation.
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:
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].
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.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 8 months ago #139056
by Mohamed Thelji
Replied by Mohamed Thelji on topic CSS Category Description
Thank you for your feedback
.
Please Log in or Create an account to join the conversation.
Time to create page: 0.185 seconds