Change quote-style (in Subs.php)

Started by Ostro, August 15, 2008, 08:31:43 AM

Previous topic - Next topic

Ostro

I want to design a nice "quote"-box for my board.

Now, border-image only works with CSS3 = not yet
so I'm not able to change it through the style.css (well, at least I don't know how - if you do, could you tell me?)
That's why I want to change the output of quotes right in the code but I can't find the lines that describe it. I looked through display.php like 3 times and a few other files of which I thought it wouldn't be in there. (actually, right now I've searched for class="quote" in each .php and looked for any quote related stuff in each .js)

Where did developers put the look/creation of the quotes?

Forum Version: SMF 1.1.5
http://poa.mkrevo.de/forum/index.php [nofollow]

Thanks a lot for your help

[SiNaN]

#1
Style is in ../Themes/default/style.css defined under .quote and .quoteheader.

Though class is assigned in Subs.php file where BBC tags are defined.
Former SMF Core Developer | My Mods | SimplePortal

Ostro

Quote from: [SiNaN] on August 15, 2008, 10:44:58 AM
Though class is assigned in Subs.php file where BBC tags are defined.
Thanks. I will try if this works

[SiNaN]

But do you really need to change the class?
Former SMF Core Developer | My Mods | SimplePortal

Ostro

No, I wanted to change the style of the class "quote" because I didn't find anything about how and where BBC was defined. But border-image doesn't work yet. So I was kinda lost.

Subs.php was the right hint and I got round to change it. I will work a little more on this probably
Result:
http://poa.mkrevo.de/forum/index.php?topic=1.msg8#msg8 [nofollow]

Thanks a lot, really. I would have never looked that deep into the software itself.

[SiNaN]

Former SMF Core Developer | My Mods | SimplePortal

Ostro

Thanks :)
I want the forum to look more Mario Kart related but I'm not too good at designing. I have to work with little details here and there ;D

The support on SMF is really great, I have never experienced any support that is this fast, friendly and, most important, actually helping!

[SiNaN]

Understand. Maybe you look for a more colorful theme in the Theme Site. I'm sure you can find one suits Mario Kart. ;)

Thanks really. You're always welcome. :)
Former SMF Core Developer | My Mods | SimplePortal

Advertisement: