Ok I tested this with a fresh install with only newsmag installed. So far I have only spotted the issue in comments and in woocommerce.
If I enter a comment like this one with the line break in between paragraphs:
https://www.dropbox.com/s/6o5ncabju4z10ks/Screenshot%202015-04-14%2014.44.37.png?dl=0
This is how it looks on the live site:
https://www.dropbox.com/s/4ap07fiqy8hyizu/Screenshot%202015-04-14%2014.46.18.png?dl=0
No like break. This makes long comments hard to read. And makes woo commerce product descriptions impossible.
This is not just my install since it is also happening on my localhost.
Yea, there needs to be a real fix for this one because I get a lot of comments and I don’t want to edit them. Plus the issue if you ever need to change themes, now there will be double line breaks.
Has this been reported in the past but not fixed?
I reported issue with 1.6, not sure if fixed in 1.7 as that crashed my server.
I “suspect” it has something to do with the divider line custom thing in the visual view, which can be disabled … search forum on that.
Right now I’m using the Free wooCommerce theme for testing on our business site. Using NewsMag for our magazines.
And having to remove the double spaces!
When is this going to be fixed? It is a basic thing to having a working website.
Hi,
Sorry for the delay!
I’ve investigated this and it seems this is the normal behavior of woocommerce comments system. Also tested this on a WordPress default theme and found the same behavior, the comment form parses the text and removes empty spaces and the tag is also removed.
You can also test this on a default WordPress theme.
Sorry for the inconvenience!
Thanks
I will test it on my own server.
BUT what about post comments. That is my bigger concern. They all look crappy without the line breaks. I have tested this on other themes and the link breaks work, but not with newsmag.
Hi,
Not sure how this worked for you using other themes as I’ve also tested this on a WordPress default theme using the default WordPress comments system and had the same result: http://screencast.com/t/BLqo2Oc7UJn – http://screencast.com/t/lu63fpkMJUJ
The newsmag theme also uses the default WordPress system which you could try to adjust for this. You could try this: https://codex.wordpress.org/Function_Reference/wpautop
Please also let me know of your tests so I can also do it on my side.
Thanks
-
This reply was modified 11 years by
Lucian.
I think you may be mis understanding and you proved what I was saying the problem is.
The issue is the CSS styling in Newsmag. In the default wordpress theme, in your screenshot, the comments properly had spacing between the paragraphs. However in Newsmag, because of the Newsmag CSS, there is no spacing between paragraphs for comments.
Hi,
You’re right I did misunderstood you. I tooth you refer to the fact that when you add line breaks into the comments, like this: http://screencast.com/t/U3OtfG8BLh you expect that those spaces/line breaks should not be removed when the comment is posted, however it dose: http://screencast.com/t/Qc7W3HWO and this is how WordPress’s comments system works.
I understand now, sorry for misunderstanding you!
The theme dose add style to the posted comments which is changing the space between comment line by removing this margin present in the default WordPress’s themes: http://screencast.com/t/pWrGsm1F
To fix this just use this custom css code in your custom ccs section in theme panel and adjust the margin value as you like it: http://screencast.com/t/w7gKOhr0TBQQ
.comment-list .comment-content p {
margin: 30px 0px;
}
Sorry for the inconvenience!
Thanks