Category name style

  • Posts: 3
  • Thank you received: 0
11 years 4 months ago #109477

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

.hikashop_category_name {color: red;}
without success.
How can I do it?
Thank you.

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

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
11 years 4 months ago #109479

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.

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

  • Posts: 3
  • Thank you received: 0
11 years 4 months ago #109492

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

<!-- 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.

  • Posts: 82758
  • Thank you received: 13346
  • MODERATOR
11 years 4 months ago #109513

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.059 seconds
Powered by Kunena Forum