Forum Replies Created
-
AuthorPosts
-
Hi there,
The words aren’t present in this file:get_header(); ?> <div class="content-area"> <div class="middle-align content_sidebar"> <div class="site-main" id="sitemain"> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part( 'content', 'single' ); ?> <?php skt_bakery_content_nav( 'nav-below' ); ?> <?php // If comments are open or we have at least one comment, load up the comment template if ( comments_open() || '0' != get_comments_number() ) comments_template(); ?> <?php endwhile; // end of the loop. ?> </div> <?php get_sidebar();?> <div class="clear"></div> </div> </div> <?php get_footer(); ?>
It’s ok, I have been able to defer the scripts from loading by adding the following to the end of functions.php:
// Defer Javascripts // Defer jQuery Parsing using the HTML5 defer property if (!(is_admin() )) { function defer_parsing_of_js ( $url ) { if ( FALSE === strpos( $url, '.js' ) ) return $url; if ( strpos( $url, 'jquery.js' ) ) return $url; // return "$url' defer "; return "$url' defer onload='"; } add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 ); }
For anyone else wondering how to prevent the ‘jump’ that happens when the images for the slider load, the following change can also be made in functions.php:
Change
<?php if ( (of_get_option('innerpageslider', true) != 'hide') || is_home() || is_front_page() ) { ?> jQuery(window).load(function() { jQuery('#slider').nivoSlider({
to
<?php if ( (of_get_option('innerpageslider', true) != 'hide') || is_home() || is_front_page() ) { ?> jQuery(function() { jQuery('#slider').nivoSlider({
This will make the slider appear as soon as the first image has loaded, rather than wait for them all to load
Alternatively, is it possible to defer the script loading, so that page performance isn’t affected so adversely?
ok, thanks – should I take a backup of the files within the themes subfolder?
Ok, thanks – not sure what is happening. Will let you know if I can better identify the circumstances when it occurs,
December 24, 2015 at 1:19 pm in reply to: WooCommerce cart/product not appearng properly on mobiles – Bakery Theme Pro #17290Done – still the same.
December 23, 2015 at 11:08 am in reply to: WooCommerce cart/product not appearng properly on mobiles – Bakery Theme Pro #17209Done that, but remains the same,
StuHaving some strange image distortions on iPhone 6 on the blog listing page – the images appear squashed or stretched. why is this? It doesn’t seem to happen on other iPhone models… See image: http://postimg.org/image/lujrr7xg1/
Thanks.Thanks – that’s fixed it. The share buttons don’t have icons in, they just look like odd round circles. Is this intentional?
Hi thanks,
There is no template option in the blog page. As soon as you set a page as the latest posts page via settings, the option to change template is removed.
See image: http://s30.postimg.org/vzur7l969/No_blog_template_option.jpg
Advice?Thanks – how do I do that?
December 12, 2015 at 10:33 pm in reply to: Bakery Theme Woocommerce product details and related products title not showing #16493Thanks – that worked!
(I just renamed it to _smooth-scroll.js in case ever need to reinstate it)December 8, 2015 at 1:22 pm in reply to: Bakery Theme Woocommerce product details and related products title not showing #16165This isn’t in a plugin that I have added (to my knowledge). Where/how to I remove it without breaking the site?
Thanks,December 8, 2015 at 10:21 am in reply to: Bakery Theme Woocommerce product details and related products title not showing #16136Why does the product page scroll to the top when clicking on the review (0) tab?
December 8, 2015 at 8:47 am in reply to: Bakery Theme Woocommerce product details and related products title not showing #16122Great thanks, sorted. (Quite strange that there was no colour to that already in the CSS.)
When clicking the review tab, the screen scrolls to the top, rather than opening the review tab – why is this?
Thanks
For your info, I found some errors in the css that seem to be generated by the theme: several instances of “background-color:1” This isn’t something I have added to custom CSS and doesn’t appear to be in the stylesheet.
I’m sure it’s a separate issue but thought would bring it to your attention as it may explain other problems people may experience (put it in pastebin here: http://pastebin.com/F8ijwp0B ) Hope this helps. -
AuthorPosts