-
- 35 Posts
Hi,
I have small problem with Gallery. Everything is working fine but i can’t style gallery completely the way i need into one of my websites.
<div class="gal-item"> is the source of my problem. I figured out how to disable web.css but this doesn’t solve my problem because the page is being generated with <div>. Basicly i need the album (thumbnails with link) generated without <div class="gal-item">, so only <a href...><img src...>. I also figured out how to make this happen by editing the gallery snippets. Here lies my problem, when the page is generated without the <div class="gal-item"> the gallery is exactly placed in the website the way i like it but... lightbox is not working anymore! When i click a image it opens the image in the same window (so no pop-up anymore). I can’t figure this out, the rel="lightbox" is included (the album is completely the samen only without div).
What am i missing?
Gr,
Erwin
I dont use gallery so this might be a wild guess.
Revert your change, but change the div with span.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.