Recently I have been doing a fair amount of work directly in the layouts pane of MojoMotor and I have found that the default size of the window is hard to work in.
Original Layout Size - Too Small!
Sure, since I am using Chrome, I can resize the textarea using the handle in the lower right, but that is annoying to have to do every time I reload the layout. So I quickly jumped into the css and made a quick modification to display a bit more real estate. Here's how...
In your code editor, load up the mojomotor_css.php file located at
system/mojomotor/views/themes/default/css/mojomotor_css.php
and do a quick search for
#mojo_layout_edit_form #layout_content
You can modify the height to something larger, like 500px, to get more space to work!
Take note that if you are using a different MojoBar theme, such as DeSaturated, you will have to update default with the new theme name.
#mojo_layout_edit_form #layout_content {
width: 99%;
/* height: 250px; - Original, changed to 500px for visibility */
height: 500px;
}
Modified Layout Size - Much Better!
There are no comments for this article.
Date: 12/02/10
Author: Jesse Schutt
I'm particularly interested in how the body class is added when the mojobar is opened! That was one that was hard to get around in the past.
Feb 09, 2012 3:20am