Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Photo Seller Pro version missing CSS, no Lightbox in photo details page
- This topic has 13 replies, 2 voices, and was last updated 9 years, 11 months ago by wreed.
-
AuthorPosts
-
December 15, 2014 at 4:07 pm #11932wreedMember
When I set up a variations table with my pro installation, I do not see any of the CSS that comes over in the demo…do I need to create the css or is my install not set up correctly? I want the css for the variation table and the back/next UL list navigation.
[http://gerddagne.com/wp/photogallery/photo_details/?gallery_id=1&image_id=126]
Second issue I have is when I use template8 with a details page of my artwork do I lose lightbox feature of “zoom” of the image or to open the image to a larger size in the photo details page?
December 15, 2014 at 11:02 pm #67424PeterMemberThe CSS is being messed up by your theme.
I will need to play around with firebug to see if I can give you some custom CSS to fix it. Will get back to you on this one.
Second issue I have is when I use template8 with a details page of my artwork do I lose lightbox feature of “zoom” of the image or to open the image to a larger size in the photo details page?
Check your settings page and make sure that the “Photo Details” page selection has the correct page, ie, “Photo Details”
December 15, 2014 at 11:46 pm #67425PeterMemberRegarding the CSS, it is also related to your zoom issue – it is occurring because the CSS and javascript files are not being loaded.
The fix is – go to the photo seller settings page and in the “Page Settings” section make sure that the “Photo Details Page” is set to “Photo Details”.
Once you do that and save the settings everything should work.
December 16, 2014 at 4:08 am #67426wreedMemberMy page is set to the photo details page….I saw this in another post and made sure that it was set right. I am using bootstrap could that be the issue?
December 16, 2014 at 11:38 am #67427PeterMemberThe issue is that the scripts for the zoom functionality and also the css files for the photo details page are not being loaded at all on that page for your site.
It appears that the plugin is never executing the code which performs the enqueueing of the scripts and css files, probably because it isn’t detecting that this particular page is actually the “photo details” page.
Can you try doing a quick theme/plugin conflict test to see if something is interfering?
https://support.tipsandtricks-hq.com/forums/topic/test-to-identy-a-conflicting-theme-or-plugin
December 16, 2014 at 1:59 pm #67428wreedMemberHere are the plugins I am using…
Akismet – DEACTIVATED
Event Organiser – ACTIVE
Form Maker – ACTIVE
NextGen Gallery – DEACTIVATED (Testing this but can delete it)
WooCommerce – DEACTIVATED (Testing this but can delete it)
WP Photo Seller – ACTIVE
December 16, 2014 at 2:05 pm #67429wreedMemberHere is an image of my settings – [http://imageshack.com/a/img910/7171/j5wsCT.jpg]
December 16, 2014 at 10:01 pm #67430PeterMemberSo did you temporarily revert to a standard theme and tried to view the details page to see if the zoom was working?
Similarly did you the same test when deactivating all plugins except photoseller?
If so, then I might have to log into your site to take a look.
December 17, 2014 at 12:20 am #67431wreedMemberjust disabled everything and it is still not working.
My template is one I built, so what could I be missing that the plugin needs to inject css into the theme.
December 17, 2014 at 12:59 am #67432wreedMemberStarted with http://fabapps.com/wordpress/nearnothing/
template and then added bootstrap and my own css.
December 17, 2014 at 1:11 am #67433wreedMemberOk I added a second theme and activated it, the CSS works there. So let me ask you this, how do we narrow down the problem to see why the css file (pure I think) is not getting inserted?
December 17, 2014 at 10:46 pm #67434PeterMemberThe issue is not just the CSS files. It appears that your theme is somehow preventing the photo seller plugin from loading the CSS files AND zoom functionality javascript files on the details page. These files are loaded using the following standard wordpress functions:
wp_enqueue_script
wp_enqueue_style
For your reference, the specific lines of code which are not being executed (but should be) are found in the following files:
wp-photo-seller/models/WPSShortcodeManager.php
(see lines 758 and 759)
wp-photo-seller/models/WPS.php
(see lines 974 and 975)
I recommend that you talk to your theme developer and ask them why this is occurring.
December 18, 2014 at 1:45 am #67435wreedMemberPeter thank you so much! Searching for help with wp_enqueue_script lead me to learn that you need to have these calls in your header and footer respectively…wp_head and wp_footer. Once I added wp_footer to my footer I picked up the CSS for the addon. Hopefully this will help someone searching for this problem if they have it. This thread helped me realize my problem – http://themeforest.net/forums/thread/urgent-wp_enqueue_script-not-executing-in-my-plugin-used-with-free-themes/104814
Thanks a TON.
December 18, 2014 at 1:49 am #67436wreedMemberIs there any way to make a lightbox effect on the photo details page instead of using zoom?
-
AuthorPosts
- You must be logged in to reply to this topic.