Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
TinyMCE Rich Text editor single line spacing
Avatar
foxy7
Member
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2014 - 5:32 pm

Can you inform me how I make the TinyMCE Rich Text Editor single line spacing?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 23, 2014 - 9:15 pm

not sure what you mean... do you mean a soft return vs paragraph?  its wysiwg, so a return yields a new paragraph... the spacing of that new paragraph will be determined by your css...  but if you want a soft return, instead of hitting return, hit shift-enter...

Avatar
foxy7
Member
Free Members
sp_UserOfflineSmall Offline
Mar 24, 2014 - 8:14 am

It is exactly that normal space I want, when hitting the shift+enter. Is it not possible to make it standard, so I won't have to hit it every time? If so, a detailed guide would be much appreciated :)

Avatar
foxy7
Member
Free Members
sp_UserOfflineSmall Offline
Mar 24, 2014 - 9:21 am

Hmm, just found out that if I add the line ".mceContentBody p {padding:0; margin:0;}" in folder: wp-content > sp-resources > forum-plugins > tinymce-richtext > resources > themes > advanced > skins > o2k7 > content.css

Then it will change to single spacing in the editor. But it will still show with double spacing when posted..

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

As Steve pointed out above there is NO double spacing anywhere. These are paragraphs and as such are styled by the CSS being used. As you have found you can adjust the padding that is given to paragraphs in the editor. The padding used for post display can be adjusted in your SP theme CSS. Which SP theme are you using?

andy-signature.png
YELLOW
SWORDFISH
Avatar
foxy7
Member
Free Members
sp_UserOfflineSmall Offline
Mar 24, 2014 - 11:23 am

I am using the default theme (shades of grey). Can you pinpoint the line that I need to adjust in the theme CSS?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 24, 2014 - 12:54 pm

You need:

#spMainContainer .spTopicPostSection .spPostSection .spPostContentSection .spPostContent p

As always we recommend that you create your own SP theme so that any customisation is not lost during a future update. (http://codex.simple-press.com/.....g-a-theme/)

andy-signature.png
YELLOW
SWORDFISH
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: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625