Join our new community forum for support & discussion

Join Now

Home Support Themes RentalHive Css snippet on categories and listings

Css snippet on categories and listings

  • Author
    Posts
  • Felo

    Hi, the CSS snippet below only works for some time then the item counts appear again. Is there a permanent way to hide it? Is it possible to also hide the type of category on every listing?

    .hp-listing-categories .hp-row > div .hp-listing-category__count{
    display: none;
    }

    yevhen developer

    Please try this CSS snippet instead

    .hp-listing-categories .hp-row > div .hp-listing-category__count{
    display: none !important;
    }

    Could you clarify where you want to hide categories? On listing block or listing page?

    Felo

    Thanks, it has worked.
    On listing block

    Felo

    Hi, the CSS snippet still not working, and the item count still appears. Should I combine it with the previous snippet?

    yevhen developer

    1) Please try this one instead https://gist.github.com/hivepress/d80c8207fe1453be83e085be9886f27a

    2) Please try this CSS snippet to hide listing categories on listings blocks

    .hp-listing--view-block .hp-listing__categories {
      display: none;
    }
Viewing 5 posts - 1 through 5 (of 5 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.