1
libervis
How to remove a border from xoops default theme?
  • 2004/11/2 22:04

  • libervis

  • Not too shy to talk

  • Posts: 183

  • Since: 2004/7/4 1


Hello..

This is rather quick question. I believe there should be someone here that knows the answer.

I am building my own theme out of the default one and to be the official theme for my site and licenced as GPL so that i can give it for free download as GPL while i can't do that with even modified version of the currently used 7dana-jane theme because their licence forbids it.

So, how to remove that border around all center blocks.. There is one border inside for which i know where it is in CSS, but i couldn't find that outside border around the whole block.

I need to remove it so that it displays block as usuall with the full blocktitle over the whole block head.

Thank you
Daniel

2
carnuke
Re: How to remove a border from xoops default theme?
  • 2004/11/2 23:00

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Take a look here at the defautlt theme theme_blockcenter_c.html file


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

----------------------------
The fieldset is what creates the grey line box around the blocks.

Remove the <fieldset> something like this

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

Do this with all the template files in your modded theme.

3
libervis
Re:How to remove a border from xoops default theme?
  • 2004/11/2 23:24

  • libervis

  • Not too shy to talk

  • Posts: 183

  • Since: 2004/7/4 1


Thank you very much carnuke.

I did that and it's great, the border is gone. I also had to change the "legend.blocktitle" class to "div.blocktitle" in CSS file because i changed it from "legend" to "div" in html's as you said.

Thanks
Daniel

Login

Who's Online

126 user(s) are online (70 user(s) are browsing Support Forums)


Members: 0


Guests: 126


more...

Donat-O-Meter

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

Latest GitHub Commits