Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Jon

    (@duffydjcoat)

    Hey @stoyangeorgiev

    Thanks for your reply. The issue persists, it’s not resolved. I’m using Safari on a Mac and iPad and the problem is there. It also happens with Chrome on the iPad, but not on the Mac.

    I’ve sent you an email with the url details and a screenshot.

    Thanks.

    Thread Starter Jon

    (@duffydjcoat)

    Hi Stanimir,

    I sent you a message with the urls.

    @mike80222 The issue is not visible using the site inspector’s tool. You have to have the physical device or use BrowserStack. But in my case, if I turn off SG lazy load it works fine.

    Thread Starter Jon

    (@duffydjcoat)

    An update to my message. I’m not using Cloudflare on this particular site. I’ve read something that Cloudflare might be causing this, but I haven’t added Cloudflare to this site yet.

    Thread Starter Jon

    (@duffydjcoat)

    Thanks Mike. I’ll take it to them again! Thanks for the input. I’ll report back if I can find the solution

    Thread Starter Jon

    (@duffydjcoat)

    Hi Mike,

    Thanks for the reply. Unfortunately I can’t share the link as I’m still working on the site locally…

    I guess it’s difficult for you to figure out what’s not working without a link..

    Thread Starter Jon

    (@duffydjcoat)

    Hi Mike,

    Thanks a lot for the help. So, I’ve replaced the code I posted above with the new one you gave me, but that didn’t work. I can still see the zero in there…

    Sorry, I’m not really a tech guy, how you might have already figured 🙁

    Thanks again and sorry to bother with this.

    Thread Starter Jon

    (@duffydjcoat)

    Hi Mike,

    Sorry, I’m lost here 🙂

    Where to I put that bit of code cart_contents_count > 0?

    Thanks again!

    Thread Starter Jon

    (@duffydjcoat)

    Hi again Mike,

    I’ve contacted the guys who created the template and they say didn’t change the behaviour at all of woocommerce.

    I’ve got this as the code:

    <?php
    if (class_exists(‘Woocommerce’)) {
    //Check if display cart in header

    global $woocommerce;
    $cart_url = $woocommerce->cart->get_cart_url();
    $cart_count = $woocommerce->cart->cart_contents_count;
    ?>
    <div class=”header_cart_wrapper”>
    <div class=”cart_count”><?php echo esc_html($cart_count); ?></div>
    “>
    </div>
    <?php
    }
    ?>

    Thanks

    Thread Starter Jon

    (@duffydjcoat)

    Thanks Mike. I’ll try to sort that with them then.

    Thread Starter Jon

    (@duffydjcoat)

    That would be fantastic!

    Thread Starter Jon

    (@duffydjcoat)

    But does that mean that it works with your plugin?

    Thread Starter Jon

    (@duffydjcoat)

    Hi Michael,

    Thanks for your answer.

    There’s no search and search no results in the CSS. Only search-form .search-submitbut this is for the the search form only, no the search page.

    The theme is this one:

    http://demo.wpzoom.com/inspiro/

    And when you get a search with no results:

    http://demo.wpzoom.com/inspiro/?s=dsvcvbr544

    As you can see in the example above it loads the blog page and it’s styling, no full width.

    No sure about the first question, but I did find that in the header code:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
        <meta charset="<?php bloginfo( 'charset' ); ?>">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <link rel="profile" href="http://gmpg.org/xfn/11">
        <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>">
    
        <?php wp_head(); ?>
    </head>
    <strong><body <?php body_class(); ?>></strong>
    
    <?php get_sidebar(); ?>
    
    <div class="site">
    
    <header class="site-header">
        <nav class="navbar <?php if (inspiro_maybeWithCover()) echo 'page-with-cover'; ?> " role="navigation">
            <div class="wrap">
                 <div class="navbar-header">
    
                    <div class="navbar-brand">
                        <?php if ( ! option::get( 'misc_logo_path' ) ) echo '<h1>'; ?>
    
                        <a href="<?php echo home_url(); ?>" title="<?php bloginfo( 'description' ); ?>">
                            <?php if ( ! option::get( 'misc_logo_path' ) ) { bloginfo( 'name' ); } else { ?>
                                <img src="<?php echo ui::logo(); ?>" alt="<?php bloginfo( 'name' ); ?>" />
                            <?php } ?>
                        </a>
    
                        <?php if ( ! option::get( 'misc_logo_path' ) ) echo '</h1>'; ?>
                    </div><!-- .navbar-brand -->
                </div>
    
                <?php if ( has_nav_menu( 'primary' ) || is_active_sidebar( 'sidebar' ) ) : ?>
    
                    <button type="button" class="navbar-toggle">
                        <span class="sr-only"><?php _e( 'Toggle sidebar & navigation', 'wpzoom' ); ?></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
    
                    <div class="navbar-collapse collapse">
    
                        <?php
                        wp_nav_menu( array(
                            'menu_class'     => 'nav navbar-nav dropdown sf-menu',
                            'theme_location' => 'primary',
                            'items_wrap'     => '<ul id="%1$s" class="%2$s">%3$s' . diamond_wc_menu_cartitem() . '</ul>',
                            'container'      => false
                        ) );
                        ?>
    
                    </div><!-- .navbar-collapse -->
    
                <?php endif; ?>
    
            </div>
        </nav><!-- .navbar -->
    </header><!-- .site-header -->
Viewing 12 replies - 1 through 12 (of 12 total)