Site logo

Archived topic

Custom Accent color not being used by plugin

3 replies · Started by Philippe on February 3, 2023

Viewing posts 1–4 of 4

Hi there,

I changed the default global colors (Their name and color value).
I still have for example an accent color.

I installed the plugin events manager which is supposed to adjust to the styling of the website.
Within the webdev tools I saw that the button on the top right corner of the events page has the color var(--accent-color) assigned to it.

But this color (--accent-color) is none of my newly created global colors. I think it's some sort of default colors of generatepress.
I would like the button to look like all the other buttons on my website.

Best,
Philippe

Hi Philippe,

GP doesn't have a default global color named -accent-color, it's from the plugin itself:
https://www.screencast.com/t/209EUuwDf4Pl

Can you try reaching out to the plugin's support for how to change their color?

You are absolutly right. Sorry for not having take a closer look. In case somebody is intrested:

body .em.pixelbones{
 --accent-color:var(--accent);
 --accent-color-hover:var(--accent2);
}

Replace --accent and --accent2 with your custom global color.

Awesome :)

This archived topic is closed to new replies.