Hi
I've noticed that the substyle colored styles inherit the htmls from the main proflat style.
I would love to have a header banner image but the unicolor image I want to use will have a color which will be pretty ugly with some of the colors available with the substyles.
For that reason, I wanted to recolor my banner image in harmony with each substyles' colors, BUT! these substyles have no html in them, just css files.
Would there be a way for each color substyle to force-feed on their own banner image please? Maybe by adding a html on each style, or manipulate some css?
Thank you in advance.h
Proflat_color specific header banner - proflat
-
- Registered User
- Posts: 6
- Joined: Sat Jun 11, 2022 8:59 pm
Re: Proflat_color specific header banner
Yes, you can add any of the HTML templates you want to add to the color-specific versions of proflat. The color-specific versions do not include any HTML templates by choice & by design, but there is no reason you cannot add them.
However, I would suggest looking into whether you can achieve applying a color-specific image selection using CSS rather than resorting to including the HTML template(s). You can just add the /template/overall_header.html and /template/overall_header.html templates to the color-specific proflat styles. But now it's your job to keep those templates updated & in sync with changes that occur in the main proflat style, from now until eternity.
That may still be preferable, or is something you already need to do for other reasons, and so it's not a problem. But if you can get your custom image applied as a CSS background to an element in the existing proflat-provided header, then your color-specific image specification can be just another one of the many color-specific selections being uniquely made across the various color-specific versions of proflat. Without having to duplicate or maintain any additional instances of the templates.
However, I would suggest looking into whether you can achieve applying a color-specific image selection using CSS rather than resorting to including the HTML template(s). You can just add the /template/overall_header.html and /template/overall_header.html templates to the color-specific proflat styles. But now it's your job to keep those templates updated & in sync with changes that occur in the main proflat style, from now until eternity.
That may still be preferable, or is something you already need to do for other reasons, and so it's not a problem. But if you can get your custom image applied as a CSS background to an element in the existing proflat-provided header, then your color-specific image specification can be just another one of the many color-specific selections being uniquely made across the various color-specific versions of proflat. Without having to duplicate or maintain any additional instances of the templates.
-
- Registered User
- Posts: 2172
- Joined: Wed Aug 15, 2018 3:23 am