Javascript in post

Viewing 5 posts - 1 through 5 (of 5 total)
  • #6019
    zelena
    Participant

    Hi!
    I have inserted the javascript (email responder form) in post and I can’t set it in the center of the post and I have a lot of empty space bellow the form.
    I tried to put it in tags and find the other solution but it didn’t work. It’s really important for my site to have this working.
    Here is the link of post: http://reviewedaffiliates.com/get-more-leads/
    Is there any solution for this? I’m hoping you can help me πŸ™‚ Thank you.

    #6023
    Daniel Tara
    Keymaster

    The script or plugin you are using automatically inserts a padding-top rule that is huge. If you can’t figure out from where it comes from you can override that rule by using a !important rule.

    #6032
    zelena
    Participant

    Not sure how should we use !important rule, we tryed with adding div style width in post.. But I really do not know for sure how this code works. It basicly centers our email form, and leave enough spaces below form.

    We had problems with plugin Raw HTML. We used that code, because wordpress deletes our scripts from posts after we save and edit again. When we use email responder script with [raw] (to protect code), then all theme and posts lose/change format.. Everything is in single line, no paragraphs.
    If I deactivate Raw HTML, then if I edit post, it will delete my email responder script.

    Why this happens? How can I stop wordpress from deleting my codes in posts?

    #6050
    Daniel Tara
    Keymaster

    Try contacting the plugin’s author, they may know better why this is happening.

    #6116
    zelena
    Participant

    We use [rawr]/different plugin now and it’s good. Thank you for support. πŸ™‚

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

You must be logged in to reply to this topic.