View Full Version : Align text worpdress

05-27-2012, 06:30 PM
Hi everyone !

I am very new at any form of coding and I have been working in a Wordpress theme. I am trying to align my "Contact" text with the rest of the text on the left.


Here is my code :

<aside id="text-3" class="widget widget_text col-3">
<h2 class="widget-title">
<cufon class="cufon cufon-canvas" alt="contact" style="width: 81px; height: 18px;">
<div class="textwidget">
<aside id="text-2" class="widget widget_text col-3">
<h2 class="widget-title">
<div class="textwidget">
<img style="float: left;" src="http://beta.ait-themes.com/magazine/wp-content/uploads/home.png" alt="home">
<p style="margin-bottom:10px; margin-left: 30px; ">550 Rue du Parc #120 Saint-Eustache, QC J7R 7G6</p>
<div style="margin-bottom:10px;">
<img style="float: left;" src="http://beta.ait-themes.com/magazine/wp-content/uploads/mail.png" alt="email">
<span style="margin-left: 9px;">
<a href="mailto:info@allardfitness.com">info@allardfitness.com</a>
<img style="float: left;" src="http://beta.ait-themes.com/magazine/wp-content/uploads/phone.png" alt="phone">
<span style="margin-left: 9px;">514-248-4540</span>

How can I align my "Contact" part with the rest of the text on the left ??

Thanks for your time :)

05-27-2012, 09:05 PM
I'm not sure quite what you are asking. Did you want the Contact info to appear under the Twitter header? Or under the Recent Article header? Or somwhere else. It appears the theme you are using is a 3-column layout, so the Contact is simply the 3rd column and the info beneath it is, in fact, left aligned.

I apologize if I've misunderstood your question. If you can clarify, I'd be happy to help

05-28-2012, 12:40 AM
Well some of your code is jacked. Your 2nd H2 tag isnt closed and none of your image tags are. Wonder why WordPress does that? I dont think either one of those thing have anything to do with your alignment issue. But I would at the very least close the H2 tag. It could fix it.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum