Jump to content

Archived

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

mattesar

Remove featured image in lightbox?

Recommended Posts

mattesar    0
mattesar

Hi,

 

I set Projects LUD to open as a lightbox when clicked. I've experienced many instances of the featured image overlapping with the project title - usually on tablets/smartphones.

 

 

 

I still want to keep the featured images, just not display them in single view. Is there any way to do that? I'm comfortable with editing the plugin files, if that's what is needed.

 

 

Thanks!

Share this post


Link to post
Share on other sites
bestrag    22
bestrag

Hello, mattesar.

 

Sorry for late response. In case you're wondering what happened with us, please read this post

 
if you just want to hide featured image in lightbox, use this code
 
#colorbox .proj-item-inner .proj-feature{display: none}

If you need any more assistance, let me know.

 

regards,

bestrag

 


bestrag.net

professional dms plugins 

 

Share this post


Link to post
Share on other sites
mattesar    0
mattesar

Hey bestrag,

 

No problem, I understand. I'm just glad nothing horrible has happened to you lol.

 

Thanks for the fix, featured image in lightbox is gone now.

 

Is there any way I can set the right and left margin for the text, and make the header centered?

 

Now it looks like this: 

3qgxdvCl.png

 

Thanks in advance.

Share this post


Link to post
Share on other sites
bestrag    22
bestrag

Sure.

 

just use these css selectors to customize any lightbox element:

#colorbox .proj-item-inner

in your case, it would be:

#colorbox .proj-item-inner .proj-post_title{} //e.g. text-align: center;
#colorbox .proj-item-inner .proj-post_content{}  //e.g. margin: 0 20px; 

regards,

bestrag


bestrag.net

professional dms plugins 

 

Share this post


Link to post
Share on other sites

  • Similar Content

    • ade55
      By ade55+
      How do I change the dimensions of the lightbox?
       
      thanks
    • nadielp
      By nadielp+
      Hi,
       
      The page displaying the problem is http://www.mojofuzz.net/finupdate/?page_id=58
      So there are two things going on and I am not sure if they are related directly but anyway...
      I set up the first item in a set and set an image by setting a featured mage.
      The box sets up but the text runs over the title using basic-master. 
      If I choose defaul-master the box displays correctly but then it insists on going to a light box view (regardless of what other settings I choose, like display single post). The lightbox would be fine except the text overlaps the image and it looks like hell. If the lightbox problem could be addressed I would be happy with using it. 
      Anyway, any help would be appreciated.
       
      Thanks,
      Daniel
       
    • mattesar
      By mattesar
      Hi,
       
      I'm trying to make shortcodes display additional metas inside the single view (colorbox).
       
      Apparently shortcodes do work, but it seems that the usual get_the_id or post->id etc don't fetch the single post ID correctly. 
       
      Is there any simple way I can get the respective single post ID's, for the colorbox?
       
       
      Thanks!
    • patsc
      By patsc
      Hi Bestrag,
       
      I installed project luds and upload the projects using the zizzag template. Everything works fine but the lightbox is not showing correctly the post html.
       
      I use Pagelines v.2.1.4 and the latest version of project LUD, also have installed people LUD.
       
      It reads the <strong> tag but does read the <br> and all the content is in one paragraph. I tryed flushing the cache but didn't work.
       
      This is the web http://tinkerlabs.hl238.dinaserver.com/?page_id=2
       
      Thak you in advanced four your help!
       
      Regards,
      Patricia
    • bjs198
      By bjs198
      Hey man,
       
      Anyway I can force a new window to open when someone clicks on a clients website link when viewing projects?
       
      Cheers
       
      Barney
×