This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Removing header and images?


  1. Cornelious
    Member

    Where do I go to remove these from the HTML of the form?

    <img id="top" src="images/top.png" alt="" />

    and

    <img id="bottom" src="images/bottom.png" alt="" />

    I thought they were in header.php and footer.php, but when I change those, my form still looks the same.

    Any suggestions?

    Thanks.

    Posted 15 years ago #
  2. Cornelious
    Member

    Another question.

    When I use the PHP Code, the form losses all the styling, and it submits to the wrong page.

    Any suggestions?

    Posted 15 years ago #
  3. Cornelious
    Member

    Actually, the style appears good now, it's just the form submits to the wrong page.

    Posted 15 years ago #
  4. redityo

    Hi,

    You can hide those images, search these code in your CSS form :

    #top
    {
    	display:block;
    	height:10px;
    	margin:10px auto 0;
    	width:650px;
    }
    
    #bottom
    {
    	display:block;
    	height:10px;
    	margin:0 auto;
    	width:650px;
    }

    replace with these one

    #top
    {
    	display:none;
    	height:10px;
    	margin:10px auto 0;
    	width:650px;
    }
    
    #bottom
    {
    	display:none;
    	height:10px;
    	margin:0 auto;
    	width:650px;
    }

    anyway I'm not sure with "submit the wrong page" ? is it the data go to another form?


    MachForm Support

    Posted 15 years ago #
  5. Cornelious
    Member

    My script is uploaded to website.com/form/

    My form is embedded using PHP in website.com/folder-two/send-form.php

    When I hit submit, the visitor is sent to website.com/folder-two/#main_body

    "Method Not Allowed
    The requested method POST is not allowed for the URL /folder-two/index.html"

    Posted 15 years ago #
  6. Cornelious
    Member

    Still don't have it working. How do I successfully embed the PHP code - does the form have to be on a page named index.php? Does the script have to be in the same folder?

    Posted 15 years ago #
  7. yuniar

    Can you let us know the URL to your form? So we can test it.
    If you don't want to post it here, please send via mail: customer.service [at] appnitro.com

    You should be able to embed the PHP code to any PHP files on any folder.


    MachForm Founder

    Posted 15 years ago #
  8. Radices
    Member

    Can I edit the css to display a different footer image for each form?

    Posted 13 years ago #
  9. yuniar

    Yes, you can use the CSS to customize footer image for each form. Or you can also use "Section Break" field to insert different image for each form.


    MachForm Founder

    Posted 13 years ago #
  10. Radices
    Member

    Could you show how to do that please? Mainly the CSS method but both if you have time

    Posted 13 years ago #
  11. yuniar

    To set background image for your footer, you can search for this CSS code:

    #footer
    {
    	width:640px;
    	clear:both;
    	color:#999999;
    	text-align:center;
    	width:640px;
    	padding-bottom: 15px;
    	font-size: 85%;
    }

    add the background-image property, like this:

    #footer
    {
    	width:640px;
    	clear:both;
    	color:#999999;
    	text-align:center;
    	width:640px;
    	padding-bottom: 15px;
    	font-size: 85%;
            background-image: url('http://www.example.com/your_image.gif');
    	background-repeat: no-repeat;
    }

    you might also need to adjust the height of the footer, depends on the height of your image. Simply add "height" attribute there.

    Easier way is using Section Break field, simply add the field and then paste the HTML tag for the image into your section break label.


    MachForm Founder

    Posted 13 years ago #
  12. Radices
    Member

    Thanks so much! Only problem for me with Section Break method is that it will display above the submit button.

    Posted 13 years ago #

RSS feed for this topic

Reply