[Solve] Theme MW2 and Quote icon...

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Scam Warning
Locked
ldd
Registered User
Posts: 26
Joined: Thu Feb 12, 2004 9:16 am
Location: France

[Solve] Theme MW2 and Quote icon...

Post by ldd »

Hello!

First of all thank you and congratulations to FanFanLaTuFlippe for the quality of the MW2 theme !

(My config : phpBB 3.0.8 and MW2 for 3.0.8)

I just installed the theme for the forum MW2 my son, and I would like to know how to make a small change: how to display an icon before the word [citation] when viewing a quote within a topic, the icon should be in the red ...

Thank you for your help!

oups... And Happy New Year !!! ;)
Last edited by ldd on Mon Jan 10, 2011 2:33 pm, edited 2 times in total.
LDD
ldd
Registered User
Posts: 26
Joined: Thu Feb 12, 2004 9:16 am
Location: France

Re: Theme MW2 and Quote icon...

Post by ldd »

FanFanLaTuFlippe wrote:Hi,

You need to save the icon in the directory : theme/images of the MW2 style (the better size is 15x15 or 18x18) if the picture is bigger, you need to adapt the padding of "quotetitle" at the line 816 in the stylesheet.css

1) open bbcode.html et find

Code: Select all

<!-- BEGIN quote_open -->
<div class="quotetitle"><b>{L_QUOTE}:</b></div><div class="quotecontent">
<!-- END quote_open -->
replace by

Code: Select all

<!-- BEGIN quote_open -->
<div class="quotetitle" id="icot"><b>{L_QUOTE}:</b></div><div class="quotecontent">
<!-- END quote_open -->
2) open stylesheet.css and find

Code: Select all

/* BBCode
 ------------ */
.quotetitle, .attachtitle {
	margin: 10px 5px 0 5px;
	padding:4px 4px 4px 20px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #111111;
	color: #AFAFAF;
	font-size: 0.85em;
	font-weight: bold;
	background: url("{T_THEME_PATH}/images/cellpic1.gif") top repeat-x;
}
replace by

Code: Select all

/* BBCode
 ------------ */
.quotetitle, .attachtitle {
	margin: 10px 5px 0 5px;
	padding:4px 4px 4px 20px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #111111;
	color: #AFAFAF;
	font-size: 0.85em;
	font-weight: bold;
	background: url("{T_THEME_PATH}/images/cellpic1.gif") top repeat-x;
}

#icot {
	background: url('{T_THEME_PATH}/images/icon_arrow.gif') no-repeat;
        background-position:4px;
    
}
***** my file is named ( icon_arrow.gif ) replace by the name of your icon.

Have a nice day :)

FanFan
My very Best Thank to FanFanLaTuFlippe !
LDD
Locked

Return to “[3.0.x] Styles Support & Discussion”