Support Forum

Any way to specify the text area for posting on pc?

8 Answers

New Answer

IK Ike
Ike
Member

Hey kvr,

Sorry but are you referring to the size of the editor window?

If so you should be able to add the class ‘spEditor’ and width, such as:

#spMainContainer .spEditor {
    width: 70%;
    height: 40%;
}

Or are you referring to an actual ‘textarea’, such as in the profile edit signature page?

If not, sorry if I am misunderstanding!

KV kvr28
kvr28
Member

editor window, thanks Ike will try it, will that impact mobile as well? If so will a max width setting help that?

YS Yellow Swordfish
Yellow Swordfish
Member

The best way to handle it not beng applied to mobile would be with @media queries…

KV kvr28
kvr28
Member

yeah, I tried min width 100 percent and it didn’t work

IK Ike
Ike
Member

Yes you can wrap it in a min-width, or you can specify what happens if it’s under that resolution by adding it on it’s own, then making a copy wrapped in a max-width, so you could use:

@media screen and (min-width: 481px)  {
    #spMainContainer .spEditor {
        width: 70%;
        height: 40%;
    }
}

So it only applies to screens over 481px, or you could do:

#spMainContainer .spEditor {
    width: 70%;
    height: 40%;
}

@media screen and (max-width: 481px)  {
    #spMainContainer .spEditor {
        width: 100%;
        height: 80%;
    }
}

If you wanted to get specific about both.