[Bug] Margins/Padding for nested and

  • Posted in : Editor
  • aspotz
    Participant

    Dear Pixelwars,

    Please see this image to explain the situation. Here is the HTML code to recreate the error on your end.

    On the left is how it looks in the WordPress editor, on the right is how it looks published. Notice the black circles on the right, representing an abnormally large gap between lists.

    I do please ask that if you make an update, to please let me know the names of the files that have been modified; I’d imagine only the css files would be modified to correct this issue.

    Thanks!
    -Alex

    serkan
    Moderator

    Hi,
    You can use this custom css code for this ;

    .widget li ul, .widget li ol { margin-bottom: 0; }

    Thanks

    aspotz
    Participant

    serkan, thank you for the reply, but the solution doesn’t seem to fix it: http://postimg.org/image/pc1win6hh/

    serkan
    Moderator

    Hi aspotz,
    This custom css will work on widget text area, but you if you want to use it on page
    .page li ul, .page li ol { margin-bottom: 0; }
    Please advise me specifically your url and i can help you more.
    Thanks

    aspotz
    Participant

    serkan,

    I see what you meant originally. When I add class="widget" to the ul tag, it works.

    However, adding .page li ul, .page li ol { margin-bottom: 0; } does not work, probably because the formatting is not on a page, but a blog post. What is the proper class in order for the formatting to apply to all blog posts too?

    Thanks!

    serkan
    Moderator

    Hi ,
    If you use li ul, li ol { margin-bottom: 0; } it will work for all pages but maybe small area in some pages might have problem with that custom css code. You need to check all your content. If it is problem we can find another solution.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register