-
AuthorPosts
-
March 21, 2020 at 3:14 pm #1195079
Hi,
finally i got it to work to get to Lightboxes on the same page to work, there is only one thing i cant get to work.i waant to display only one thumpnail for every lightbox, i gave the first image element the first class an than set it with css to display none.
that work fine if there is only one lightbox but when i have to the second one will not be displayed because there is no fist set.here is my code, may someone can help me fix this:
<div class="bilderbox"> <div class="topogal"> <div class="detailitemheader"> Topobilder: </div> <div class="detailitem topoimg"> <ul class="topogals"> <div class="avia-gallery"> [each topobilder] <li class="topo [once]first[/once] "> <a href="{@_src.full}" data-lightbox="T (Email address hidden if logged out) }" class="lbimg " title="Topobilder: {@bergname} - {@routenname}" rel="Topobilder"> <img data-lightbox="Topobilder" src="{@_src}" class="lbimg [once]firstimg[/once]" /> </a> </li> [/each] </div> </ul> </div> </div> <div class="picgal"> <div class="detailitemheader"> Bildergalerie: </div> <div id="galbox" class="detailitem galerie"> <ul class="picgals"> <div class="avia-gallery"> [each bildergalerie] <li class="gal [once]first[/once]"> <a href="{@_src.full}" data-lightbox="Tourenbilder (Email address hidden if logged out) }" class="lbimg " title="Bildergalerie: {@bergname} - {@routenname}" rel="Tourenbilder"> <img data-lightbox="Tourenbilder (Email address hidden if logged out) }" src="{@_src}" class="lbimg [once]firstimg[/once]" /> </a> </li> [/each] </div> </ul> </div> </div> </div>
css file:
.galerie ul li.first{
display:block;
}
.galerie ul li{
display:;
}
.topoimg ul li.first{
display:block;
}
.topoimg ul li {
display:none;
}- This topic was modified 4 years, 9 months ago by traillight.
March 25, 2020 at 3:15 pm #1197691Hey traillight,
Unfortunately, it would require quite some time and customization of the theme to achieve this, so I am sorry to tell you that this is not covered by our support. However, if it’s really important for you to get this done, you can always hire a freelancer to do the job for you :)
Best regards,
VictoriaMarch 25, 2020 at 8:22 pm #1197851Im disappointed, are there only robots answering questions? Never saw an other answer than this! (stupid default answer!)
There is no customization of the theme needet only some css skills that i dont have.
I bet if someone who know css look at my code it sould be 5 mins tho fix it.Great support from professional Webdesigners!
March 26, 2020 at 3:03 pm #1198061Hi traillight,
We are here to help you with the issues with the theme, not fix the custom code written by customers. It is not just a css issue, it’s JavaScript and css.
Here is our support policy https://themeforest.net/page/item_support_policy?_ga=2.217719700.304356996.1585227780-789745893.1561568901
Best regards,
VictoriaMarch 26, 2020 at 9:40 pm #1198169Great, than say that and dont bring this stupid message all the time!
Just delete my qestion because it dont belong to the theme.March 27, 2020 at 8:19 am #1198261 -
AuthorPosts
- The topic ‘Two lightboxes with two thumbnails’ is closed to new replies.