Change background color in categories

Hello Support Team,

I’m experiencing an issue with the category card backgrounds on my MeetingHive site (https://repetitor.ge/). The four category cards (Coaching, Mentoring, Consulting, Tutoring) should have a white background, but it’s not displaying consistently.

I’ve attempted several CSS fixes targeting the .hp-category–view-block elements and other related classes, but none have resolved the issue.

Could you please provide a CSS solution or theme fix that ensures these category cards maintain a consistent white background regardless of login status or viewing mode?

Thank you for your assistance.


Hello @Ambrosi,

As you can see in the screenshot below, the color is hardcoded in the HTML :

So there’s no way you can override this with a CSS class. You have to remove this directly from the page/html.

Unfortunately, as I am not using the same theme (meetinghive), I cannot help any further.

Hope this helps.

1 Like

Hi there, thank you so so much! Let me check!

@ihor @andrii Hi there guys. Would it be possible to give me an update about this case? As I checked, it’s a more development related topic, so please update me as soon as possible.

Hi,

Please use this CSS snippet:

.home .hp-listing-category--view-block {
	background-color: white !important;
}

Please note that it can require further customization.

​I hope this is helpful to you

Hi there,

I added the code to WordPress Customizer > CSS, but it didn’t produce any changes. Did you verify that the code works on your end? Do you have any suggestions?

I want a white background because the Prebuilt version already has one.

Cheers

@ihor @andrii any news, my friends?

Hi,

This is most likely caused by caching or third-party plugins. Please disable third-party plugins and customizations (if there are any) and check if this issue persists. If you use a caching plugin, make sure that caching is disabled for logged-in users.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.