Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Myr Posted June 21, 2020 Posted June 21, 2020 Will it be possible to get color settings in the theme for the Section title/Categories? If they are currently, there, they aren't blatantly obvious. Thanks kmk 1
shiobi Posted June 21, 2020 Posted June 21, 2020 You can use the following CSS variables: --theme-section_title: background color. --theme-section_title_font: text color. :root { --theme-section_title: 255,0,0; /* red background */ --theme-section_title_font: 0,255,0; /* green text */ } https://htmlcolorcodes.com/
Rikki Posted June 22, 2020 Posted June 22, 2020 Both background and font color are available as theme settings - look for the "section title" settings on the Text tab (technically you can overwrite the CSS variables as shown above, but it isn't necessary and may be confusing later). Meddysong 1
Myr Posted June 23, 2020 Author Posted June 23, 2020 (edited) Thanks for the code. I know I can fiddle with it that way. I am just hoping for easy color selection in the settings with the other color options . It's easier to maintain. And thanks. I'll check the text tab when I get home. Edited June 23, 2020 by Myr
Myr Posted June 23, 2020 Author Posted June 23, 2020 On 6/22/2020 at 11:48 AM, Rikki said: Both background and font color are available as theme settings Found it, thanks!
Recommended Posts