1
grega1
Trying to get rid of one pixel of white space between columns
  • 2007/10/29 18:41

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


I am trying to get rid of the one pixel of white space between the columns on my home page. It runs from the top to bottom of the page. I believe it is space.gif, but I don't know where to delete the code for it from. I am running Theme Change to push a custom home page that uses a different theme than the rest of the site. I tried system.html in the themes directory for the homepage with no effect.

You can see what I am talking about on my homepage at http://www.marketagenda.com

Any help would be appreciated.

Thanks

2
Will_H
Re: Trying to get rid of one pixel of white space between columns
  • 2007/10/29 19:13

  • Will_H

  • Friend of XOOPS

  • Posts: 1786

  • Since: 2004/10/10


You have at least two sections.

Try to implement only 1.

If you post your theme.html we would be happy to help you.

3
grega1
Re: Trying to get rid of one pixel of white space between columns
  • 2007/10/30 1:13

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


Thanks Will,

here's the code from the theme dir being used for the homepage:

<{php}>
$GLOBALS['xoopsTpl']->assign( 'xoops_ugroup', $GLOBALS['xoopsUser']->_groups[0] );
<{/php}>












<{$xoops_sitename}> - <{$xoops_pagetitle}>
<{$calendarjs}>




<{$xoops_module_header}>





<{if $xoops_isuser == 1}>

<{include file="market/modules.html"}>

<{else}>

<{include file="market/system.html"}>

<{/if}>










Thanks.

4
Bassman
Re: Trying to get rid of one pixel of white space between columns
  • 2007/10/30 1:34

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Eh? Are you bethanyw? That's the same site from the other thread, but different user.

5
grega1
Re: Trying to get rid of one pixel of white space between columns
  • 2007/10/30 1:51

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


no, I'm not bethanyw (she's a lot smarter than me). We are both working on the same project and trying to figure this out together.

I didn't know that she already posted a thread...

Greg

6
Bassman
Re: Trying to get rid of one pixel of white space between columns
  • 2007/10/30 2:01

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Ah, OK. It seems that the CSS for the #centerCcolumn may be causing the problem.. try adjusting the padding.

7
grega1
Re: Trying to get rid of one pixel of white space between columns
  • 2007/10/30 6:33

  • grega1

  • Just popping in

  • Posts: 15

  • Since: 2005/1/6 1


I figured out the white line mystery. In the templates_c folder, there is a file homepage^theme.html. It was pointing to market/system.html instead of homepage/system.html. As a result it was using the market theme's module spacing. Here's the corrected code.


_tpl_vars['xoops_isuser'] == 1): ?>

_tpl_vars;
$this->_smarty_include("market/modules.html", array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>


_tpl_vars;
$this->_smarty_include("homepage/system.html", array());
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
?>


Hope this helps others.

Greg

Login

Who's Online

423 user(s) are online (253 user(s) are browsing Support Forums)


Members: 1


Guests: 422


DediRock,

more...

Donat-O-Meter

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

Latest GitHub Commits