BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
DavidPhillips2
Rhodochrosite | Level 12

In SAS Enterprise Guide how do I change the background color of a custom html style.  I was able to figure out how to change all of the other elements except it using, Tools> options > Results > HTML > Manage Styles.  I modified the harvest theme.  I’m trying to change the background on the sides from tan to another color.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
DavidPhillips2
Rhodochrosite | Level 12

There is  a bug where all of the theme settings do not take effect until you re-run the stored process and click on the custom report again.  All of the colors updated before that except the background color.  Please fix.

View solution in original post

4 REPLIES 4
DavidPhillips2
Rhodochrosite | Level 12

There is  a bug where all of the theme settings do not take effect until you re-run the stored process and click on the custom report again.  All of the colors updated before that except the background color.  Please fix.

CaseySmith
SAS Employee

Please provide steps to reproduce. I have not been able to reproduce (using EG 7.15 HF3).

 

Here are the steps I tried:

 

-In a new EG project...

-In Tools->Options->Results->Results General, make sure HTML is checked.

-In Tools->Options->Results->HTML, change style to Harvest.

-Click File->New->Program.

-Copy/paste this code into the new program:

proc print data=sashelp.class;

run;

-Run the code and ensure Harvest style is applied.

-In Tools->Options->Results->HTML, click Manage Styles.

-With Harvest selected, click Create a Copy, and save the copied stylesheet as HarvestCustom.css.

-Select HarvestCustom and click Edit.

-On the Text tab, change Background color to red.

-Click OK to close the Style Editor and click OK to close the Style Manager.

-Make sure HarvestCustom is the selected style for HTML, then click OK to close the Options dialog.

-Click Refresh on the Results or Run on the Program tab (both re-run the program) and confirm the background color of the results is now red.

 

I followed similar steps with a stored process and it worked fine as well. (However, you also have to select HTML as the results format in Tools->Options->Results->Stored Process.)

 

Please provide clear steps to reproduce and we'll investigate.

 

Thanks,

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

DavidPhillips2
Rhodochrosite | Level 12

Casey,

 

"-Click Refresh on the Results or Run on the Program tab (both re-run the program) and confirm the background color of the results is now red."

 

The color refreshes after this step.  The bug is that the user has to refresh or re-run, while other elements refresh instantly.

CaseySmith
SAS Employee

Hi David,

 

Please provide an example of other elements that refresh instantly.  I tried Text size, Text color, Horizontal alignment, Border color, line width, and style, and all of them were applied after re-running the program (not immediately).

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1977 views
  • 0 likes
  • 2 in conversation