Model Box is not Disable after Simple Lightbox

Posted in: Newspaper
Post count: 29

I install Simple Lightbox but the built in lightbox is not going to disable. How can i stop this ? or is their any way to edit Built in light box, Built in light box shows images in group but i dont’t want this. i want to display just one image even in gallery.

Post count: 29

waiting for reply adn you may see the problem —> Problem

Post count: 7909

Hi,

If you want to disable lightbox for tagdiv gallery please remove this code – http://screencast.com/t/z9Aa3oPbw5r

Thanks!

Post count: 29

is it possible to edit built in light box ? i want to display only one image (no next and previous buttons)

Post count: 7909

Hi,

You can remove modal for content images from tagdiv_theme.jshttp://screencast.com/t/7BtEFPmGu7
Also you you want to hide only the arrows an the image can be opened in the lightbox, you can use this custom css to hide them:

.mfp-container button.mfp-arrow {
display: none;
}

Or remove the arrows from the code – http://screencast.com/t/EHzDGcCHCL

Thanks!

Post count: 29

Still having the same problem http://s13.postimg.org/94idriymf/Untitled_1.jpg
Is their any way to completely disable Model Box or Built in Light Box of Newspaper ?

Post count: 322

Getting that specific often requires access to the site, not just a static screenshot. Post a link to a page on your site and you’re far more likely to receive help with this customization.

Newspaper v.6+ is only certified to work with the following 3rd party plugins:

  • WP Super Cache – caching plugin
  • Contact form 7 – used to make contact forms
  • bbPress – forum plugin
  • BuddyPress- social network plugin
  • Font Awesome 4 Menus- icon pack, supported in the theme menus
  • Jetpack – plugin with lots of features *it may slow down your site
  • WooCommerce – eCommerce solution
  • WordPress SEO – SEO plugin
  • Wp User Avatar – Change users avatars

Happy to take a look at the conflict but need a working example to go on.

To answer your last question, yes there is a way to disable the built-in lightbox. Turn it off for each image in posts and for featured images from the settings panel.

Post count: 29

it’s not a solution to disable built-in lightbox one by one on every image. i have 100’s of images. waiting for reply from tagDiv staff … i am wonder, after removing http://screencast.com/t/7BtEFPmGu7 and http://screencast.com/t/z9Aa3oPbw5r i didn’t feel any change in the opening of images. All images works like before removing these codes.

Post count: 1291

Hi,

If you deleted the code and nothing happened you may use speedbooster and in this case the theme loads the minified version of js. You have to modify the code inside it – http://screencast.com/t/Kmn22SnmuyU3 – , but it’s hard to do that so an easier solution may be to edit the normal file, then minify the code and replace the current code inside the min file. For minification use the following tool with default settings – https://closure-compiler.appspot.com/home

Thank you!

Viewing 9 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic.