1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Line breaks not showing on my Wordpress posts

Discussion in 'WordPress' started by Matthew Sayle, Oct 31, 2015.

  1. #1
    Hello!

    On one of my wordpress blogs, I am entering a space between numbered lists, but when I publish the article, it goes away.

    I have tried entering a <br> in the text editor section, but no joy.

    Any ideas?

    Here it is in the Wordpress editor:

    [​IMG]

    Here it is on the actual post:

    [​IMG]
     
    Last edited: Oct 31, 2015
    Matthew Sayle, Oct 31, 2015 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    I'm guessing it's got something to do with the CSS for the lists, coupled with floating-issues (due to the images) - hard to tell without seeing the actual site, but you could try something like this in the CSS:
    
    ol li {
      overflow: hidden;
      margin-top: 1em;
    }
    
    Code (markup):
     
    PoPSiCLe, Oct 31, 2015 IP
  3. Matthew Sayle

    Matthew Sayle Prominent Member

    Messages:
    3,325
    Likes Received:
    464
    Best Answers:
    1
    Trophy Points:
    385
    #3
    Thanks for the reply,

    I played around with the CSS just now, and it seems this did the trick:

    .post-single-content h3 {
        padding-top: 20px;
    }
    Code (markup):
    Probably not the best fix, but I am a 'duct tape' kind of guy.
     
    Matthew Sayle, Oct 31, 2015 IP