[Resolved] Space suppressed by the Theme

Home Forums Support [Resolved] Space suppressed by the Theme

Home Forums Support Space suppressed by the Theme

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #117600
    Enrico

    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

    BOXED TEXT HERE

    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

    #117631
    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.

    #117646
    Tom
    Lead Developer
    Lead Developer

    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 ๐Ÿ™‚

    #117654
    Enrico

    Thanks a lot! Both the change were necessary to have the text centered in the box.

    #117655
    Tom
    Lead Developer
    Lead Developer

    Glad I could help ๐Ÿ™‚

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.