1
Shijk
Gray Line
  • 2003/9/15 22:14

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


Hi there..

I've got a problem with the block RECENT TOPICS
The border is gray and I wanne change the color but I can't figure out where to do..

Here is a screenshot..
Resized Image

Ps: Sorry for my bad english..

2
hsalazar
Re: Gray Line
  • 2003/9/15 22:28

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Shijk:

That gray line you see appears so because that's the default behaviour in absence of a defined stylesheet selector. What you need to do is to include in your stylesheet a selector for the element fieldset, the responsible of the curved borders frame around your center-center block. So you need to add something like:
.fieldset
    
{
    
color#cc0000;
    
}


in your stylesheet. Of course you have to specify whatever color you want.

Cheers.

3
Shijk
Re: Gray Line
  • 2003/9/15 22:47

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


thnx for your reply..

but I can't find anything that looks like that


4
hsalazar
Re: Gray Line
  • 2003/9/15 22:59

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Shijk:

You can't find it because it's not defined. In the default stylesheet the selector fieldset is not included. However, if you see the files theme_blockcenter_c.html, theme_blockcenter_l.html, and theme_blockcenter_r.html (that are also part of the theme, of course), you'll see the selector invoked, though not defined.

So the solution is to add it to the stylesheet just as I suggested.

Cheers.

5
Shijk
Re: Gray Line
  • 2003/9/16 8:56

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


Sorry but I'm very bad with the html's..

This is my theme_blockcenter_c.html

<div style="padding: 5px;">
<fieldset style="border-color:#00ff00 border: 2px">
<legend class="blockTitle"><img src="<{$xoops_imageurl}>spacer.gif" width="10" height="10"><img src="<{$xoops_imageurl}>square.gif" width="10" height="10"><img src="<{$xoops_imageurl}>spacer.gif" width="10" height="10"><{$block.title}><img src="<{$xoops_imageurl}>spacer.gif" width="10" height="10"><img src="<{$xoops_imageurl}>square.gif" width="10" height="10"></legend>
<div class="blockContent"><{$block.content}></div>
</fieldset>
</div>

Thanx for looking at it

6
Herko
Re: Gray Line
  • 2003/9/16 9:01

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Quote:

Shijk wrote:
<fieldset style="border-color:#00ff00 border: 2px">


here's where you change the border color, or delete the reference to it.

Herko

7
Shijk
Re: Gray Line
  • 2003/9/16 9:15

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


I alreay tried that...
But doesn't work

Thnx for your reply

8
Herko
Re: Gray Line
  • 2003/9/16 12:17

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


then try this:
<div style="padding: 5px;">
<
div class="blockTitle"><img src="<{$xoops_imageurl}>spacer.gif" width="10" height="10"><img src="<{$xoops_imageurl}>square.gif" width="10" height="10"><img src="<{$xoops_imageurl}>spacer.gif" width="10" height="10"><{$block.title}><img src="<{$xoops_imageurl}>spacer.gif" width="10" height="10"><img src="<{$xoops_imageurl}>square.gif" width="10" height="10"></div>
<
div class="blockContent"><{$block.content}></div>
</
div>


Herko

9
Shijk
Re: Gray Line
  • 2003/9/16 15:13

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


Uhm.. I think I said it wrong..

I said:
Quote:
This is my theme_blockcenter_c.html


but that file was from the "templates_c" Folder..

And It also didn't work..

But my theme_blockcenter_c.htm from the map Themes looks like:

<div style="padding: 5px;">
<fieldset style="border-color:#00ff00 border: 2px">
<legend class="blockTitle"><img src="<{$xoops_imageurl}>spacer.gif" width="10" height="10"><img src="<{$xoops_imageurl}>square.gif" width="10" height="10"><img src="<{$xoops_imageurl}>spacer.gif" width="10" height="10"><{$block.title}><img src="<{$xoops_imageurl}>spacer.gif" width="10" height="10"><img src="<{$xoops_imageurl}>square.gif" width="10" height="10"></legend>
<div class="blockContent"><{$block.content}></div>
</fieldset>
</div>

Again thnx for the reply's

10
Herko
Re: Gray Line
  • 2003/9/16 16:08

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


My previous answer still applies here... Try that code and see.

Herko

Login

Who's Online

257 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 257


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