Jump to content

4.5 Beta 3 - Color Section titles/Categories/whatever


Recommended Posts

Posted

Will it be possible to get color settings in the theme for the Section title/Categories?

image.png.e1b0f041ae5f5ce69c9daaf6dfcfd13f.png

If they are currently, there, they aren't blatantly obvious.

Thanks

 

Posted

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/

Posted

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).

Posted (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 by Myr
Posted
On 6/22/2020 at 11:48 AM, Rikki said:

Both background and font color are available as theme settings

Found it, thanks!

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...