1
boazleung
How to remove the double line frame for each item at the center block?
  • 2005/12/24 3:29

  • boazleung

  • Just popping in

  • Posts: 14

  • Since: 2005/10/6


Dear all XOOPS professional,

I'm using the default theme and would like to remove the double line frame for each item at the center block.

Could anyone show me the details to edit it; i.e. open which file and which portion should be edited!

Much Thanks!

Boaz
New user

2
skenow
Re: How to remove the double line frame for each item at the center block?
  • 2005/12/24 4:51

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


The appearance of the blocks is controlled by your theme - in your themes directory, open the style.css file and look for the .blockTitle, .blockContent for each column. You can make changes there. Also, in theme.html, each block is surrounded by a <fieldset> tag, which draws another box around the block.

Hope this helps!

3
Quest
Re: How to remove the double line frame for each item at the center block?
  • 2005/12/24 12:03

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


Find the "theme_blockcenter_c.html" file for the Default theme and open it with your editor. You will see:

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

Remove the <fieldset> tag and the closing </fieldset> tag and save the file.

This will get rid of the surounding fieldset line. However you may want to edit your style.css to reflect a new look for your center blocks.


Open your css folder for the Default theme and then the style.css file with your editor. You can change the look and feel for the center blocks by editing these:

td#centerCcolumn {padding: 0px 3px 1px 3px;}
td#centerCcolumn legend.blockTitle {padding: 3px; color: #639ACE; font-weight: bold; margin-top: 0px; margin-right: 0px; margin-left: 0px;}
td#centerCcolumn div.blockContent {margin-right: 0px; margin-left: 0px; margin-bottom: 2px; line-height: 120%;}


Do the same for the td#centerLcolumn and the td#centerRcolumn. You can use the td#leftcolumn or td#rightcolumn legend.blocktitle and div.blockContent as examples.

4
boazleung
Re: How to remove the double line frame for each item at the center block?
  • 2005/12/24 15:59

  • boazleung

  • Just popping in

  • Posts: 14

  • Since: 2005/10/6


Thanks you for your valuable input, thanks a lot.

Login

Who's Online

210 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

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

Latest GitHub Commits