Archived topic
Space suppressed by the Theme
4 replies · Started by Enrico on June 30, 2015
I am sorry to ask for help again, but I think there is a problem in the GP Premium plug-in or Theme.
1 - I have noticed that the WP visual editor is showing correctly the space between line but to have it in live page I have to add a line brake command in html.
2 - A similar problem is happening with box, the box is perfectly symmetrical around the txt in the WP visual editor but then, when I view the page, the box border is missing "a line" in the top. like in previous point 1.
Example page with the two problems
This is the code I used for the box
And this is how it is showed in the visual editor:
Image of the page in visual editor
You can see that in visual editor the box and the space under the Photo are correct.
You gave me a php code to have the date of post in the bottom. This is the only extra code I have, exuding CSS you gave me.
Enrico
To explain better the problem at point 2, the Text should be centered in the text box, like it is centered in the visual editor. Instead the text is on the top of the text box, always one line up.
Couple reasons this is happening.
The <ol> element has a margin on it.
In the "Text" tab of the editor - find: <ol>
Replace with: <ol style="margin-bottom: 0;">
Then inside your list, you have an <h3>, this also has margin.
You can do the same, find: <h3>
Replace with: <h3 style="margin-bottom: 0;">
That should fix it :)
Thanks a lot! Both the change were necessary to have the text centered in the box.
Glad I could help :)
