Customising light box or gallery popup on Website
FIXED- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Customising light box or gallery popup on Website
17-02-2017 6:12 PM - edited 17-02-2017 6:16 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
This, to me, seems an obvious requirement but I have failed miserably
From a Gallery View I want to control the position of the popup (lightbox I assume) so that the top edge is always below the menu bar
On a normal web page it is easy to locate an image but I have failed miserably in trying to get it to do what I want using Wordpress
This picture should explain it
Fixed! Go to the fix.
Re: Customising light box or gallery popup on Website
17-02-2017 6:37 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
in which case you need to look in the .js file and look for the position of the box.
it could be relative or absolute position, most likely in pixels.
Re: Customising light box or gallery popup on Website
17-02-2017 6:45 PM - edited 17-02-2017 6:47 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
It is actually Supsystic Gallery and they claim it can't be done - I will look for a .js file
A quick look and it certainly has several colorbox js files
17-02-2017 6:56 PM - edited 17-02-2017 7:13 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
@chenks76 Thanks for the pointer - you pointed me in the right direction
A quick Google and adding this to the custom CSS gets me nearly there - it just needs to be relative to the menu rather than fixed but that should be relatively easy (I hope)
#colorbox { top: 120px !important; }
I got it from here http://stackoverflow.com/questions/3353577/jquery-colorbox-how-can-i-change-the-position-of-the-colo...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Other forums
- :
- Tech Help - Software/Hardware etc
- :
- Customising light box or gallery popup on Website