Member
Member
redstick   30-07-2017, 13:04
#1

There is a problem with the positioning of the Favourites selector when I add a detailed description to my albums. The easiest way to demonstrate is by this link.

http://www.redstick-enterprises.co.uk/sfa2/Family%20Events/

you will need to log in with 'test-user' & test123

you will then be able to see how the 'favourites' position is affected by the album description text.

I'm not sure if this is problem needs to be corrected within the theme or the plug-in (I suspect it should be within the plug-in)

Any ideas?

Administrator
Administrator
acrylian   30-07-2017, 15:54
#2

It is primarily the theme I guess. The theme is quite old and uses a quite outdated static layout as basically all. Therefore it actually it will not be around forever (probably most currently included themes won't). But I try to take a look when I get the time if this can be easily fixed.

Administrator
Administrator
fretzl   30-07-2017, 15:58
#3

I have a quick and dirty solution that may help for now.
Normal visitors won't see it anyway

In your theme folder find [i]style.css[/i] and add these lines to the bottom.
`
.album .albumsFavorites_add {
position: absolute;
top: -10px;
left: -10px;
}

.album .tagSuggestContainer {
display: block;
}
`
This way you can at least access the button and textfield.

Note that any changes to standard themes will be lost with updates.

Member
Member
redstick   30-07-2017, 18:51
#4

Thanks for your suggestion. Unfortunately it hasn't made much difference. You can still log in and check.

I understand about losing the changes, but I have copied the theme and I am using the copy to make and test changes. However, this problem happens with the the un-modified theme which is the one in use at the moment.

Administrator
Administrator
fretzl   30-07-2017, 20:43
#5

I see what you mean. Let's try something else.

  • Undo the previous change.

  • In the same file ([i]style.css[/i]):
    -- remove line 465 ([i]height: 95px;[/i])
    -- remove line 488 ([i]height: 90px;[/i])
    -- add this somewhere in the file:
    .album:nth-child(even) { clear: both; }
    Be sure to check how it looks when you're not logged in.

A few things to note:
The theme is simply designed up to deal with such long album/image titles.
A better way would be to use the description field which is truncated at 45 characters...and to use shorter titles.
Anyway, glad to see you're at it ;-)

Member
Member
redstick   30-07-2017, 22:03
#6

Changes made to style.css and you can see the effect if you log in again.

The gallery is private, so nobody would see any 'Favourite' options unless they log in.

I will look at shortening the titles, but would prefer not to.

Administrator
Administrator
fretzl   31-07-2017, 07:11
#7

It looks like you forgot to undo the first change.

Member
Member
redstick   31-07-2017, 08:07
#8

Ooops. :)

Yes, the new changes seem to have made a difference.

Thanks

I've no doubt I'll be back soon in a new topic with more questions :)

Administrator
Administrator
fretzl   31-07-2017, 08:25
#9

Sorry, made another mistake. (as you can see on the first row)

Let's start fresh with the original [i]style.css[/i] file and only remove lines 465 and 488.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.