Grow your CSS skills. Land your dream job.

Editing page or post. Breaking space?

  • # June 25, 2010 at 10:24 am

    When you are creating/editing a page or post in wordpress you have 2 options right. Visual or HTML edit. (the tabs to the right)
    I always edit in HTML because I know it. I can easily use </br? or &nbsp; to get space between paragraphs heading etc right.

    I just discovered that if you switch modes, say switch to "visual" mode and save it, your space breaks etc go away. I go back to the HTML view and sure enough they are gone and I have to do it all over. They stay there as long as I save out in HTML mode and dont mess with visual.
    THe problem is I am going to be handing this page over to clients who will need to use the visual way of creating and editing. Is there a way in that mode to get these line breaks??? I cant find it for the life of me.

    Another thing that confuses me is, I have multiple WP sites I am working on. 1 of them (my personal site) doesnt even give me the option to create/edit in "visual" mode. I dont know if that is a setting you can turn off or on or what. I am running the same version of WP as the ones that have both options.

    Anyone have insight on this subject?

    # June 25, 2010 at 12:55 pm

    Holding shift and hitting enter (return) will result in a line break (<br>).

    Having said that, if you need to use that to separate items from headers, etc, you should really be updating the stylesheet with larger margins instead. It is guaranteed that clients will eventually forget to do things – it’s best to keep the most amount of control that could break the overall design of the website out of their hands.

    Regarding the missing visual editor…

    Try going here: Admin > Users > Your Profile
    Ensure that the "Disable visual editor" is unticked.

    # June 25, 2010 at 2:25 pm

    Great! good thinking. Im still learning. I love this forum. So many smart helpful people like you :)

    # June 26, 2010 at 12:20 am

    No problem! The forum would be pretty boring if people weren’t asking questions! :D

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".