Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Any way to specify the text area for posting on pc?
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Dec 5, 2014 - 9:04 am

I am using a full width page and it is huge

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 5, 2014 - 9:13 am

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!

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Dec 5, 2014 - 9:18 am

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

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Dec 5, 2014 - 9:20 am

min width i mean lol

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 5, 2014 - 9:24 am

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

andy-signature.png
YELLOW
SWORDFISH
Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Dec 5, 2014 - 9:27 am

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

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 5, 2014 - 9:28 am

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.

Avatar
kvr28
Member
Free Members
sp_UserOfflineSmall Offline
Dec 5, 2014 - 9:36 am

Awesome, works great!

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 5, 2014 - 10:20 am

Good stuff :)

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626