Rather than messing about in the js file, you can do this with a css rule in your global css or in the appropriate templates.
I do it so:
in the new reply and new thread templates, right under headerinclude variable:
<style type="text/css">
.messageEditor {width:99%!important;}
.messageEditor > div {width:99%!important;}
textarea#message_new {width:99%!important;}
</style>
Works perfectly and responds to screen size.
Yep, that worked.
Thanks for the help, Leefish!
There is 1 more issue, the signature editor overlaps the .. u know xd
Here a picture:
[attachment=29266]
I have 2 offtopic questions :
- Does the forum get slower by installer more plugins?
The last thing I want is a slow forum!
- I want the top 'New Thread' to be on the left side also, but when I tried that a couple days ago, ( floating it to the left ) other things started to float to the right..?
Thankies.
Re the signature, you can do exactly the same trick in this template:
user_cp_editsig
<style type="text/css">
.messageEditor {width:99%!important;}
.messageEditor > div {width:99%!important;}
textarea#signature_new {width:99%!important;}
</style>
See how the id of the textarea is different?
Re the newthread, you probably need to float it and clear the float after it. I use a clearfix tag in my css and apply that to templates where I want things to STOP floating:
example template code:
<div class="float_left clearfix">my thing</div>
in your Global css
.clearfix:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
Re number of plugins; all plugins will slow the forum a little; what it is best to do is to see that the plugin is well written and does not add loads of queries to your page/only loads on the pages it is supposed to load on.
Thanks, the signature editor is fixed now.
The newthread/newreply float stuff im confused right now.
I just added the css, but what now?
The sidebar is a plugin. I don't know how to edit the html in it ect.
Hey guys, still need help with the New thread and New Reply buttons. I want them all on the left side.
I fixed it for you - please take the time to learn a little css, it is faster and more fun than asking (and waiting) for help. Look at the template and see that the showthread and forumdisplay threadlist now have a class of float_left on the new thread and newreply variables.
This is what I was trying to tell you - you need to clear the floats. I just put a dummy div in for you.
Ah.. Sorry I'm such a pain in the *ss
Thanks for helping!
(2013-05-14, 04:41 PM)MikeInToshx Wrote: [ -> ]Ah.. Sorry I'm such a pain in the *ss
Thanks for helping!
Don't stress yourself and don't hesitate to ask a question.
The Support Team and the whole community is here to help ya.