Support » Plugin: Google Doc Embedder » [Plugin: Google Doc Embedder] Color of background

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author k3davis

    (@k3davis)

    In order to do this you’ll have to do a little trickery:

    1) Switch to Enhanced Viewer in GDE Settings, if you’re not already using it

    2) Go to the plugin editor and edit the proxy.php file, inserting the lines below:

    // proxy the javascript file
    	$search[] = "gview/resources_gview/client/js";
    	$replace[] = "?jsfile=gview/resources_gview/client/js";
    
    	$search[] = "#content-pane { background-color: #ebebeb;";
    	$replace[] = "#content-pane { background-color: blue;";

    The first 3 lines are just to give you context; insert the last 2 lines in the appropriate place. Of course you’ll have to substitute “blue” for the exact color you want.

    I may add an option to more easily override the included style sheet sometime in the future, but for now this is the best option.

    Kevin

    Thanks so much, Kevin! It worked and looks great!

    Tammy

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Google Doc Embedder] Color of background’ is closed to new replies.