• Before posting a question, please check our Frequently Asked Questions page as well as previous threads here. Odds are you aren't the first to ask, and you may find the answer without having to post!

BBCode- Colored Accordions

Mylah

Queen of Delicacies
Hey!


I'm no newbie to BBCode, I'm pretty good at formatting things out.


However, I have seen people with colored accordions. By colored, I mean the background is different than the default gray.


If you would help me out with the coding, please let me know!
 
Like this?


Colored slide


Code:
[accordion]{slide=[bg=insert color code]Slide Title[/bg]}insert slide content here[/accordion]



There's supposed to be a { / slide } within the code and its not showing up. I don't know why.
 
Last edited by a moderator:
make sure to put a border somewhere in your cs or the gray will be there. if you don't have a border, you can do the following:

Code:
[border=0px solid white][accordion]{slide=[bg=color][border=optional but follow the border codes][color=optional]slide title[/color][/border][/bg]}[bg=color here][border=optional again][color=optional]
[/color][/border][/bg]{/slide}[/accordion][/border]
 
CRiTiCAL ERR0R]I have an entire tutorial on accordions here: [URL="https://www.rpnation.com/threads/yuus-bbcode-teahouse.134242/#post-3585911 said:
Yuu's BBCode Teahouse[/URL]
that lowkey promo tho
 

Users who are viewing this thread

Back
Top