1
Chainsaw
XMT Help - how to remove border around centre block
  • 2005/11/19 7:42

  • Chainsaw

  • Quite a regular

  • Posts: 304

  • Since: 2003/9/28


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.

site in progress http://www.nzbus.co.nz
XOOPSed and Excited!
http://www.albanycc.org.nz...

2
studioC
Re: XMT Help - how to remove border around centre block
  • 2005/11/19 8:21

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


guten morgen ;)

add :

fieldset {
border: none;
}

at the end of style.css of that theme.

3
Chainsaw
Re: XMT Help - how to remove border around centre block
  • 2005/11/19 9:12

  • Chainsaw

  • Quite a regular

  • Posts: 304

  • Since: 2003/9/28


I've tried that and it doesn't work

td#centerCcolumn { padding: 0 3px 1px 3px; border: none;  }
td#centerCcolumn div.blockTitle {margin: 0 0 10px 0;font: bold 1.6em 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; }
td#centerCcolumn div.blockContent { margin: 0 0 20px 0; border: none; }
XOOPSed and Excited!
http://www.albanycc.org.nz...

4
studioC
Re: XMT Help - how to remove border around centre block
  • 2005/11/19 11:23

  • studioC

  • Friend of XOOPS

  • Posts: 922

  • Since: 2003/12/7


your td#centerCcolumn is within a fieldset and setting boder to none for preferences fieldset should work!
anyway i can't find an entry in your

http://www.nzbus.co.nz/themes/snz/css/style.css

try

fieldset {
border: 0px;
}

instead of border none

5
Chainsaw
Re: XMT Help - how to remove border around centre block
  • 2005/11/19 19:37

  • Chainsaw

  • Quite a regular

  • Posts: 304

  • Since: 2003/9/28


Thanks. I've tried the 0px approach as well as trying to set the border color to be the same as the background, all without success. What stumped is where the border is coming from and I've been trying to locate the fieldset by changing the border-color. I've had no success so far.
XOOPSed and Excited!
http://www.albanycc.org.nz...

6
dickinsd
Re: XMT Help - how to remove border around centre block
  • 2005/11/19 20:25

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


You need to be looking at this line:

#page-ml {margin: 20px 80px 20px 80px;padding: 0;background: #fff url("../images/ml.png") repeat-y left;}

Hope it points you in the right direction.

Dave

7
Chainsaw
Re: XMT Help - how to remove border around centre block
  • 2005/11/20 4:06

  • Chainsaw

  • Quite a regular

  • Posts: 304

  • Since: 2003/9/28


Quote:

dickinsd wrote:
You need to be looking at this line:

#page-ml {margin: 20px 80px 20px 80px;padding: 0;background: #fff url("../images/ml.png") repeat-y left;}

Hope it points you in the right direction.

Dave


I think that fieldset is to control the left margin of the body block.

It doesn't remove the border around my CenterCcolumn.
XOOPSed and Excited!
http://www.albanycc.org.nz...

8
carnuke
Re: XMT Help - how to remove border around centre block
  • 2005/11/20 4:57

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


The fieldset does create the block line you describe. If you look at the code here for theme_blockcenter_c.html
<div style="padding: 5px;">
  <
fieldset>
    <{if 
$block.title != ""}><legend class="blockTitle"><{$block.title}>legend><{/if}>
    <
div class="blockContent"><{$block.content}>div>
  fieldset>
div>


the line is created by 'fieldset' you can simply remove the tag as follows ...



<div style="padding: 5px;">
      <{if 
$block.title != ""}><legend class="blockTitle"><{$block.title}>legend><{/if}>
    <
div class="blockContent"><{$block.content}>div>
  div>


or as studioC described add an attruibute in the CSS.

If you are not seing these changes, I think you need to clear templates_c and make sure your theme is set to update in admin preferences.
hhttp://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

9
Chainsaw
Re: XMT Help - how to remove border around centre block
  • 2005/11/20 5:58

  • Chainsaw

  • Quite a regular

  • Posts: 304

  • Since: 2003/9/28


Yay that worked when I removed the fieldset tags.

Thank you so much!!!!
XOOPSed and Excited!
http://www.albanycc.org.nz...

10
dickinsd
Re: XMT Help - how to remove border around centre block
  • 2005/11/20 12:12

  • dickinsd

  • Quite a regular

  • Posts: 278

  • Since: 2004/11/14


oops.

Mis-read question, glad you got it sorted though.

Dave

Login

Who's Online

296 user(s) are online (200 user(s) are browsing Support Forums)


Members: 0


Guests: 296


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