...

View Full Version : Align text worpdress



DreamGurda
05-27-2012, 07: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.

11219

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;">
</h2>
<div class="textwidget">
<aside id="text-2" class="widget widget_text col-3">
<h2 class="widget-title">
<div class="textwidget">
<div>
<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>
<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>
</span>
</div>
<div>
<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>
</div>
</div>
</aside>
</div>
</aside>

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

Thanks for your time :)

EpicWebDesign
05-27-2012, 10: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

badwolf
05-28-2012, 01: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