Hi
I have the Rainy Day theme on my website.
Is it very difficult to make the gallery description as a "box" which fits the size of the text written in gallery description?
So if I write a long description, lets say some info about some new pictures, then the "box" is big, but if the description is short (few words) then the box is small.
See here what happens if I write alot in the gallery description:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.larsemil.dk%2Ftemp%2Ftest2.jpg&hash=77096ac77b07645438f1d6c463573bbdbc045dd1)
If its impossible with the rainy day theme, I can use another theme.
I´m very new to coding :-[
Edit themes/yourtheme/style.css
Add
.desc {
border: 1px solid; /* You can change the style of border to whatever you like */
}
just before
body {
then edit themes/yourtheme/template.html
Replace
{GAL_DESCRIPTION}
with
<span class="desc">{GAL_DESCRIPTION}</span>
I guess this will work with all themes.
ok
I´ll try that.
Do you have an idea of what I should write here: border: 1px solid; /* You can change the style of border to whatever you like */
or perhaps you can write how it should be, and then I can shange the numbers myself. Because I have no idea of how it should be.
border: 1px solid;
will draw a border of 1px size and solid style in black color. Tell me how do you like the border to be? First try the code as it is and then decide.
ok.
I have added the thing you said. See how it looks now: http://www.larsemil.dk
There is a border, but not exactly how it should be.
I would also like the text to be under eachother to the left (like when you write a text in Word).
Ok change the desc class to
.desc {
border: 1px solid;
text-align: left;
}
and in template.html put
<p class="desc">{GAL_DESCRIPTION}</p>
instead of
<span class="desc">{GAL_DESCRIPTION}</span>
Very nice.
Thanks 8)
Where the text is, there is a dark border above and under it. When I write a long text in the gallery description, then the text comes above these two dark borders.
Is it in any way possible to prevent that. I mean to make the blue area where the gallery description is more wide when there is a long text?
No it is not possible since it is an image which is in background.
ok
Do you know of any themes/skins or anything else that fits Coppermine, where you can write a long "welcome message"?
The thing you have helped me with is great, but I would be awsome if I could write a long welcome message to the people visiting my website
Why are you writing welcome message in the gallery description?
There are other methods to do that.. You can edit template.html to put the message or use anycontent.php However start a new thread since we have one question per thread policy and now this topic is deviating from its path...
ok, thanks alot 8)