Osclass forums

Support forums => General help => 3.7.x => Topic started by: creat15 on June 04, 2018, 11:35:11 am

Title: how to disable fancybox images on item.php bender theme?or fix this problem
Post by: creat15 on June 04, 2018, 11:35:11 am
hello sir

i want to ask

how to remove/disable fancybox images on item.php (i mean, don't use pop up image with fancy box, because my fancy box popup error)

this my screenshoot :

https://1.bp.blogspot.com/-Na7J8V1uyH0/WxTrzeekOsI/AAAAAAAAByM/KTGXXyxLzBwWIoQpMudOtNczcnE2NSVIQCLcBGAs/s1600/Screenshot_5.jpg

https://3.bp.blogspot.com/-IgDdY-g-sIM/WxTtDa0SpkI/AAAAAAAAByY/DqqrBQ1XtKUViyrvn92D_nK97otzJ4XIgCLcBGAs/s1600/Screenshot_6.jpg

i try to inspect element show this code :

Code: [Select]
<div class="fancybox-wrap fancybox-default fancybox-opened" style="width: 280px; height: auto; display: block; position: fixed; top: 970px; left: 20px; overflow: visible;"><div class="fancybox-outer" style="padding: 15px; width: auto; height: auto;"><div class="fancybox-inner" style="width: 250px; height: 188px; overflow: hidden;">
in item.php style="padding:15px; width:auto; etc not show. i don't know how to edit this style on div class fancybox-outer

please help sir how to change style on div class fancybox-outer or disable the popup fancybox.
Title: Re: how to disable fancybox images on item.php bender theme?or fix this problem
Post by: digitalsense on June 04, 2018, 02:48:43 pm
Hi

Just use the following thing to disable fancy box online 29 and 30 just add
//

for e.g. search for  osc_enqueue_script('fancybox');

and change it to

//osc_enqueue_script('fancybox');
//osc_enqueue_style('fancybox', osc_current_web_theme_url('js/fancybox/jquery.fancybox.css'));
   

this will disable the fancy box