WordPress.org

Ready to get started?Download WordPress

Forums

[twenty eleven] align a contact form (8 posts)

  1. savedave
    Member
    Posted 1 year ago #

    Hi wonderful WPers

    I'm having a little trouble on this page of my site:

    http://nadaav.com/n/contact/

    I'd like to align the contact form to the left, to keep it inline with the rest of the text. The form is a script generated by jotforms.

    I tried to be clever and used the Inspect element function of my browser. From what I can tell, this code ought to solve the problem:

    .form-all {
    margin: 0px -12px;
    }

    but when I add it to my style.css it has no effect. I don't know if I am missing some sort of class or other text to make it function as I am still pretty new to css, but I am trying!

    If you have any thoughts on how to achieve this realignment please let me know.

    thanks kindly

    sd

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Do not edit the Twenty Eleven theme. First create a child theme for your changes. Or install a custom CSS plugin.

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Why is the form in an iframe?

  4. savedave
    Member
    Posted 1 year ago #

    Hi esmi - yes I am working in a child theme.

    WPyogi, I just used the code that jotform generates for wordpress...

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    iframes really aren't a good way to go - are you wedded to jotform? (I don't know anything about them...)

    But that CSS should be working - it works in Firebug...

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Where did you put it? I don't see it on your site?

  7. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Actually, scratch that...it's not working, let me check on it some more.

  8. savedave
    Member
    Posted 1 year ago #

    Hi WPyogi

    No I am not at all wedded to jotform. I only liked that I could customise the text colour easily. If you think there is a better or easier free service to use I'd be open to ideas.

    Thanks

    :)

Topic Closed

This topic has been closed to new replies.

About this Topic