How to change header colour
How to change header colour
parana55
Posts: 1Questions: 1Answers: 0
Hi the standard is pale blue and I want to change this. I'm not a techy, please how do I change the header color pls
Thanks, Michelle
This discussion has been closed.
Answers
Do you mean the sort icon? Its an image, so you'd open up Paint / Photoshop / whatever and modify it to whatever you want.
If you mean the how header cell:
should be all that is needed (obviously changing the colour as you need).
Allan
where is that script? can't seem to find it...
What script are you looking for?
Kevin
I think he was talking about the pdf export head and foot color. I was wondering about that myself. It seems it always does the pale blue and if I change it I only change the background of the lettering in the cells and not the whole row. It looks odd so I left it the blue color. If there's another option I'd sure appreciate it.
Hi @Kylar ,
You can change the colour in the
customize
function, like this here. See full options here.Cheers,
Colin
@colin I'm honestly not great with JS so I've not been able to get this to work. Currently this is my code. I think it's possibly only taking my first customize function and ignoring everything thereafter.
Also, is there a specific order the dtOptions need to go in? (in general question)
Hi @Kylar ,
Yep, you need to merge the code into a single customize block, something like this:
Also, your middle
alignment
was in the wrong place, fixed in the above,Cheers,
Colin
Hey @colin
I ended up doing it like this before I even got your reply lol
However, Can you help me center the columns/column content as well as change the footer color? I'd appreciate it.
Scratch that. I figured it out. Just manipulated it looping and did .length for the footer