• Resolved Sri Shunyata

    (@sri-shunyata)


    Hi Nick, thanks for creating such useful plugin!

    I’ve used a custom image aligned left and added paragraph styling to my custom content.

    There is no padding-top or margin-top assigned to my paragraph styles, but the image is positioned higher than the text.

    What I’d like to do is have the top of the placed image align with the top of my text (custom content). Please Advise!

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Hi Sri,

    Can you share the content that you entered into the custom content area? Simply copy and paste into a reply comment. I have a hunch there is an error there.

    Thanks,
    Nick

    Thread Starter Sri Shunyata

    (@sri-shunyata)

    Thanks for the prompt reply, Nick.

    Here’s the content as entered!

    <p>Welcome, I’m Shunyata. Some of you may know me from my writing, or perhaps you’ve come to one of my exhibitions of jewelry, paintings, and Objet d'art. Then again, you could have been to one of my mystical live-art ceremonies in the 1980s and 90s. </p>
    
    <p>There are myriads of facets to each of our lives. Some of us spend our time raising a family, going to sporting events, playing golf or on the business of making money. I spend my time creating, learning and probing the far reaches of human experience, the mysteries.</p>
    • This reply was modified 6 years, 8 months ago by Sri Shunyata.
    Plugin Author Nick Diego

    (@ndiego)

    Hi Sri,

    It looks like you discovered an interesting issue. The plugin automatically applies paragraph tags to the content that is entered into the custom content area. I guess I never assumed the people would want to add multiple paragraphs of text…oops. Anyway, this sort of creates an issue when you are adding your own <p> tags. While not very elegant, the solution is to just remove the first and last tags, i.e.

    Welcome, I’m Shunyata. Some of you may know me from my writing, or perhaps you’ve come to one of my exhibitions of jewelry, paintings, and Objet d'art. Then again, you could have been to one of my mystical live-art ceremonies in the 1980s and 90s. </p>
    
    <p>There are myriads of facets to each of our lives. Some of us spend our time raising a family, going to sporting events, playing golf or on the business of making money. I spend my time creating, learning and probing the far reaches of human experience, the mysteries.

    The plugin will wrap this in <p> tags and you will be good to go. I will think about a way to make this more intuitive and perhaps build it into a future update.

    Best,
    Nick

    • This reply was modified 6 years, 8 months ago by Nick Diego.
    • This reply was modified 6 years, 8 months ago by Nick Diego.
    Thread Starter Sri Shunyata

    (@sri-shunyata)

    Hi Nick,

    Love you work!

    I seem to have a knack for finding ‘interesting issues”. Lucky me ??

    Thanks for figuring out what was going on and coming up with a rather inventive workaround!

    I did pare the back the content to one paragraph which does look better in smallish widget area. However, if I was going to use a single column/page width widget then multi-paragraphs would be more than likely.

    Thanks Again

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Top Align Custom Image and Custom Content’ is closed to new replies.