Craig Bennett
Forum Replies Created
Viewing 6 posts - 31 through 36 (of 36 total)
Viewing 6 posts - 31 through 36 (of 36 total)
Hi Guust,
That’s not the issue I’m having, on the post type in question it’s set to unlimited images, and the images display fine on the actual listing detail page, using the default slider.
The problem is there is only 1 showing in the WordPress media library, even if I’ve upload 5 images to an individual listing.
Cheers, Craig
Hi Guust,
Just noticed you reply after adding the comment above.
I’d tried doing it with css, problem I had was my nav’s sub-menus overlap the map when it is normal size, so when I change the z-index of my menu the map is on top / overlapping the sub-menu when the map is normal size.
If I move the z-index the other way, the nav shows when the map is full screen.
The method above seems the easiest way, as it adds a new class to the map when it is full screen.
Cheers, Craig
Hi,
I’ve fixed the issue I was having by adding the following line of code to map.js around line 67:
jQuery('#' + map_canvas +'_triggermap').closest('.geodir_map_container').toggleClass('geodir_map_container_fullscreen');
Then added a new css rule for the new class – .geodir_map_container_fullscreen that increases the z-index when the map is full screen.
Any chance you could add it in the next version, or is there a way I can add the code to my functions.php in my child theme so it doesn’t get overwritten with every update.
Cheers, Craig
Thanks for the info Simone, for some reason I’d thought I’d been able to do it in an earlier version, must be mistaken.
You might as well close this thread then.
Cheers, Craig
Brilliant,
Thanks Vikas
Get the latest news, tips, and exclusive content directly in your inbox.
Confirm your email address, and instantly receive the discount code :)