- Posts: 3
- Thank you received: 0
Category name style
13 years 4 months ago #109477
by andrea74
Category name style was created by andrea74
Hello, has described in the tutorial "
Customize the display
" , I try to change the style for the category name in the listing_img_title page (style hikashop_category_name), but I can't find it in the CSS file.
I also tried to apply a new line at the end of CSS file
without success.
How can I do it?
Thank you.
I also tried to apply a new line at the end of CSS file
Code:
.hikashop_category_name {color: red;}
How can I do it?
Thank you.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #109479
by nicolas
Replied by nicolas on topic Category name style
Hi,
Adding a new line like you indeed is indeed the way to go.
Just make sure that you saved the configuration and that you refreshed your browser's cache or you might not see the modification.
Adding a new line like you indeed is indeed the way to go.
Just make sure that you saved the configuration and that you refreshed your browser's cache or you might not see the modification.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #109492
by andrea74
Replied by andrea74 on topic Category name style
Dear nicolas, thank you for the answer.
Unfortunately the rule does not apply and the category name text doesn't change in red color: all other types of customization seems to works fine.
It' s very strange....
I know is not the right way to work, but I also tried to apply the class directly in the listing_img_desc.php file
But same result.
Unfortunately the rule does not apply and the category name text doesn't change in red color: all other types of customization seems to works fine.
It' s very strange....
I know is not the right way to work, but I also tried to apply the class directly in the listing_img_desc.php file
Code:
<!-- CATEGORY NAME -->
<span style="color: red;">
<a href="<?php echo $link;?>">
<?php
echo $this->row->category_name;
if($this->params->get('number_of_products',0)){
echo ' ('.$this->row->number_of_products.')';
}
?>
</a>
</span>
But same result.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #109513
by nicolas
Replied by nicolas on topic Category name style
Can you give a link to that page so that we can see that ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds