Thread Starter
qwik3r
(@qwik3r)
Looking at the verbiage it see it only effects the headings inside a post:
Content Elements – in this panel you can customize the elements colors that appear only inside the content/editor area. From here you can manage the hyperlinks type and colors and adjust the headings colors.
However, how do I then override the heading for archieve colors for example or other headings that are outside a post through the customizer?
Thread Starter
qwik3r
(@qwik3r)
Figured it out. It’s in the blog post -> card options. It’s kind of hidden deep, I would think that this should be directly editable under global colors, maybe food for thought.
Hey qwik3r, great you figured it out. Should you need to create custom styling of other elements not addressed in the customizer, note that you can tage advantage of the fact that settings in the customizer are stored in css custom properties (variables), and can be referenced in css, like this:
.ct-meta-element a {
color: var(--paletteColor2);
}
Meaning that the meta link is colored whatever you choose as your second color in the customizer. A real benefit for reusable code.
/Bjarne
@bjarne,
great hint also for me.
@creativethemes: It would be great then, if there is a list/log of available CSS custom properties (variables) you defined
Best
Hey @qwik3r, actually this is not a bug, we made the options like this so you could have more control over each part of your website.
Yes, by default the posts titles are wrapped in a H2 tag but this doesn’t mean they should inherit/take the color from the H2 option that is placed in Content Elements panel, please see the description from these options.
These options are only for those headings that are inside the content/editor aria.
But you also have an option to control the post title color from Customizer -> Blog Posts -> Cards Options -> Design tab -> Title Font Color.
I know that from the first look this option may seem too hidden for you – but this way we wanted to keep everything more organized – so when you are customizing your blog cards, you have all the options you need in one panel.
And no, we don’t think this option should be a global one, simply because there could be someone that wants the headings from the content area to have one color but the headings/post titles to have a different color (everyone has different tastes).
@vallered, regarding the CSS variables (css custom properties) yes, we are using them almost everywhere in the theme but without knowing well how they work I don’t recommend playing with them because we created a complex cascade of inheritance and you may break something.
Also we don’t plan to release a documentation or list of the CSS variables we are using simply because this is the same standard css code but with dynamic values – that’s all 🙂
Hope everything is more clear now.
Cheers.