Forum Discussion
I know this is a really old post lol but it worked for changing the background color on my home page for reports. I'm trying to figure out how to change the font color too but I'm not sure how. I haven't been able to find any resources to help me understand the code that posted above. I actually couldn't find any other help articles at all on this.
Any ideas?
It is not clear what you are asking here. You seem to be saying that you managed to change the background shading, but cannot understand how to change the font color. We would need to know what report type you are using (Table or Summary Report?), and see a screen shot of what you gave so far and what your current formula is that is partially workring.
- arovney10 months agoQrew Member
Hi, Thanks!
You have it right. Here is a little more info:
- They aren't summary reports but they are full reports filtered to the user. The reports are displayed on a homepage. I attached the screenshot.
- I tried to include other CSS elements in the same script on the code page I created. When that didn't work I created a second code page and just started playing around with the CSS color. Here is what I have right now for font color:
- There are quotes around red on the last two. I've tried this with quotes on all, without quotes on all and then just the below to see if the first table would change. I've also tried the hexcode
<script>
var $ = window.parent.$;
$(function () {
$("td[id=anchorCell]:eq(0)").nextAll().andSelf().css({color: red});
$("td[id=anchorCell]:eq(1)").nextAll().andSelf().css({color: "red"});
$("td[id=anchorCell]:eq(2)").nextAll().andSelf().css({color: "red"});
});
</script> - I don't know the language used above. I think it's javascript but I'm not sure. I'll launch into learning it once I understand what I'm doing wrong and where to start learning.
- Here is the screenshot
The colors aren't important, I can play with those later. I'm just trying to figure out how to change the font color so I get something I can use with the background.
Thanks for helping