Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #788173

    I’m working on a project for a client holding a conference. They’re sharing a news stream, including links to stories of interest.

    When I use the WordPress “Insert from URL” option to insert a nicely formatted link to a post on another site, the resulting link looks great — if it is not above a certain height. For example:
    http://sbnmass.org/AligningBusinessWithCommunity/better-model-for-pharmacy-care/

    But if it’s taller, it gets cut off, which looks pretty bad…
    http://sbnmass.org/AligningBusinessWithCommunity/sustainable-food-system-network-cultivating-commitment-racial-justice/

    I should point out that the “looks great” example also looks wrong and bad when the window is narrower … which includes all cases on a mobile device.

    What can I do to make this work consistently? Thanks!

    • This topic was modified 7 years, 7 months ago by PtboRelic.
    #788213

    Hey PtboRelic,

    May you provide us your WP credentials?

    Best regards,
    John Torvik

    #788229

    Yes, here they are.

    #788929

    Hi,

    it is basicly because of the .wp-embed styling class.
    Please change to

    .wp-embed { height: 400px !important }

    and let us know if the issue is been solved

    Best regards,
    Basilis

    #789806

    Hi Basilis. This doesn’t have any effect.

    (I did try adding the missing closing ; — as well as a few variations. None had an effect.)

    Shouldn’t Embeds automatically be the correct height? It seems like that is part of their purpose. I would be grateful for another look at this.

    #789818

    In digging further myself, it looks like:

    – The class I should have been modifying is .wp-embedded-content
    – Adding anything to its height fails, because the content below overlaps with the embedded content.

    So, I still need an answer to this. Thanks.

    #790086

    Hi,

    I have checked and css alone isn’t enough to fix this, can you give us ftp access also? it’s much safer to add some codes (will be posting it here once done) using ftp than using the wordpress dashboard.

    Best regards,
    Nikko

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