Skip to content

Instantly share code, notes, and snippets.

@christianseel
Created February 20, 2014 16:55
Show Gist options
  • Save christianseel/9118351 to your computer and use it in GitHub Desktop.
Save christianseel/9118351 to your computer and use it in GitHub Desktop.
Add this php code as a plugin to your MODX manager and check the 'OnDocFormPrerender' system event. This removes the branding from the SEOTab extra by Sterc.
<?php
$modx->regClientStartupHTMLBlock('<style>
#modx-resource-tabs__seo-tab {
border-color: #658F1A;
background: url(/manager/templates/default/images/modx-theme/tabs/tab-bg.svg) #658F1A;
background: -moz-linear-gradient(center bottom,#658F1A 0%,#8BAF4C 100%) repeat scroll 0 0 transparent;
background: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#8BAF4C),color-stop(100%,#658F1A));
background: -webkit-linear-gradient(center bottom,#658F1A 0%,#8BAF4C 100%);
background: -o-linear-gradient(center bottom,#658F1A 0%,#8BAF4C 100%);
background: -ms-linear-gradient(center bottom,#658F1A 0%,#8BAF4C 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#8BAF4C,endColorstr=#658F1A,GradientType=0);
background: linear-gradient(center bottom,#658F1A 0%,#8BAF4C 100%);
}
#seo-tab .vertical-tabs-panel {
background: url("/manager/templates/default/images/style/vtabs-bg.png") repeat-y scroll left 0 transparent !important;
}
#modx-resource-vtabs-header-title {
display: none;
}
#seopro-google-description i {
color: #888;
}
</style>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment