formatting single spaced content
I am a webs designer/developer who has used WP for several clients as a CMS. One problem I am having is setting it up so that my clients can use the Visual editor to enter an address or similar list where you have several lines tight together, followed by either another set, or just paragraph text, etc.
For example, if I wanted to add an address below:
1234 My Street
Somewhere Town, CA 12345
That is easy here, because I can type an empty paragraph and it will remain, thus allowing me to control the space before and after the address. Given the way WP is set-up with its wpautop, you can’t do that. And because of that, I do what is common, which is is to create padding or margin after a paragraph as a way to create that natural spacing needed between paragraphs. There is no way to create a line break in the visual editor, so no way to create a series of lines tight together, unless I customize the css to style, say the Address as single spaced, and use that formatting for that – problem with that is, after the address, there then needs to be space after it, but there isn’t.
Another client I have has a list of personal they simply want to list as such:
his email address
and so on…
again, same problem.
Doesn’t anyone else have this problem? Any solutions? I looked at one plugin that might have worked by adding a break button, Post Editor Buttons, but it only adds buttons to the html editor, not the visual editor. I need this to work for people who don’t know code.
- The topic ‘formatting single spaced content’ is closed to new replies.