web analytics

Tag: Paragraph Styling

  • How to Put Space Before the First Paragraph in WordPress

        I searched and searched for this, how to put space before a beginning of a paragraph in WordPress, or in other words to skip a line or more before the first paragraph, and I couldn't find anything that worked. It was so nerve wracking that something so simple could be complicated. I was wanting it because I was experimenting with Ads above the content like it says on Google's Heat Map. But whenever I placed those ads the text would wrap, and in this case it was really weird because the text would snake up between the two ads. But the normal tag for a new paragraph or for a line break don't work in this case. Those only work after some text has been initially written, to cause space. Put those in before any text has been written, and WordPress simply wipes them out. Isn't that crazy? Why should something so basic and simple be this crazy? Well anyway the only thing I found that worked was this code:
     
    And then remember this. Save it without looking at the visual editor. I've found that if you look at the visual editor before you save it, it'll wipe it out. This will get you one line of space before any text begins. Depending on what your doing, in my case putting two large image ads at top, you may have to use a lot of them. Here is a link to the forum where I found this solution. There's a lot of other solutions in there including using that above code above once, and then using the <p> tag as often as you want, but that didn't do anything for me. Some people said different things worked for them, so you might check it out. Well, then, and that comes to the ads themselves. I found another charming site that taught me how to put them up there and having them look nice and tight and side by side, and then automatically creating that space for me. I'll write about that in another post, or when I'm less tired.