Announcement

#1 2014-04-27 16:25:11

HarryF
Member
2013-09-25
25

[resolved] Icon problem with elegant template

Hello,

last days I switched my Piwigo gallery (2.5.4) to another (intranet) server and first everything looked fine. But then I realized that on the thumbnail and picture pages the icons in the upper right corner were missing (see enclosed images) - and I couldn't find out why.

Anyone an idea what could happen and how I can solve this problem.

Piwigo version: 2.5.4
PHP version: 5
MySQL version: 5.5.37-0ubuntu0.13.10.1
Piwigo URL: not available in public

Thanks in advance
Harry


Uploaded Images

Offline

 

#2 2014-04-27 17:04:19

flop25
Piwigo Team
2006-07-06
6900

Re: [resolved] Icon problem with elegant template

Hello
without access this is going to be very hard to guess

start to check the html and tell us what's rendered


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2014-04-27 17:45:57

HarryF
Member
2013-09-25
25

Re: [resolved] Icon problem with elegant template

Hello,

thanks for reply. Sorry, but the gallery is on a server without connection to the internet. I hope we'll get it anyway.

The HTML looks fine for me but the CSS seems to be strange. When I look into Firebug I see that there is only 4 x 15 px space for <span class="pwg-icon pwg-icon-sizes"> and 0 x 15 px for the other icons. That can't be right. The second wrong entry is that the <a ...> for the icon to change the image size is 26 x 15 px an the rest 26 x 0 px. I attached Firebug screenshots.

I guess somehting went wrong with calculating the screen output for the resolution (1920 x 1200).

Regards
Harry


Uploaded Images

Last edited by HarryF (2014-04-27 17:50:52)

Offline

 

#4 2014-04-29 18:52:48

HarryF
Member
2013-09-25
25

Re: [resolved] Icon problem with elegant template

Hello all,

after some CSS experiments I found the solution myself.

I added the line

.pwg-icon {display: block; height: 26px; width: 26px;}

to the CSS section of the LocalFiles Editior in the backoffice of Piwigo. I don't have a clue why the rendering fails in that point on my Linux Firefox (it worked fine on Windows) but with the CSS addition it looks good.

Harry

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact