1
djgib
Silly quote box wont change colors to my theme!
  • 2003/12/13 4:52

  • djgib

  • Just popping in

  • Posts: 7

  • Since: 2003/11/21


I use alot of white font on my website. I have a black background and have managed to get everything to match up. However, I can't understand why I'm not able to change the background color of the quotation box. What variable in style.css to I need to change?

You can view my site at http://www.future-outpost.com

The forums are where the problem occurs most frequently.

2
tom
Re: Silly quote box wont change colors to my theme!
  • 2003/12/13 5:45

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


I've not tested any of the quote modules, I believe there are now about 3.

Which quote module are you using?

Do any of the quote modules contain there own CSS?

I ask as I know some module like XOSC contain there own CSS and request you insert a some.

3
Bassman
Re: Silly quote box wont change colors to my theme!
  • 2003/12/13 9:21

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


I have the same problem,I use random quote, but I haven't had time to investigate it yet :(

4
hsalazar
Re: Silly quote box wont change colors to my theme!
  • 2003/12/15 3:39

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


djgib:

The quotation box --as well as the code box-- have their own style selector. In the default theme, the selectors are:

Quote:

div.xoopsCode { background: #FFFFFF; border: 1px inset #000080; font-family: "Courier New",Courier,monospace; padding: 0px 6px 6px 6px;}
div.xoopsQuote { background: #FFFFFF; border: 1px inset #000080; font-family: "Courier New",Courier,monospace; padding: 0px 6px 6px 6px;}


Which, as you see, have a white background. Change these and your problem will be solved, hopefully.

Cheers.

5
hsalazar
Re: Silly quote box wont change colors to my theme!
  • 2003/12/15 3:40

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Bassman:

If you're using one of the random quote modules floating around, the ones I've seen aren't template-based, so probably you'll need to tamper with the PHP files that define the output to HTML.

Cheers.

6
Bassman
Re: Silly quote box wont change colors to my theme!
  • 2003/12/16 1:27

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Horacio,
this module uses random_quote_block.html, which contains only this:

<{$block.texto}>
<{$block.autor}>


Unfortunately the writer of this module appears to be Spanish, or at least his website does: http://www.zona84.com

7
hsalazar
Re: Silly quote box wont change colors to my theme!
  • 2003/12/16 3:14

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Bassman:

As your code snippet shows, the template used employs a class already defined in style.css:

Quote:

div.xoopsQuote { background: #FFFFFF; border: 1px inset #000080; font-family: "Courier New",Courier,monospace; padding: 0px 6px 6px 6px;}


So all you need to do is to change the background attribute in this selector.

By the way, what's unfortunate about the module's author being spanish? I'm mexican

Or perhaps you need some answers. If so, please post them here. I will either forward to him in spanish or try to answer them myself. Agreed?

Cheers.

8
Bassman
Re: Silly quote box wont change colors to my theme!
  • 2003/12/16 5:13

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


Horacio,
Many thanks for your help, on the ball as always :)

The only unfortunate thing about the author being Spanish, is my complete inability to speak or read Spanish :) no disrespect for Spanish (or Mexican) people intended!

If I ever need some Spanish translated, i'll know who to ask :)

Login

Who's Online

146 user(s) are online (102 user(s) are browsing Support Forums)


Members: 0


Guests: 146


more...

Donat-O-Meter

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

Latest GitHub Commits