Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 23 Apr 2005, 18:21
HeloHi's Avatar
HeloHi HeloHi is offline
 
Join Date: Feb 2005
How do I alternate quote box color?

I use alternating post colors, I know that using the main CSS for a certain template to change the alt2 color sets the quote box to that color. But on the even reply posts, if someone quotes, the color of the quote box is the same color as the post itself.

So what I am wondering is, how to make the quote box alternate color to the post it is in. If it is a quote in a post that is using alt1 color, I would like the quote box to use the alt2 color, and if it is a quote in a post using alt2 color, I would like the quote box to use the alt1 color.

Am I missing something simple here? Please help!

here is my bbcode_quote template:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I know it needs to be changed to reach the effect I desire, but I am a total n00b coder. Any suggestions?

Last edited by HeloHi; 23 Apr 2005 at 20:11. Reason: Automerged Doublepost
Reply With Quote
  #2  
Old 23 Apr 2005, 20:45
Telkman Telkman is offline
 
Join Date: Jul 2003
If the post colour is simply defined through the normal .alt1/.alt2 classes, try this...

Replace:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

With:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then in your "Additional CSS Definitions" for the style in question, add css declarations for the styling you want...

e.g.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Obviously the classes can be changed if you're using something else...)

Last edited by Telkman; 23 Apr 2005 at 21:26.
Reply With Quote
  #3  
Old 23 Apr 2005, 21:01
HeloHi's Avatar
HeloHi HeloHi is offline
 
Join Date: Feb 2005
Thanks

That works, in that it alternates the color of the quote box, but it is the same color as the post it is in. I am trying to make the quote box the opposite color. I am sure it is only some small modification I need to make.

here is a sample thread:
http://www.forums.paraplanet.com/showthread.php?t=55

If I can make it to where the colors of the quote boxes are switched, then my goal would be met!
Reply With Quote
  #4  
Old 23 Apr 2005, 21:04
Telkman Telkman is offline
 
Join Date: Jul 2003
Sorry, those should be ".alt1.altquote" and ".alt2.altquote".

They went the same colour as the posts because the classes were invalid - if you just add those .'s, one will go bright red, the other bright blue, obviously you'll want to change those to your choice of colours.
Reply With Quote
  #5  
Old 23 Apr 2005, 21:19
HeloHi's Avatar
HeloHi HeloHi is offline
 
Join Date: Feb 2005
Hmmm it doesn't seem to be working...

I changed the:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

by switching the background colors to test it, and it only seems to be using alt2 part for every quote, instead of alternating.
Reply With Quote
  #6  
Old 23 Apr 2005, 21:26
Telkman Telkman is offline
 
Join Date: Jul 2003
Try ".alt1 .altquote" and ".alt2 .altquote"

Sorry, I'm not particularly awake!
Reply With Quote
  #7  
Old 23 Apr 2005, 21:30
HeloHi's Avatar
HeloHi HeloHi is offline
 
Join Date: Feb 2005
I LOVE YOU

It works flawlessly! Thanks for the help, I really really appreciate it!!!
Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alternate Quote Layout (plus explanation for new stylers) ronoxQ vBulletin 3.5 Template Modifications 7 02 May 2010 20:46



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:28.

Layout Options | Width: Wide Color: