WordPress.org

Ready to get started?Download WordPress

Forums

Syndicate Press
[resolved] padding around the pictures (4 posts)

  1. nbw0313
    Member
    Posted 12 months ago #

    Hello,
    I tried to apply some padding to pictures, making use of [Custom Formatting]. I tried manually adding style="padding: 10px 10px 10px 10px;" to the opening image <div>, cleared cache and updated, but nothing happened at all. It didn't even showed my new added style on source page after refresh, so of course it didn't even function. So now I wonder is it possible to do that? Have I done it the right way?

    Thank you in advance for your time.

    http://wordpress.org/extend/plugins/syndicate-press/

  2. SP developer
    Member
    Plugin Author

    Posted 12 months ago #

    Hi nbw0313,
    We will take a look and try to reproduce the issue.

    Best regards,
    SP Developer

  3. SP developer
    Member
    Plugin Author

    Posted 11 months ago #

    Hi nbw0313,
    I believe that your issue is that the images in the feed you are trying to show are embedded in the HTML of the article content and not specifically defined in the feed as the articles image tag.

    Here are two examples that illustrate Syndicate Press handling of the custom image formatting:

    For both of these examples, I have set the SP 'Custom Formatting' Image div to <div style="padding: 10px 10px 10px 10px;background-color:#b0c4de;">

    In this example feed, you can see the light-blue background color and the padding on the div surrounding the image. The feed that SP is displaying on this page contains a specifically defined image for each article in the feed.
    http://syndicatepress.henryranch.net/feed-tests/namespace-tests/

    In this second example feed, you can see that there is no light-blue background or 10px padding around the image. This is because the images are embedded in the HTML content of the article.
    http://syndicatepress.henryranch.net/feed-tests/sustainable-future-feed-test/

    Syndicate Press Custom Formatting does not apply styling to the content within the article HTML, unless you specifically override a css class that is used within the article HTML.

    If you post the feed URL we can check for sure, but given the results of this experiment this appears to be the explanation for the behavior you observed.

    Best regards,
    SP Developer

  4. SP developer
    Member
    Plugin Author

    Posted 11 months ago #

    Resolving this topic as testing showed that it works as expected and no response from the user. If the issue occurs again, please re-open this topic.

    Best regards,
    SP Developer

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.