Viewing 15 replies - 16 through 30 (of 47 total)
  • Thread Starter Tony Franco

    (@tony-franco)

    Hi elCHAVALdelaWEB,

    Updated!

    Lightbox still off.

    I can see a big difference, when it is loading the principal (obrasdarte.com), and a secondary page (obrasdarte.com/esquizo). In the first make the flickering, but in the second, doesn´t…

    The settings still the same!

    Regards, Tony

    Plugin Author dmikam

    (@dmikam)

    I think it could be the cache. I see you are using some plugin for it. Try to clear cache.
    Because with that option the css code should appear at the beginning of webpage code, but it still appears at the end.

    Thread Starter Tony Franco

    (@tony-franco)

    done!

    It look likes get out of square.

    Plugin Author dmikam

    (@dmikam)

    I see… It looks like this option is worse for you because of too much css code inserted before the conten – the scores are lower. Also some css code is loaded before it sould. Switch back to “(default)Inserting all CSS styles inline into the document FOOTER”.

    But, hey, now I see a Lightbox working ! Probably it was a cache issue and excluding helped.

    Thread Starter Tony Franco

    (@tony-franco)

    i´m having difficulties to come back…

    on chrome it look likes ok, but on i.e. it´s out…

    Thread Starter Tony Franco

    (@tony-franco)

    seems the problem is that even if i disable the css loading async, the system doesn´t come back..

    Thread Starter Tony Franco

    (@tony-franco)

    done!!

    mannn, things here get dark… 🙂

    finally come back!!!

    it looks likes, plugin, makes the alterations permanent…

    🙂

    Thanks and Regards,

    Tony

    Plugin Author dmikam

    (@dmikam)

    Ok, so it was a cached styles.
    Anyway, it looks that putting something like this before wp_head() function in your header.php file of the template repairs everithing:

    * {
      margin:0px;
      padding:0px;
    }
    Thread Starter Tony Franco

    (@tony-franco)

    Hi elCHAVALdelaWEB, 🙂

    I put the plugin to work again, but in the moment just with the JS loading, with the settings you said.

    About the header.php, i will put it to you below: (where do i insert the code?)

    Thanks and Regards,

    Tony

    <!DOCTYPE html>
    <html <?php language_attributes(); ?> prefix=”og: http://ogp.me/ns#”&gt;
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
    <title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>
    <link rel=”profile” href=”http://gmpg.org/xfn/11&#8243; />
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
    <?php wp_head(); ?>
    </head>
    <?php global $is_IE ?>
    <body id=”top” <?php body_class(); ?>>
    <div class=”background-cover”></div>
    <div class=”wrapper<?php if(tie_get_option( ‘theme_layout’ ) == ‘full’) echo ‘ full-site’; if(tie_get_option( ‘columns_num’ ) == ‘2c’) echo ‘ layout-2c’; ?>”>
    <?php if(!tie_get_option( ‘top_menu’ )): ?>
    <div class=”top-nav <?php echo tie_get_option( ‘top_left’ ); ?>”>
    <div class=”container”>
    <div class=”search-block”>
    <form method=”get” id=”searchform” action=”<?php echo home_url(); ?>/”>
    <input class=”search-button” type=”submit” value=”<?php if( !$is_IE ) _e( ‘Search’ , ‘tie’ ) ?>” />
    <input type=”text” id=”s” name=”s” value=”<?php _e( ‘Search…’ , ‘tie’ ) ?>” onfocus=”if (this.value == ‘<?php _e( ‘Search…’ , ‘tie’ ) ?>’) {this.value = ”;}” onblur=”if (this.value == ”) {this.value = ‘<?php _e( ‘Search…’ , ‘tie’ ) ?>’;}” />
    </form>
    </div><!– .search-block /–>
    <?php tie_get_social( ‘yes’ , ‘flat’ , ‘tooldown’ , true ); ?>

    <?php
    if( tie_get_option( ‘top_left’ ) == ‘head_menu’ )
    wp_nav_menu( array( ‘container_class’ => ‘top-menu’, ‘theme_location’ => ‘top-menu’, ‘fallback_cb’ => ‘tie_nav_fallback’ ) );
    elseif(tie_get_option( ‘top_left’ ) == ‘head_brnews’)
    tie_include( ‘breaking-news’ );
    ?>
    </div>
    </div><!– .top-menu /–>
    <?php endif; ?>

    <div class=”container”>
    <header>
    <div class=”header-content”>
    <?php $logo_margin =”; if( tie_get_option( ‘logo_margin’ )) $logo_margin = ‘ style=”margin-top:’.tie_get_option( ‘logo_margin’ ).’px”‘; ?>
    <div class=”logo”<?php echo $logo_margin ?>>
    <?php if( !is_singular() ) echo ‘<h1>’; else echo ‘<h2>’; ?>
    <?php if( tie_get_option(‘logo_setting’) == ‘title’ ): ?>
    /”><?php bloginfo(‘name’); ?>
    <span><?php bloginfo( ‘description’ ); ?></span>
    <?php else : ?>
    <?php if( tie_get_option( ‘logo’ ) ) $logo = tie_get_option( ‘logo’ );
    else $logo = get_stylesheet_directory_uri().’/images/logo.png’;
    ?>
    ” href=”<?php echo home_url(); ?>/”>
    <img src=”<?php echo $logo ; ?>” alt=”<?php bloginfo(‘name’); ?>” /><?php bloginfo(‘name’); ?> <?php bloginfo( ‘description’ ); ?>

    <?php endif; ?>
    <?php if( !is_singular() ) echo ‘</h1>’; else echo ‘</h2>’; ?>
    </div><!– .logo /–>
    <?php tie_banner(‘banner_top’ , ‘<div class=”ads-top”>’ , ‘</div>’ ); ?>
    <div class=”clear”></div>
    </div>
    <?php $stick = ”; ?>
    <?php if( tie_get_option( ‘stick_nav’ ) ) $stick = ‘ class=”fixed-enabled”‘ ?>
    <nav id=”main-nav”<?php echo $stick; ?>>
    <div class=”container”>
    <?php wp_nav_menu( array( ‘container_class’ => ‘main-menu’, ‘theme_location’ => ‘primary’ ,’fallback_cb’ => ‘tie_nav_fallback’ ) ); ?>
    </div>
    </nav><!– .main-nav /–>
    </header><!– #header /–>

    <?php
    $sidebar = ”;
    if( tie_get_option( ‘sidebar_pos’ ) == ‘left’ ) $sidebar = ‘ sidebar-left’;
    elseif( tie_get_option( ‘sidebar_pos’ ) == ‘nleft’ ) $sidebar = ‘ sidebar-narrow-left’;
    elseif( tie_get_option( ‘sidebar_pos’ ) == ‘nright’ ) $sidebar = ‘ sidebar-narrow-right’;

    if( is_singular() ){
    $get_meta = get_post_custom($post->ID);

    if( !empty($get_meta[“tie_sidebar_pos”][0]) ){
    $sidebar_pos = $get_meta[“tie_sidebar_pos”][0];

    if( $sidebar_pos == ‘left’ ) $sidebar = ‘ sidebar-left’;
    elseif( $sidebar_pos == ‘full’ ) $sidebar = ‘ full-width’;
    elseif( $sidebar_pos == ‘right’ ) $sidebar = ‘ sidebar-right’;
    elseif( $sidebar_pos == ‘nright’ ) $sidebar = ‘ sidebar-narrow-right’;
    elseif( $sidebar_pos == ‘nleft’ ) $sidebar = ‘ sidebar-narrow-left’;
    }
    }
    ?>
    <div id=”main-content” class=”container<?php echo $sidebar ; ?>”>

    Plugin Author dmikam

    (@dmikam)

    Hi,
    just before this line:
    <?php wp_head(); ?>
    insert

    <style>
    * {
      margin:0px;
      padding:0px;
    }
    </style>

    Thread Starter Tony Franco

    (@tony-franco)

    Dear elCHAVALdelaWEB, 🙂

    Sorry about the delay!

    I made the settings of the CSS: http://clip2net.com/s/5ShZQL

    You were right! all was repair!! 🙂

    Thanks and Regards,

    Tony

    Plugin Author dmikam

    (@dmikam)

    You are wellcome !
    If it is not too dificult, you can write some review or make some donation. Both things are avalible on the plugin’s page.
    Nothing is mandatory of course 😉

    Plugin Author dmikam

    (@dmikam)

    I will mark this thread as resolved for now, but if you have some problems or suggestions, you are allways wellcome to write it here or in separate thread.

    Thread Starter Tony Franco

    (@tony-franco)

    Thank you very much elCHAVALdelaWEB!! 🙂

    In this moment i can do the review, but i will not forget the donation! 🙂

    I have just two questions:

    1- Plugin doesn´t causes delay at admin panel or blank page? do you notice something?

    2- About the flickering of the menu (http://clip2net.com/s/5RHiIg), there is a way to it doesn´t make?

    Thanks and Regards,

    Tony

    Plugin Author dmikam

    (@dmikam)

    1. It shouldn’t because it checks if it is not an admin panel of wordpress (using is_admin() function).

    2. And about flickering, I think that putting this:

    <style>
    * {
      margin:0px;
      padding:0px;
    }
    </style>

    just before this line in the header.php:
    <?php wp_head(); ?>
    should avoid a flickering…

Viewing 15 replies - 16 through 30 (of 47 total)
  • The topic ‘Efects on my site’ is closed to new replies.