WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
[resolved] centering contactform fails (3 posts)

  1. Jimmy
    Member
    Posted 11 months ago #

    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>
        </div>
        <div class="grid col-460 fit">
        </div>
    </div>

    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?

    Thanks

    Jimmy

  2. esmi
    Theme Diva & Forum Moderator
    Posted 11 months ago #

    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.

  3. Jimmy
    Member
    Posted 11 months ago #

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

    Jimmy

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.