1
mjz55
colums are expanding
  • 2011/2/4 19:04

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


I hope this is the correct form to ask this question because I think it is something in the coding for the theme. I have a 3 column front page. The right column keeps expanding with two items I added to a block. It also doesn't center the "nixle" logo. Both the nixle seems too wide and so does the facebook friend info.

www.coopersburgema.org


Thanks in advance for your help.

2
playsome
Re: colums are expanding
  • 2011/2/4 20:51

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


Hi,

you're right column could be expanding because the element you added to the right block is wider that the width of the column, the column will expand to fit the content.

To centre the nixle logo add text-align:center; to the <td> element which contains the logo.

<td style="padding: 5px; text-align:center"><img height="50" align="center" alt="" src="http://i.nixle.com/uploads/support/images/badge2.gif"></td>

3
mjz55
Re: colums are expanding
  • 2011/2/4 22:22

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


hmmm, tried it and it didn't work. i must have done something wrong. on your first comment about my expanding due to element is too wide. i don't know how to make it smaller.

4
playsome
Re: colums are expanding
  • 2011/2/4 22:54

  • playsome

  • Not too shy to talk

  • Posts: 197

  • Since: 2009/4/15


The logo centering should work using text-align:center, I tried it using firebug and it seemed OK. Try wrapping the code for the logo inside a dive with the align set to center

<div align="center"><img height="50" align="center" alt="" src="http://i.nixle.com/uploads/support/images/badge2.gif" /></div>


As for the columns issue look at your themes css file and see if the right column is set to a specific width such as width:150px;

If it is set to a width smaller that your element (like the homeland security thing) then the column will expand to fit the width of the element.

See if your columns is a set width, you can edit the width of the advisory image to be smaller.

<img width="177" height="20" border="0" src="http://www.nationalterroralert.com/advisory7.gif">


change the value of width="177" to the same widht as the right column and change the height="20" value to keep the same aspect ration, the only thing is the image might not look great if the size is reduced.

If you are wanting to have both columns the same width you would have to modify the theme to make right and left columns wider and set them to be the same width in the css, but if you insert wider images, etc it will always make the columns wider.

5
mjz55
Re: colums are expanding
  • 2011/2/7 16:19

  • mjz55

  • Quite a regular

  • Posts: 298

  • Since: 2007/1/18


Hey, thanks so much for your help. I think I have it now.

Login

Who's Online

179 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 179


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits