1. Home
  2. ReHub Theme
  3. Advanced tips and customizations
  4. How to make grey-scale color post with expired offer

How to make grey-scale color post with expired offer

When you use theme’s Post offer system, you can find that it has expiration function. To make it works, you can fill expiration end date in Post offer section. When a post becomes expired, it will have the label “expired”. You can add additional styling and make the whole post as grey-scale color. For this, add next:

.rh-expired-class{filter: grayscale(100%);-webkit-filter: grayscale(100%);}

To make black ‘Buy’ button, add this:

.rh-expired-class .btn_offer_block{background-color:black !important}

to Theme option – General – Custom CSS.

Was this article helpful to you? Yes No

How can we help?