2014-08-28, 11:14 PM
Hey there!
So, I'm moving from Jcink forums to self hosted mybb. http://rebelwindrpg.com is the link. Now here comes my question.
I have custom bbcodes that I want to convert into the mycode to use with my forums. Most of my codes use CSS (they inherit the styling from my css) for their styling. I went to do this with the mycode and it wouldn't style.
This is my CSS for my rules template:
My bbcode for the above would look like this:
See how I've used div classes? And, because I've used the div class, my bolded text within the code colors to the color I've set.
My mycode for the above looks like this:
(words)
Why can't I use my div classes? It's not important, but if I can (or you can help me) get them to work, I would appreciate it. It's important to me that the bold text for each template I have be a different color.
Thank you so much!
So, I'm moving from Jcink forums to self hosted mybb. http://rebelwindrpg.com is the link. Now here comes my question.
I have custom bbcodes that I want to convert into the mycode to use with my forums. Most of my codes use CSS (they inherit the styling from my css) for their styling. I went to do this with the mycode and it wouldn't style.
This is my CSS for my rules template:
.rulestitle {
width: 450px;
text-align: center;
padding 20px;
font-family: Open Sans, serif;
color: #000;
font-size: 20px;
margin: 0 auto;
line-height: 150%;
font-weight: bold; }
.ruleswords {
width: 450px;
text-align: justify;
padding 20px;
font-family: tahoma;
color: #000;
font-size: 12px;
margin: 0 auto;
line-height: 150%; }
.ruleswords b {
color: #217585; }
My bbcode for the above would look like this:
<div class="rulestitle">(PARAM1)</div>
<div class="ruleswords">(PARAM1)</div>
See how I've used div classes? And, because I've used the div class, my bolded text within the code colors to the color I've set.
My mycode for the above looks like this:
(words)
<div style="width: 450px; text-align: justify; padding 20px; font-family: times new roman; color: #000; font-size: 13px; margin: 0 auto; line-height: 150%;">$1</div>
(title)<div style="width: 450px; text-align: center; padding 20px; font-family: Noto Serif, serif; color: #000; font-size: 25px; margin: 0 auto; line-height: 150%; font-weight: bold;">$1</div>
Why can't I use my div classes? It's not important, but if I can (or you can help me) get them to work, I would appreciate it. It's important to me that the bold text for each template I have be a different color.
Thank you so much!