To build on a previous post (https://blog.boro2g.co.uk/ever-edited-sitecore-web-db-mistake/) – if you want to achieve the same kind of thing in version 8.1, you need to tweak the js slightly:
Just replace the window.onload=function()… method listed in the previous post with:
1 2 3 4 5 6 7 8 9 |
window.onload=function(){ if (getParameterByName('sc_content') == 'web') { var ribbons = document.getElementsByClassName('scRibbon'); for (var i = 0; i < ribbons .length; ++i) { var item = ribbons [i]; item.style.background="#761819 url(/sitecore/shell/themes/standard/gradients/red1.gif) 50% 0 repeat-y"; } } }; |