Site logo

Archived topic

Donate block: highlight not working

5 replies · Started by mariosem on February 9, 2022

Viewing posts 1–6 of 6

Hello,

In my donation page I'm using the Jetpack donation block. Unfortunately, when a user clicks on the chosen amount, nothing happens, i.e. the highlight doesn't work. Instead, it works when a user chooses one off, monthly or yearly donation.

I've asked wordpress.com: they say I have to ask the theme developer. They suggested the following customized CSS code but there's no use:

/* Better highlighting for the donation block UI | 4765211-zen mh */
.donations__amount.is-selected, .wp-block-jetpack-donations div.donations__nav-item.is-active {
  background: #32373c;
  color: white;
}

Any suggestions?

Thanks,

Mario

Hi there,

I checked the code and don't see how this could be a theme issue.

Can you disable the caching plugins to test first?

If not does the same issue occur if you activate a Twenty series WP theme to test?

Hello,
yes, I've disabled WP-Rocket in the specific page, and nothing changes.
I agree this most likely is not a theme problem.
I'll investigate further, thanks

Mario

Sounds good.

Might be worth checking with JetPack's support team as well.

They have changed the suggested code: now it works. It wasn't a theme issue ;-)
Thanks,

Mario

Glad to hear :)

This archived topic is closed to new replies.