- This topic has 10 replies, 2 voices, and was last updated 3 years, 3 months ago by David.
June 30, 2018 at 9:47 pm #612503Marc
I have installed Polylang for my GP site. Now having set the header background to a dark blue, when I put a header widget of Polylang: language switcher – it will display its Title in white, what I set my title colour to, but the items (different languages) still display in black, which cannot be read. One would need the header widget’s text colour to be settable but the header widget’s colours are not adjustable up to now as are side bar or footer widgets.GeneratePress 2.1.2GP Premium 1.6.2July 1, 2018 at 6:58 am #612681DavidStaffCustomer SupportJuly 1, 2018 at 7:40 am #612692Marc
I have tried with Firefox (latest) on macOS10.13 (latest), newly started so caches should be clear.
No it is not the title (language) that changes colour, but the items in the list are black below the title (English, Español, Français, Deutsch) next to the flags that I currently switched on so something is visible. The items in the list are black on the dark blue background and almost invisible therefore. If they were white like the title they would be easily readable. So maybe it would need being able to set colours in the heading widget like for the sidebar or footer widgets.
see https://www.marcheusser.com/enJuly 1, 2018 at 7:41 am #612693MarcJuly 1, 2018 at 9:11 am #612792DavidStaffCustomer SupportJuly 1, 2018 at 9:16 am #612794Marc
Perfect – silly me, sorry, thank you – new to WordPress and GeneratePress … On another note how to define set the standard color swatches below the colour selector?July 1, 2018 at 9:26 am #612798DavidStaffCustomer Support
almost everything in GP has a filter including this one for the color palette:July 1, 2018 at 9:34 am #612802Marc
Ok thank you – so I would add this filter how and where? New to using WP … Used to macOS where I would drag the colour to the swatch to change it …July 1, 2018 at 9:38 am #612810DavidStaffCustomer Support
The code is PHP and would be generally added to a Child Themes function file, but for simplicity i would use the Code Snippets plugin mentioned here:
If you’re not adverse to adding plugins for this sort of thing then this may be the one for you:July 1, 2018 at 9:57 am #612827Marc
Ok Code Snippets would work – probably I’d prefer to add a Child Theme for clarity but need to learn how to do that first.July 1, 2018 at 10:09 am #612830DavidStaffCustomer Support
This article may be of assistance:
- You must be logged in to reply to this topic.