Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #753893

    Hello,
    Today I have noticed that when I add more than 2 media items (image+link and caption) inside any tab, all the following items are being vertically shifted (see image):
    Media items being shifted within a tab

    Looking at the code, I have noticed that from the 3rd item, a <br> tag is being added instead of a <p></p> couple of tags before each div id=”attachment_XYZ”

    I have tried to add manually the <p> tags inside the code of that page, but it does seem that WP is acting its own way, erasing p tags and adding br instead.

    Any help would be greatly appreciated!

    #754868

    Hey nightjar,

    Could you try to delete any line breaks in the editor please? If you can’t get it working then please post admin login details in private so that we can have a closer look.

    Best regards,
    Rikard

    #754984

    Already tried to remove all LB, but when I save the page, apparently WP automatically adds the missing line breaks, so there is no way out…

    #757657

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .tab_content .wp-caption + br {
        display: none;
    }
    

    Best regards,
    Yigit

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