Jump to content

Archived

This topic is now archived and is closed to further replies.

mno

Lightbox on DMS MediaBox Section

Recommended Posts

mno

Dear all,

 

I'd like to use on of the features of DMS to show images in a column (refer to attachment). Naturally choose for a MediaBox. Now, do like to have the opportunity to enlarge the image in a lightbox. I'm quite stuck with it. Anyone open for a suggestion?

 

Thank you!

 

Other reference info:

Website URL: http://www.gateway.org.hk/programs/gps/camp-introduction/
Framework Version: DMS Free Version
WordPress Version: 3.7.1
 

Share this post


Link to post
Share on other sites
Danny

Hi,

 

In order to open up a larger version of your image in a lightbox popup effect, you will want to use a plugin such as Lightbox for Wordpress or FancyBox, these plugins usually include a class which you assign to your HTML, which will then allow you to open up a larger image.

 

The plugins usually include documentation on how to achieve this.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
mno

Thank you,

 

I'm actually using fancybox already and it is working on the rest of the site.

Now in the MediaBox settings I added fancybox in the styling Classes. But no effect. I attached some files showing you some settings.

 

Any idea what im doing wrong?

Share this post


Link to post
Share on other sites
James B

Unfortunately those thumbs came out really small so we're unable to see the actual content of the code you've added. Can you re-post from an external source like jing or imgur for us so we can see at a higher resolution.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
Danny

OK, the issue is that the styling classes field adds classes to the section tag and not individual elements. Therefore, adding the classes there will trigger nothing.

 

What I recommend is you use the MediaBox and use HTML and add the fancybox class there instead.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • Bleuy
      By Bleuy+
      How can I get support on pagelines DMS? The product isn't that old and my skeleton themes aren't working and I can't get support in the same way? 
    • Bleuy
      By Bleuy+
      I have a number of legacy websites that are running on the above version of Pagelines DMS, where the template has stopped working. I am using a skeleton theme to all of them. What do I need to do to rectify this.
       
       
    • Kedark
      By Kedark+
      Hello,
      I apologize for the trivial question, but I can not deal with it. How do I turn off the display of a distinctive image on the page? (I have to add it because I use plugins that use it), but as I display the page, I do not want it to be visible (and appears above the subject.).
      Probably a cliché but I can not deal with it. Therefore, a request for help.
      Regards
      RKA
    • mtaus
      By mtaus+
      I have added a Lax section on the footer of this site: http://www.ics-law.org.php72-38.lan3-1.websitetestlink.com/ but the background image is not displaying. When I first add the image it appears in the background, but then after saving and reloading it is gone even though the thumbnail indicates it's still there. Screenshot attached.
      Any suggestions?

    • mtaus
      By mtaus+
      I'm trying to add a Careers page to a site to display job openings. The plan is to create a Post using a subcategory 'Careers' and then display those on the page. All of the post sections in PL seem to include images and there's no obvious way to remove them or include an excerpt from the post. 
      Any suggestions?
×