-
AuthorPosts
-
September 1, 2015 at 2:48 pm #496412
hi guys
a couple of questions:1. on the site below, I want to disable the side portfolio navigation, since there are items I dont’ want included. Can you tell me how to do this? (also – mine is running in the wrong order for some reason – is that the default?)
2. on the same page, when I open the image at the top of the itinerary tab, it says it’s 2/8 images – including all the images on the page. Is there a way to disable this? I can see it happens in the gallery tab as well, where I would like only those image in the lightbox.
thanks
NancySeptember 2, 2015 at 12:23 pm #497012Hi Munford!
1. Use this code in Quick CSS field:
a.avia-post-nav.avia-post-prev.with-image { display: none; } a.avia-post-nav.avia-post-next.with-image { display: none; }
2. Remove it with this code:
.mfp-counter { display: none; }
Regards,
AndySeptember 2, 2015 at 12:28 pm #497016thanks –
regarding #2 b=above, I don’t want to hid the counter, I only want the lightbox to open that one image, or just the images in hte gallery tab, instead of pulling all the images on the page…September 7, 2015 at 3:44 pm #499295Hey!
Your just wanting to open up one image on it’s own instead of in a group correct?
Surround the image with this.
<div class = "avia-slideshow"> </div>
Or this.
<div class = "avia-gallery"> </div>
And it should open up on it’s own unless your using a gallery or a slideshow in the page.
You could also try this out.
<div class = "post-entry"> </div>
Regards,
ElliottSeptember 9, 2015 at 3:45 pm #500496HI Elliot
Thanks for the code. that worked!
I still don’t understand about the images opening in the lightbox. Where would I put those <div> tags? If there is just one image, like the map on this page: http://andesworldtravel.com/trips/cruise-anahi/#tab-id-2, why do all the images on the page open when I open that one in lightbox? Shouldn’t just that one image open?- This reply was modified 9 years, 3 months ago by Munford. Reason: portfolio navigation, lightbox images
September 10, 2015 at 2:53 pm #501050Hi!
Unless you separate them into groups using the divs they will all open up in the same gallery. You could right click the page source and copy the HTML for your image and then paste it inside a codeblock element and surround it with the divs that way.
Cheers!
ElliottSeptember 10, 2015 at 3:03 pm #501058I see – thanks, but I don’t know what you mean by a codeblock element – where do I add that to the html? I understand css, etc. but not that.
thanks for your help
nancySeptember 10, 2015 at 4:13 pm #501120Hi!
when editing a page with ALB go to “Content Elements” and choose “Code Block”.
Regards,
AndySeptember 10, 2015 at 4:59 pm #501166Oh – did not know that existed!
So I just use the <div> tags to target whatever images are on the page? Does it have to be placed anywhere special?
thanks for your help
Nancy- This reply was modified 9 years, 3 months ago by Munford.
September 10, 2015 at 5:36 pm #501216Hey!
Just wherever you want it to display.
<div class = "post-entry"> <a href = "URL to your fullsize image"> <img src = "URL to your thumbnail image" /> </a> </div>
Regards,
ElliottSeptember 10, 2015 at 5:41 pm #501224OK thanks I will try that….thanks
September 10, 2015 at 5:57 pm #501238OK so I put that code in (the top image on the page below) but it’s still opening all the image in the gallery. Do I also have to put code for the gallery to stop that? My gallery is in a tab…
thanks
NancySeptember 11, 2015 at 3:35 pm #501707Hey!
Switch it to “avia-slideshow”.
Best regards,
ElliottSeptember 15, 2015 at 10:20 am #503161thanks
September 15, 2015 at 2:11 pm #503346Hi!
glad Elliott could help. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.
Regards,
Andy -
AuthorPosts
- The topic ‘disable portfolio navigation, gallery lightbox’ is closed to new replies.