Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #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
    Nancy

    #497012

    Hi 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,
    Andy

    #497016

    thanks –
    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…

    #499295

    Hey!

    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,
    Elliott

    #500496

    HI 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
    #501050

    Hi!

    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!
    Elliott

    #501058

    I 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
    nancy

    #501120

    Hi!

    when editing a page with ALB go to “Content Elements” and choose “Code Block”.

    Regards,
    Andy

    #501166

    Oh – 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.
    #501216

    Hey!

    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,
    Elliott

    #501224

    OK thanks I will try that….thanks

    #501238

    OK 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
    Nancy

    #501707

    Hey!

    Switch it to “avia-slideshow”.

    Best regards,
    Elliott

    #503161

    thanks

    #503346

    Hi!

    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

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘disable portfolio navigation, gallery lightbox’ is closed to new replies.