#pathwaySeadragon.fullpage { background-color: white; } g.pathwayHighlight path { fill: #26ff26!important; } #pathwaySeadragonLegend { position: absolute; right: -300px; width: 300px; } #pathwaySeadragon.fullpage #pathwaySeadragonLegend { right: auto; left: 20px; top: 70px; }