@chrisschauer opened this Issue on October 17th 2017

Hi all,

I already dicussed on forum.piwik.org about that: https://forum.piwik.org/t/customize-header-menu-links-color-within-a-theme/23418

I wish to have the oportunately to define the

  • header-background color
  • header-menu color
    within a theme.

But there is only the following:
<a class='mention' href='https://github.com/theme'>@theme</a>-color-header-background: #ffffff;

It would be nice to have also e.g. a
<a class='mention' href='https://github.com/theme'>@theme</a>-color-menu-text: #ffffff;

Current-version: 3.2.0


@tsteur commented on October 17th 2017 Owner

Hi there,

to understand this correctly, you want to change the text color in the header menu? Eg do a dark color because the background is eg white? Only got a little confused because both examples contain background. With menu we reference to the left reporting/admin menu which can be changed with these colors:

<a class='mention' href='https://github.com/theme'>@theme</a>-color-menu-contrast-text: <a class='mention' href='https://github.com/theme'>@theme</a>-color-text;
<a class='mention' href='https://github.com/theme'>@theme</a>-color-menu-contrast-textSelected: <a class='mention' href='https://github.com/theme'>@theme</a>-color-menu-contrast-text;
<a class='mention' href='https://github.com/theme'>@theme</a>-color-menu-contrast-textActive: <a class='mention' href='https://github.com/theme'>@theme</a>-color-brand;
<a class='mention' href='https://github.com/theme'>@theme</a>-color-menu-contrast-background: <a class='mention' href='https://github.com/theme'>@theme</a>-color-background-contrast;
@tsteur commented on October 18th 2017 Owner

FYI: I issued a PR to add <a class='mention' href='https://github.com/theme'>@theme</a>-color-header-text

@chrisschauer commented on October 18th 2017

Hi @tsteur,

sorry for confusing you. You are right - it was a typo on my side. I edited the issue text.
Thanks for the quick response and the PR. It might be useful to add also documentation on: https://developer.piwik.org/guides/theming

Thanks a lot

This Issue was closed on November 19th 2017
Powered by GitHub Issue Mirror