Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save BeSublime/7d470aa2a18a283f24efcb246c962991 to your computer and use it in GitHub Desktop.

Select an option

Save BeSublime/7d470aa2a18a283f24efcb246c962991 to your computer and use it in GitHub Desktop.
Prevent Button Shifting on SFCC Login Pages
// ==UserScript==
// @name Prevent Button Shifting on SFCC Login
// @namespace http://tampermonkey.net/
// @version 2024-03-27
// @description Fixing yet another poor UI choice.
// @author Cory Wright <coryevan@gmail.com>
// @match https://account.demandware.com/dwsso/XUI/
// @icon https://www.google.com/s2/favicons?sz=64&domain=demandware.com
// @grant none
// ==/UserScript==
(function() {
'use strict';
const style = document.createElement('style');
style.type = 'text/css';
document.head.appendChild(style);
const sheet = style.sheet;
sheet.insertRule('#wrapper #content .container .page-header { display: none; }');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment