Home Forums Basel support forum Category page: Change color/border of category images

Category page: Change color/border of category images

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8378

    mobiflora
    Participant

    Hi XTEMOS,

    how can I change the background color used for category images on category pages to white?
    And how to set a rounded border for each category show?

    I’ve used

    .product-category-thumbnail {
    background: white;
    border-radius: 20px;
    border-left:1px solid #efefef;
    border-right:1px solid #efefef;
    border-top:1px solid #efefef;
    border-bottom:1px solid #efefef;
    margin: 0;
    padding: 10px;

    }

    but this does not seem to work. Also there seems to be so, black background which is not effected.

    Thanks for your help

    Till

    #8379

    Artem Temos
    Keymaster

    Hello,

    Try to use the following CSS code for this task

    .cat-design-alt .category-link {
    	background:white;
    }
    
    .cat-design-alt .category-link img {
      border-radius:50%;
    }

    Regards

    #8380

    mobiflora
    Participant

    awesome!

    Thanks again – great support!

    Happy new year!

    Till

    #8381

    Artem Temos
    Keymaster

    Happy New Year! 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Category page: Change color/border of category images’ is closed to new replies.