Customizing Admin theme without hacking files
Previous article Next articleIf you want to make small changes to the default CMSMS Admin theme, you can change the core stylesheet files with the risk of overwriting it when upgrading the CMS. But creating a custom Admin theme might be a bit of an overkill for a few changes... CMS Made Simple™ has a - not very well-known - feature for doing this without any risk! With this feature you can simply override the default Admin stylesheet declarations.
At one of my websites I have several sub domains with each its own CMS. Being afraid of making changes to the wrong website I wanted to make some layout adjustments to remember me in which website I am working. The example I will show you here is changing the default CMSMS logo with one of my own.
How to use
Create a new folder at the webserver: website.com/admin/themes/OneEleven/extcss/
and in this new folder you create a new file named style.css with the content:
header .cms-logo { background: url(../uploads/_template/your-logo.png) no-repeat 10px 0 }
In the uploads folder (or in any other folder you want, just change the path in the stylesheet) you can add your own image file. The file should be a (transparent) image with a maximum height of 69px! The default image is 205px wide, but you can make it smaller or wider if you want...
Beside this example you can add all CSS declarations from the regular /css/style.css file here to change the styling of the Admin theme to your liking.
Working example
More Examples
CGBlog full width Admin page
The default CGBlog Admin page is split up in two columns. It gives a clear view, but the content editor field is very small. With these two lines the width of the columns are set to 100% and because of that they float under each other. Simple and effective!
#cgblog_editarticle .grid_7 { width: 100% }
Comment Form
ReviewManager
ReviewManager
6 Comments
Vivaslot138 hadir dengan permainan provider slot terlengkap 2023
Live casino, togel, parlay, sabung ayam, slot online, lottery, tembak ikan
Situs judi online di Indonesia dengan deposit memakai dana minimal 10rb
Dengan RTP live slot online terbaru 24 jam pola gacor dan pasti
maxwin setiap hari
vivaslot138
The Indoor Earthworm
510 W Hwy 50
O'Fallon, IL 62269
(618) 726-7910
indoor grow stores near me
Law Office of Jason B. Going
1803 N Belt W
Belleville, IL 62226
(618) 408-1290
Personal Injury Law
Is it possible to add a link to the icon that is replacing the original icon with an URL?
Using the CSS trick?
Since 2006, I've been forking admin themes to customize them for the end user. It worked but added one more thing that had to be maintained and updated while updated the CMS Made Simple version.
THANK YOU! This is a huge time saver for me and a much better way to offer a customized admin experience.
Thanks for that useful tip - I use it now in order to increase the font size on the 1.11 series.
My sheet for the OneEleven admin theme:
body,
p,
input,
textarea,
select,
menu,
.ui-button-text,
table.pagetable {
font-size: 13px;
}