Author Topic: Two simple questions. Moving a module, and replacing the search bar.  (Read 4313 times)

Citrustech

  • Beginner
  • *
  • Posts: 22
Re: Two simple questions. Moving a module, and replacing the search bar.
« Reply #15 on: June 26, 2009, 21:45:17 pm »
How is right column div, inside popular div? it's outside Popular div. It starts right after popular ends. Thanks!

salobon

  • Jr. Member
  • **
  • Posts: 317
    • Herbolution
Re: Two simple questions. Moving a module, and replacing the search bar.
« Reply #16 on: June 26, 2009, 23:07:13 pm »
in template.css find and fix this
Code: [Select]
#leftcolumn, #rightcolumn {template.css (line 335)
background:transparent url(../images/column_middle.png) repeat-y scroll left top;
display:inline;
float:left;
margin:0 10px 0 0;
width:220px;
split them up into two definitions and left make float:left, and right - float:right.


and whole div container that you moved in after "popular" now place in front of it (meaning after "newsflash")

Citrustech

  • Beginner
  • *
  • Posts: 22
Re: Two simple questions. Moving a module, and replacing the search bar.
« Reply #17 on: June 27, 2009, 07:50:01 am »
Hello,
Ok my template.css looks like this now:
Code: [Select]
}

#leftcolumn {
background: url(../images/column_middle.png) repeat-y top left;
float: left;
display: inline;
width: 220px;
margin: 0 10px 0 0;
}

#rightcolumn {
background: url(../images/column_middle.png) repeat-y top left;
float: right;
display: inline;
width: 220px;
margin: 0 10px 0 0;
}

And my index.php looks like this now:

Code: [Select]

<div id="newsflash">

<jdoc:include type="modules" style="rounded" name="top" />

</div>
                   
<div id="rightcolumn">

<div class="column_top">

<div class="column_bottom">

<jdoc:includetype="modules"name="right"style="rounded"/>

</div>
</div>
</div>

<div id="popular">

But it still looks the same on the site. Did I do all that right, or are we still troubleshooting?

salobon

  • Jr. Member
  • **
  • Posts: 317
    • Herbolution
Re: Two simple questions. Moving a module, and replacing the search bar.
« Reply #18 on: June 27, 2009, 15:45:06 pm »
just remove margin styling for rightcolumn and you are good to go! :)
margin:0;

Citrustech

  • Beginner
  • *
  • Posts: 22
Re: Two simple questions. Moving a module, and replacing the search bar.
« Reply #19 on: June 27, 2009, 19:17:00 pm »
There we Go!, Thanks so much for your help! - John