• Resolved tonedru

    (@tonedru)


    How do i do a line break in a page.
    I tried
    like I would on a normal web page but it seems to just erase those when it saves. So is there a special way in wordpress to put a break in between lines on the pages?

    Thanks,
    ToneDru

Viewing 15 replies - 1 through 15 (of 17 total)
  • If you just do a carriage return, this should create a new paragraph. If no paragraphs are created, it could be because of your theme. You don’t need to add a break tag, but just hit enter. WordPress will add paragraph tags automatically.

    If that doesn’t work, can you provide a link to your site, so that we can look at your site.

    I have a similar problem. I’m using my WP on the index page of my site… in it’s container. And have actually (after TOO many months of trying to figure it out) gotten the feed into it. The food is there. Plus the title. But I have ZERO clue as to how style the paragraphs. And make sure each subsequent after that, that I post is the same. So I need a line break after each entry… Spaces between the title and entry as well. And the addition of the date/time and author. I’m a designer. And coding is one of those things that I wrack my brain figuring it out. Lol. Sorry so much. Thanks for any help anyone could provide!

    -Brett

    http://www.onlyaspark.com

    Thread Starter tonedru

    (@tonedru)

    this is the page that I’m trying to put a few breaks in…
    It’s strange, because it’ll work for a little bit, but then when I make any other edits it reverts back to scrunching all the lines back together again πŸ™

    http://events-sugarhouse.com/receptions/

    @tonedru: I can’t see anything wrong with that page.

    @onlyaspark: It is considered impolite to interrupt another poster’s thread. Please post a new topic.

    Thread Starter tonedru

    (@tonedru)

    It’s all readable, but I want a few line breaks between each paragraph.
    For example, where it says “Reception Packages starting at $65 per person.” I want that paragraph to start around the middle of the picture, and the next paragraph where it says “Intimate Receptions & Gatherings” I want to start after the picture of the bride, just a few lines down from the previous paragraph. Basically I want a few lines breaks in between the three paragraphs to make it spaced out nicely.

    I can achieve that effect for a while by putting   a few times in the html coding, but it only lasts until the next time I publish the page, then it all goes away again. Very frustrating!

    Thanks!
    ToneDru

    Thread Starter tonedru

    (@tonedru)

    I just got it to work by putting
     
     
     

    between each paragraph, so it works for the moment, but I know that next time I go to edit that page, that’ll all go away. Which doesn’t make any sense to me…

    http://events-sugarhouse.com/receptions/

    No, what I meant was – I see quite clear line breaks.

    where it says “Reception Packages starting at $65 per person.” I want that paragraph to start around the middle of the picture

    It does for me.

    Thread Starter tonedru

    (@tonedru)

    Sorry, that shows up as nothing, this is the coding that I put in.

     
     
     
    Thread Starter tonedru

    (@tonedru)

    What I’m saying is that it works right now, but it will revert back to being scrunched together after i edit it next time.

    You’d be better off adding a new class to each of these lines and then styling that class to add large upper & lower margins.

    Thread Starter tonedru

    (@tonedru)

    How would I do that?

    I also saw on another post that you can add a ‘spacer’ using this code in the css:

    #your_area_id .spacer {
    height: 200px; /* adjust to desired height */
    clear: both;
    }

    but I haven’t been able to get it to work…

    No – don’t use spacers. Something like:

    <span class="spaced">Some Text</span>

    and

    .spaced {
    display:block;
    margin:30px 0;
    }

    should work.

    Thread Starter tonedru

    (@tonedru)

    Ok, I can give it a try, how and where exactly do I use this coding? I just put in the

    .spaced {
    display:block;
    margin:30px 0;
    }

    where i want the break and it totally messed up the page.

    That’s the CSS! It belongs in your theme’s stylesheet! The first code snippet is a markup example for your page content.

    Thread Starter tonedru

    (@tonedru)

    ok, works great!
    Thanks again πŸ™‚

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘line break in pages’ is closed to new replies.