Thread Locked This thread is locked - replies are not allowed.


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Pages: 1 - Last Post: 20 Jan 23, 14:32 Last Post By: JeffTucker Threads: [ Previous | Next ]
uhartmann

Posts: 12
Registered: 1-Feb-2011
Neptune: Links above the thumbnails
Posted: 20 Jan 23, 13:32
 
After using old versions of jAlbum and Neptune for quite a while, I updated to the new versions, and now the links I want to put above the thumbnails don't work as expected any more. Instead of beeing all displayed in one line, the links are now in one separate line each. I assume there is something wrong with the CSS code I inserted in the "Code" section of the Neptune settings.

I used the method as decribed in this old thread:
https://jalbum.net/forum/message.jspa?messageID=340649#340649

I used the CSS
.ne-infotxt > div {display: inline-block; width: 50.00%;}


which got changed while updating the album to
.ja-infotxt > div {display: inlija-block; width: 50.00%;}


I changed ".ja" to ".ne", but that didn't solve the problem.

The "Text that will be inserted above thumbnail table" is for example:

<div><a href="http://viewpics.de/A">A</a></div><div><a href="http://viewpics.de/B">B</a></div>


Any hints how to fix the problem? Thanks!
JeffTucker

Posts: 8,360
Registered: 31-Jan-2006
Re: Neptune: Links above the thumbnails
Posted: 20 Jan 23, 13:53   in response to: uhartmann in response to: uhartmann
 
The routine in the skin update that "fixes" the custom code is a little too aggressive, and changed something it shouldn't have. The correct line should be:
.ja-infotxt > div {display: inline-block; width: 50.00%;}
In changing all occurrences of ne- to ja-, it also changed inline-block to inlija-block, which is not exactly proper CSS! ;)
uhartmann

Posts: 12
Registered: 1-Feb-2011
Re: Neptune: Links above the thumbnails
Posted: 20 Jan 23, 14:20   in response to: uhartmann in response to: uhartmann
 
Thanks a lot, it works now as expected.
JeffTucker

Posts: 8,360
Registered: 31-Jan-2006
Re: Neptune: Links above the thumbnails
Posted: 20 Jan 23, 14:32   in response to: uhartmann in response to: uhartmann
 
Before you update any older albums, install this beta version of Neptune, which no longer makes the same mistake when doing the automatic "correction" of custom code:

https://jefftucker.jalbum.net/Neptune.jaskin
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums