News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

[Tip] Prettier Quotes for 2.0b3.1's default theme

Started by Deprecated, August 15, 2008, 04:06:39 PM

Previous topic - Next topic

Deprecated

QuoteExample: This block quote with the big quote image at left, and the background color goes better with the 2.0b3.1 default theme IMO.

I'm probably not the only person to notice that the quote boxes are prettier here at the SMF forum than on my default SMF 2.0b3.1 default theme. It's simple to change it.

In $themedir/style.css find:blockquote
{
    color: #000000;
    background-color: #D7DAEC;
    border: 1px solid #000000;
    margin: 1px;
    padding: 1px;
    font-size: x-small;
    line-height: 1.4em;
}


Replace it with:blockquote
{
    background: url(images/quote_bg.png) 5px 5px no-repeat #F0F3FC;
    border: 1px solid #AAA;
    margin: 1px;
    padding: 5px 5px 5px 28px;
    font-size: x-small;
    line-height: 1.4em;
}


Then add quote_bg.png to your $themedir/images folder:



To make it easy for those who are interested I've wrapped it up into a mod package (attached, for 2.0b3.1 only). I would submit it to the modsite but I think they already have enough itty-bitty mods, and I'm taking pity on the overworked modsite staff. :)


Moderators, please move this to the Tips & Tricks board if you think it qualifies. Thanks!

Hoochie Coochie Man

#1
Thanks @Deprecated
İnadına SMF 1.1.X

Advertisement: