21
grega1
Re: XMT Help - how to remove border around centre block
  • 2007/10/30 6:32

  • 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.

<body>
<?php if ($this->_tpl_vars['xoops_isuser'] == 1): ?>

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

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

Hope this helps others.

Greg

22
codos
Re: XMT Help - how to remove border around centre block
  • 2007/11/15 19:36

  • codos

  • Just popping in

  • Posts: 1

  • Since: 2007/11/13


How do I remove the borders around the center block? I've cloned the XMT theme. But I can't seem to find where the borders are set up in the CSS file.

codos
----------------------------------------
Sdinet

23
daystorm
Re: XMT Help - how to remove border around centre block
  • 2007/12/11 2:15

  • daystorm

  • Just popping in

  • Posts: 5

  • Since: 2005/1/25


I am experiencing the same thing.

I would like to remove the title, border and spacing
of custom blocks.

Earlier posts indicate that it is in the syle sheet using
<fieldset>.

I am using a clone of the the blueshine theme.

I can delete the entire CSS set and everything goes everywhere...but there is the border and the title sitting
pretty as you please!

So it is not in the style sheets.

Any help would be appreciated.

24
BlueStocking
Re: XMT Help - how to remove border around centre block

https://xoops.org/userinfo.php?uid=11561 <<-Snow77 made that theme, so you might be able to pm him for the answer, if someone else does not come to the rescue.

his webpage is http://www.xoopsdesign.com if that will help.
https://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

25
stefan88
Re: XMT Help - how to remove border around centre block
  • 2007/12/11 7:40

  • stefan88

  • Community Support Member

  • Posts: 1085

  • Since: 2004/9/20


Hi,

Quote:
I would like to remove the title


you can't do this with CSS.

You need to edit your theme - find:
<div class="blockTitle"><{$block.title}></div>


or simething similar and replace it with somethig like:

<{if $block.title !=""}>
    <
div class="blockTitle"><{$block.title}></div>
  <{/if}>


then use empty tytle for the block ind it will hide it.

You may use some conditional statement and some format to hide titles like if the title is [The block title I want to hide] to hide. In that case it will be easyer to identify blocks in block management.
..

Login

Who's Online

49 user(s) are online (27 user(s) are browsing Support Forums)


Members: 0


Guests: 49


more...

Donat-O-Meter

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

Latest GitHub Commits