change the picture for a reply (General)
Is it possible to change the picture for a reply in the text
by Dirk, Saturday, January 03, 2015, 14:43 (3404 days ago)
Is it possible to change the picture for a reply in the text
by Auge , Saturday, January 03, 2015, 18:58 (3404 days ago) @ Dirk
Is it possible to change the picture for a reply in the text
What image you are talking about? The quotation mark at the begin of a cite? The "new" you have uploaded?
Tschö, Auge
--
Trenne niemals Müll, denn er hat nur eine Silbe!
by Dirk, Saturday, January 03, 2015, 20:01 (3404 days ago) @ Auge
edited by Dirk, Saturday, January 03, 2015, 20:46
If you have a new reply!
by Micha , Sunday, January 04, 2015, 09:56 (3404 days ago) @ Dirk
If you have a new reply!
There is no picture like your "NEW" in the default template. Do you use a custom style of MLF? Do you use the last version 2.3.3 of MLF?
The arrow-symbol is located in the bg_sprite_1.png-file
regards
Micha
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences
by Dirk, Sunday, January 04, 2015, 10:46 (3404 days ago) @ Micha
Hi Milo,
Yes, I use the last version 2.3.3 of MLF?
by Micha , Sunday, January 04, 2015, 10:55 (3404 days ago) @ Dirk
Hi Dirk,
Yes, I use the last version 2.3.3 of MLF
and a custom template? Anyway, you can change the image by editing the bg_sprite_1.png-file.
regards
Micha
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences
by Dirk, Sunday, January 04, 2015, 11:28 (3403 days ago) @ Micha
Hi Milo,
I assume that my image must have the same name?
by Micha , Sunday, January 04, 2015, 13:05 (3403 days ago) @ Dirk
Hi,
I assume that my image must have the same name?
The name of the image must be the same as in the CSS file. The new replies get the CSS class replynew
e.g.
<a class="replynew read" href="index.php?id=8098">change the picture for a reply</a>
The corresponding CSS reads for the image
a.replynew, a.replynew:link { background: url(images/bg_sprite_1.png) no-repeat 0 -398px; }
Thus, you can only change the image uri in the CSS:
a.replynew, a.replynew:link { background: url(images/my_new_image.png) no-repeat; }
In this case, no further modifications are necessary.
regards
Micha
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences
by Dirk, Sunday, January 04, 2015, 14:25 (3403 days ago) @ Micha
Thanks for the detailed explanation.
Regards, Dirk
by Dirk, Sunday, January 04, 2015, 16:57 (3403 days ago) @ Micha
Hi Milo,
Apologies, but I'm not a php expert.
That's the reason I do not know where I can find the ccs file.
by Micha , Sunday, January 04, 2015, 17:11 (3403 days ago) @ Dirk
Hi Dirk,
Apologies, but I'm not a php expert.
You don't need any knowledge in PHP. CSS is style sheet language.
I do not know where I can find the ccs file.
It is located at: /themes/default/
, if you use the default template.
Please note: To reduce bandwidth, MLF use the - hard to read - style.min.css
. A user friendly (uncompressed) version is given by style.css
. If you edit the style.css
, you have to modify the main.tpl
in line #12, too.
regards
Micha
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences
by Dirk, Sunday, January 04, 2015, 17:18 (3403 days ago) @ Micha
Hi Milo,
We're going to try it, thanks!
by Dirk, Sunday, January 04, 2015, 17:44 (3403 days ago) @ Dirk
I think that i have the good one:
by Dirk, Monday, January 05, 2015, 09:49 (3403 days ago) @ Dirk
Milo Sorry, but I do not understand exactly what to change and or supplement.
This image is sure not de good one!
by Dirk, Monday, January 05, 2015, 12:37 (3402 days ago) @ Dirk
I can not found this one:
<a class="replynew read" href="index.php?id=8098">change the picture for a reply</a>
by Auge , Monday, January 05, 2015, 14:51 (3402 days ago) @ Dirk
I can not found this one:
<a class="replynew read" href="index.php?id=8098">change the picture for a reply</a>
You can not find it because you read it before (it's not new anymore). At that point the class changes from replynew to reply.
Tschö, Auge
--
Trenne niemals Müll, denn er hat nur eine Silbe!
by Dirk, Monday, January 05, 2015, 18:05 (3402 days ago) @ Auge
In the last line stay not the... 0 -398px; }
but only no repeat; }
Why so?
by Micha , Monday, January 05, 2015, 18:23 (3402 days ago) @ Dirk
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences
by Dirk, Tuesday, January 06, 2015, 10:33 (3402 days ago) @ Micha
Hi Milo,
I found them, both at 0 -398 px; }
When my 'new' image has the same name it must go to work!
Sorry for my bad English, hihihi! (Google translation).
by Dirk, Thursday, January 08, 2015, 20:04 (3399 days ago) @ Dirk
It's too complicated for me. I do not want to risk losing my message board will no longer work! I'm too happy.
My apologies!