change the picture for a reply (General)
Is it possible to change the picture for a reply in the text
Is it possible to change the picture for a reply in the text
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!
If you have a new reply!
Like this...
After opening topic ...
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
Hi Milo,
Yes, I use the last version 2.3.3 of MLF?
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
Hi Milo,
I assume that my image must have the same name?
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
Thanks for the detailed explanation.
Regards, Dirk
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.
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
Hi Milo,
We're going to try it, thanks!
I think that i have the good one:
Milo Sorry, but I do not understand exactly what to change and or supplement.
This image is sure not de good one!
I can not found this one:
<a class="replynew read" href="index.php?id=8098">change the picture for a reply</a>
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!
In the last line stay not the... 0 -398px; }
but only no repeat; }
Why so?
--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences
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).
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!