mahlerthetitan on "No Space Between Paragraphs!"

ساخت وبلاگ

I noticed that when I create posts, the spacing between paragraphs isn't actually showing up. Is there a way to fix this without having to manually input <p> between each paragraph?
I am using the theme: Ample

Thanks much!

Can you post a link to a page that shows the issue?

Something's a little strange with your site: your paragraphs are wrapped in <div> tags instead of <p> tags. I noticed you have a lot of Visual Composer add-ons installed; you might want to ask the VC folks about this as well. As a quick fix, though, you could try this custom CSS (Dashboard > Appearance > Customize > Design > Custom CSS):

.entry-content > div { margin-bottom: 15px;
}

I added that into the custom CSS and it didn't do anything. I will leave it in there if you would like to take a look!

I went ahead and deactivated all the addons for Visual Composer to see if that would make a difference.

Your theme automatically converted the > to >. That's alright, though, it should work okay without it:

.entry-content div { margin-bottom: 15px;
}

Okay I took out the > so that it is the same as you have above. Still looks the same.

I did lea that if I hit shift + enter, it adds in the paragraph spacing, but it would be nice to not have to do that every time!

mahlerthetitan
Member
Posted 9 minutes ago #

Paragraphs being wrapped in <div> instead of <p> reminds me of an issue I once had. I blogged about it. Check out this link, or to save you time, the punchline is this: It's possible that, in the editor window, the little box that normally says "Paragraph" instead says "Format" ... as in it doesn't have any formatting chosen.

Link

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 39 تاريخ : سه شنبه 24 فروردين 1395 ساعت: 9:34