• Hi All

    I would be grateful for some help on the alignment of an image on my home page.

    https://www.greenbananaguide.com

    I have a sign up form on the right hand side with a image panle underneath which is offset. I would like the image to be central and in line with the sign up form.

    The sign up form and image are in the sidebar, so I think I need to make some amendments to the sidebar.php but I am not sure how.

    Any advice would be great.

    Thanks

    I have put the sidebar code here:

    <div class="sidebar1">
    <!-- Web Form Generator 2.0 -->
    <center><form method="post" action="https://www.aweber.com/scripts/addlead.pl" target="_new">
    <input type="hidden" name="meta_web_form_id" value="1681709152">
    <input type="hidden" name="meta_split_id" value="">
    <input type="hidden" name="unit" value="greenbanana">
    <input type="hidden" name="redirect" value="https://www.thegreenbananaguide.com/gbgthankyou.html" id="redirect_12ba9144f1c4205d1ebba3da8b7397b0">
    <input type="hidden" name="meta_redirect_onlist" value="">
    <input type="hidden" name="meta_adtracking" value="">
    <input type="hidden" name="meta_message" value="1">
    <input type="hidden" name="meta_required" value="from">
    <input type="hidden" name="meta_forward_vars" value="0">
    <table>
    <tr><td colspan=2><center><div>Download our magazines FREE!</div></center></td></tr>
    <tr><td>Name:</td><td><input type="text" name="name" value="" size="12"></td></tr>
    <tr><td>Email:</td><td><input type="text" name="from" value="" size="12"></td></tr>
    <tr><td>Tel No (optional):</td><td><input type="text" name="custom Tel No (optional)" value="" size="12"></td></tr>
        <tr><td colspan=2><center><div><font color="#ff0000"><strong>Don't Forget to Order Your Discount Card</strong></font><br /><h1><a href="https://www.greenbananaguide.com/?page_id=267" class="style1">Order Now</a></h1>
    </div></center></td></tr>
    <tr><td align="center" colspan="2"><input type="submit" name="submit" value="Submit"></td></tr>
    </table>
    <img src="https://forms.aweber.com/form/displays.htm?id=jGwcjOwMnIysTA==" border="0" />
    </form>
    </center>
    
       <?php include (ABSPATH.'wp-content/flashfader/flashfaderhtml.txt'); ?> 
    
    	   <?php// if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
    
               <!--<li>-->
               <!--<h2>--><?php// _e('Categories'); ?><!--</h2>-->
                  <!-- <ul>-->
                   <?php //wp_list_cats('sort_column=name&hierarchical=0'); ?>
                   <!--</ul>-->
              <!-- </li>-->
    
    	   <?php //endif; ?>
    	   <!--</ul>-->
       </div>
Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter neilcg

    (@neilcg)

    Hi Henkholland

    Hey Ho! may I call you a genious. It worked.

    I tried the code in one place in the stylesheet and it did nothing so tried another spot and that did the trick.

    Superb!

    My next task is to insert an image into the header. I have a basic idea how to do this, but as I dont yet have the image I want, I am having a new graphic done, it will be a few days before I try.

    So thank you very much for your help so far you have been great.

    Neil

    Ok Neil. Try also the docs and the Search in the forum on this header thing! It helped me a lot. I am only seven months “on WordPress”.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Alignment of an image’ is closed to new replies.