Support » Themes and Templates » [Resolved] centering contactform fails

[Resolved] centering contactform fails

  • Hi,

    In the dashboard in the content section op my page I have:

    <div id="content-full" class="grid col-940">
        <div class="grid col-460">
           <div class="aligncenter">
              [contact-form-7 id="22" title="Contactformulier"]
        <div class="grid col-460 fit">

    I can’t seem to get this contactform centered like the featured image on the frontpage of the responsive theme. It keeps floating to the left.

    my template page looks like this:

    <div id="content-full" class="grid col-940">
    	<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    		<?php get_template_part( 'loop-header' ); ?>
    		<?php the_content();?>
    	<?php endwhile; else: ?>
    		<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    	<?php endif; ?>
    </div><!-- end of #content-full -->

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Can anyone help please? What is going wrong?



Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi


    Forum Moderator

    Try using Firefox with the Firebug add-on for this kind of CSS troubleshooting. Or use whatever developer tool is available in your web browser.

    Hi thanks, I found what was going wrong, thank you for your quick reply. I was using firebug already but I just overlooked something…


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] centering contactform fails’ is closed to new replies.