bigfish512
Forum Replies Created
-
hi,
i put the code to enqueue Spectra assets in functions.php of my Spectra One child theme but the block element still has no style.
add_action('wp_enqueue_scripts', 'enqueue_scripts_by_post_id');
function enqueue_scripts_by_post_id() {
// Create Instance. Pass the Post ID.
$post_assets_instance = new UAGB_Post_Assets(2);
// Enqueue the Assets.
$post_assets_instance->enqueue_scripts();
}did i do something wrong? please have a look at the page here
hi,
what would be the workaround then, can i manually copy the style and put it in a custom css file?
hi,
upon further testing, it looks like the problem is only occurring on 3rd party block elements, default WordPress blocks are working fine. i’m using Spectra Info Box as a test. when i use it as a shortcode anywhere on the site, it doesn’t have any style. you can see the example at the links below:
Hi,
In my example, i use the Info Box block but the problem is happening with any block that i try to hook to any WordPress or Woocommerce filter hook on any page (shop, single product, post….). I’m using Spectra One FSE theme.
Forum: Plugins
In reply to: [WooCommerce] single product page image zoom not workingandrew,
i confirmed that twentyseventeen and storefront work fine so the problem is with the themes then. thanks for pointing that out.
i don’t mind trying to fix the issue myself in the child theme. any idea on how to fix it, like maybe unbinding the jquery mouse hover event and rebinding it correctly or something?Forum: Plugins
In reply to: [WooCommerce] single product page image zoom not workingi already did. they told me it wasn’t a problem with their theme and told me to contact you.
at this point it seems this issue is only occurring with some themes and not others so i’m not sure where the problems lies but nobody is taking responsibility for it. am i the only one having this issue? how come no one else has reported this?Forum: Plugins
In reply to: [WooCommerce] single product page image zoom not workingi don’t know where to begin. can you give me a clue?
if it’s a problem with a theme function, then i don’t think i can override it with a child theme, right?great plugin and great support. thanks!
hi wpsolutions
increasing the value of max_allowed_packet actually fixed the issue!
does this mean that there’s a really large mysql statement in the code and that i might encounter this error again with other plugins?
hi,
this is a local installation of WordPress on WampServer with the following components:
apache 2.4.27
php 5.6.31
mysql 5.7.19php.ini:
mysql.connect_timeout = 60
default_socket_timeout = 60sorry, i had to change the link. here’s the working link: