Viewing 8 replies - 1 through 8 (of 8 total)
  • Nelson

    (@sandilee)

    From what I can see it ain’t displaying at all in the sidebar. There’s a link to a different page which the contact form is applied in.
    Correct me if I’m wrong ??

    DaisyMariposa

    (@daisymariposa)

    I’m seeing what Nelson is seeing.

    Thread Starter IHeartOranges

    (@iheartoranges)

    Yeah, sorry I removed it after 3 hours of posting this. thanks for caring though guys ??

    beeperman

    (@beeperman)

    Well, I would love to have contact form 7 in a side bar widget. I have the contact form 7 widget and it works fine except that I need to resize it (it is too wide).

    Is there a way to do this?

    Thanks

    BeeperMan
    go to
    /public_html/wp-content/plugins/contact-form-7/modules
    and edit textarea.php
    look for
    $atts .= ‘ cols=”32″‘; // default size

    i have changed mine to 32 from 40 default.

    hope this will help. let me know if you have any questions.

    Rizzi,

    Thank you, thank you and thank you!!!

    That worked perfectly. I don’t know why such a fundamental thing like this has to be hidden deep in some php module, but, oh well.

    Once again, thank you for taking the time to help.

    Beep

    @beeperman, you don’t need to go deep into php, here’s one of my sidebar contact forms:

    In my sidebar text widget I have:

    <div style="width:180px; border: medium dashed #009933;">
    <p style="text-align: center;"><img alt="freeguide" src="https://www.worcesterrenewables.co.uk/wp-content/uploads/2010/11/freeguide.jpg"></p>
    [contact-form 3 "Contact form 3"]
    </div>

    Here is what the code for Contact form 2:

    <div style="padding: 0 0 0 15px;">
    <p>Name (required)<br />
        [text* your-name 20/] </p>
    <p>Email Address(required)<br />
        [email* your-email 20/] </p>
    <p>[submit "Get Your FREE Guide!"]</p>
    </div>

    See it in action here:
    https://www.worcesterrenewables.co.uk/

    Easy!

    Nice looking form Party.

    I really did not have to go that deep into PHP :). Anyway, thanks to Rizzi’s help I was able to find the PHP files that control the textarea and text input, and all is working as I want it to at this point. I learned something as well, which is always a bonus.

    Cheers

    Beep

    (EDIT) After looking at your code I tried it out and bingo, very nice, thank you. Learned something again, very grateful.

    B

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Contact Form 7 in sidebar’ is closed to new replies.