The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. August 22, 2019, 02:16:55 AM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: How to increase the height of the SMF post editor box?  (Read 10568 times)
Bompa
Administrator
Lifer
*****
Offline Offline

Posts: 564


Where does this show?


View Profile
« on: January 28, 2012, 05:59:17 PM »

How to increase the height of the post editor box?

I just spent about an hour searching google and fiddling
with the smf js and templates, and other shit.  arrrrg!

Mine is about 150px height.  WTF?

I can see about 12 lines of a 200 line post while editing. pfft

There is a "handle" to stretch it down, but I want permenent.


What I've done so far:

In Themes/Default/Scripts/editor.js, I changed 150 to 350, but that didn't help.

   this.sEditHeight = 'sEditHeight' in this.opt ? this.opt.sEditHeight : '350px';


Note: Yesterday I changed a few font colors so I know "Default" is the correct place.


In Themes/Default/Post.template.php

I changed 314 to 514, dunno why i did that, but it didn't help anyways.
         {
            border-style: outset;
            border: 1px solid black;
            padding: 5px;
            width: 95%;
            height: 514px;
            overflow: auto;
            background: #ffffff;
         }';





Note: I do not want to download and install a mod for this. I just want to
change one little tiny value.


PS: How do you like my new sig? Deep huh?
« Last Edit: January 28, 2012, 06:09:13 PM by Bompa » Logged

"The most beautiful and profound emotion we can experience is the sensation of the mystical..." - Albert Einstein
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #1 on: January 28, 2012, 08:54:25 PM »

Love the new sig Bomps, and incredibly timely for me to read, actually Smiley

Are you just using the default SMF theme? Because if you've changed anything then the pieces of theme that you got will overwrite the defaults. It's weird how it works ... If there is an overriding file for a particular theme, then that is chosen over the default. That's why you can have a theme that only changes the home page and nothing else.

The way that I find the thing I want to change is to change to color of it. So I'll roll through the entire Style sheet for a theme and change the color/background color  of EVERYTHING to make sure that I've collected the thing I want, then start uncoloring things until I locate the ID/class I need to affect.

But I'm afraid that I don't know off the top of my head. If it gives you more than a little bit of trouble ping back and I'll find the little bastard.
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!