• Creator
    Topic
  • #8199

    Spiros Doikas
    Spectator
    Been thanked: 0 times

    I can see the following huge js/css loaded, surely this is not good for seo and should be linked to external file?

    Code:
    <!–[if lte IE 8]>
    <script type=”text/javascript”>
    jQuery(document).ready(function() {
    var imgs, i, w;
    var imgs = document.getElementsByTagName( ‘img’ );
    for( i = 0; i < imgs.length; i++ ) {
    w = imgs.getAttribute( ‘width’ );
    imgs.removeAttribute( ‘width’ );
    imgs.removeAttribute( ‘height’ );
    }
    });
    </script>
    <![endif]–>
    <script type=”text/javascript”>
    /*@cc_on
    @if (@_jscript_version == 10)
    document.write(‘ <link type= “text/css” rel=”stylesheet” href=”http://www.siderman.gr/wp-content/themes/alora/css/ie10.css” />’);
    @end
    @*/
    function insertParam(url, parameterName, parameterValue, atStart){
    replaceDuplicates = true;
    if(url.indexOf(‘#’) > 0){
    var cl = url.indexOf(‘#’);
    urlhash = url.substring(url.indexOf(‘#’),url.length);
    } else {
    urlhash = ”;
    cl = url.length;
    }
    sourceUrl = url.substring(0,cl);

    var urlParts = sourceUrl.split(“?”);
    var newQueryString = “”;

    if (urlParts.length > 1)
    {
    var parameters = urlParts[1].split(“&”);
    for (var i=0; (i < parameters.length); i++)
    {
    var parameterParts = parameters.split(“=”);
    if (!(replaceDuplicates && parameterParts[0] == parameterName))
    {
    if (newQueryString == “”)
    newQueryString = “?”;
    else
    newQueryString += “&”;
    newQueryString += parameterParts[0] + “=” + (parameterParts[1]?parameterParts[1]:”);
    }
    }
    }
    if (newQueryString == “”)
    newQueryString = “?”;

    if(atStart){
    newQueryString = ‘?’+ parameterName + “=” + parameterValue + (newQueryString.length>1?’&’+newQueryString.substring(1):”);
    } else {
    if (newQueryString !== “” && newQueryString != ‘?’)
    newQueryString += “&”;
    newQueryString += parameterName + “=” + (parameterValue?parameterValue:”);
    }
    return urlParts[0] + newQueryString + urlhash;
    };

    function ytVidId(url) {
    var p = /^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/;
    return (url.match(p)) ? RegExp.$1 : false;
    //return (url.match(p)) ? true : false;
    }
    var tag = document.createElement(‘script’);
    tag.src = “https://www.youtube.com/iframe_api”;
    var firstScriptTag = document.getElementsByTagName(‘script’)[0];
    firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);

    function getFrameID(id){
    var elem = document.getElementById(id);
    if (elem) {
    if(/^iframe$/i.test(elem.tagName)) return id; //Frame, OK
    // else: Look for frame
    var elems = elem.getElementsByTagName(“iframe”);
    if (!elems.length) return null; //No iframe found, FAILURE
    for (var i=0; i<elems.length; i++) {
    if (/^https?:\/\/(?:www\.)?youtube(?:-nocookie)?\.com(\/|$)/i.test(elems.src)) break;
    }
    elem = elems; //The only, or the best iFrame
    if (elem.id) return elem.id; //Existing ID, return it
    // else: Create a new ID
    do { //Keep postfixing -frame until the ID is unique
    id += “-frame”;
    } while (document.getElementById(id));
    elem.id = id;
    return id;
    }
    // If no element, return null.
    return null;
    }

    // Define YT_ready function.
    var YT_ready = (function() {
    var onReady_funcs = [], api_isReady = false;
    /* @param func function Function to execute on ready
    * @param func Boolean If true, all qeued functions are executed
    * @param b_before Boolean If true, the func will added to the first
    position in the queue*/
    return function(func, b_before) {
    if (func === true) {
    api_isReady = true;
    while (onReady_funcs.length) {
    // Removes the first func from the array, and execute func
    onReady_funcs.shift()();
    }
    } else if (typeof func == “function”) {
    if (api_isReady) func();
    else onReady_funcs[b_before?”unshift”:”push”](func);
    }
    }
    })();
    // This function will be called when the API is fully loaded
    function onYouTubePlayerAPIReady() {YT_ready(true)}

    jQuery(document).ready(function() {
    jQuery(‘.portfolio-wrapper’).hide();
    });
    jQuery(window).load(function() {
    if(jQuery(‘#sidebar’).is(‘:visible’)) {
    jQuery(‘.post-content div.portfolio’).each(function() {
    var columns = jQuery(this).data(‘columns’);
    jQuery(this).addClass(‘portfolio-‘+columns+’-sidebar’);
    });
    }
    jQuery(‘.full-video, .video-shortcode, .wooslider .slide-content’).fitVids();

    if(jQuery().isotope) {
    // modified Isotope methods for gutters in masonry
    jQuery.Isotope.prototype._getMasonryGutterColumns = function() {
    var gutter = this.options.masonry && this.options.masonry.gutterWidth || 0;
    containerWidth = this.element.width();

    this.masonry.columnWidth = this.options.masonry && this.options.masonry.columnWidth ||
    // or use the size of the first item
    this.$filteredAtoms.outerWidth(true) ||
    // if there’s no items, use size of container
    containerWidth;

    this.masonry.columnWidth += gutter;

    this.masonry.cols = Math.floor( ( containerWidth + gutter ) / this.masonry.columnWidth );
    this.masonry.cols = Math.max( this.masonry.cols, 1 );
    };

    jQuery.Isotope.prototype._masonryReset = function() {
    // layout-specific props
    this.masonry = {};
    // FIXME shouldn’t have to call this again
    this._getMasonryGutterColumns();
    var i = this.masonry.cols;
    this.masonry.colYs = [];
    while (i–) {
    this.masonry.colYs.push( 0 );
    }
    };

    jQuery.Isotope.prototype._masonryResizeChanged = function() {
    var prevSegments = this.masonry.cols;
    // update cols/rows
    this._getMasonryGutterColumns();
    // return if updated cols/rows is not equal to previous
    return ( this.masonry.cols !== prevSegments );
    };

    imagesLoaded(jQuery(‘.portfolio-one .portfolio-wrapper’), function() {
    jQuery(‘.portfolio-wrapper’).fadeIn();
    jQuery(‘.portfolio-one .portfolio-wrapper’).isotope({
    // options
    itemSelector: ‘.portfolio-item’,
    layoutMode: ‘straightDown’,
    transformsEnabled: false
    });
    });

    imagesLoaded(jQuery(‘.portfolio-two .portfolio-wrapper, .portfolio-three .portfolio-wrapper, .portfolio-four .portfolio-wrapper’),function() {
    jQuery(‘.portfolio-wrapper’).fadeIn();
    jQuery(‘.portfolio-two .portfolio-wrapper, .portfolio-three .portfolio-wrapper, .portfolio-four .portfolio-wrapper’).isotope({
    // options
    itemSelector: ‘.portfolio-item’,
    layoutMode: ‘fitRows’,
    transformsEnabled: false
    });
    });
    var masonryContainer = jQuery(‘.portfolio-masonry .portfolio-wrapper’);
    imagesLoaded(masonryContainer, function() {
    jQuery(‘.portfolio-wrapper’).fadeIn();
    var gridTwo = masonryContainer.parent().hasClass(‘portfolio-grid-2’);
    var columns;
    if(gridTwo) {
    columns = 2;
    } else {
    columns = 3;
    }
    masonryContainer.isotope({
    // options
    itemSelector: ‘.portfolio-item’,
    layoutMode: ‘masonry’,
    transformsEnabled: false,
    masonry: { columnWidth: masonryContainer.width() / columns }
    });
    });
    }

    if(jQuery().flexslider) {
    var WooThumbWidth = 100;
    if(jQuery(‘body.woocommerce #sidebar’).is(‘:visible’)) {
    wooThumbWidth = 100;
    } else {
    wooThumbWidth = 118;
    }

    jQuery(‘.woocommerce .images #carousel’).flexslider({
    animation: ‘slide’,
    controlNav: false,
    directionNav: false,
    animationLoop: true,
    slideshow: false,
    itemWidth: wooThumbWidth,
    itemMargin: 9,
    touch: false,
    useCSS: false,
    asNavFor: ‘.woocommerce .images #slider’
    });

    jQuery(‘.woocommerce .images #slider’).flexslider({
    animation: ‘slide’,
    controlNav: false,
    animationLoop: true,
    slideshow: false,
    smoothHeight: true,
    touch: true,
    useCSS: false,
    sync: ‘.woocommerce .images #carousel’
    });
    var iframes = jQuery(‘iframe’);
    var alora_ytplayer;

    jQuery.each(iframes, function(i, v) {
    var src = jQuery(this).attr(‘src’);
    if(src) {
    if(src.indexOf(‘vimeo’) >= 1) {
    jQuery(this).attr(‘id’, ‘player_’+(i+1));
    var new_src = insertParam(src, ‘api’, ‘1’, false);
    var new_src_2 = insertParam(new_src, ‘player_id’, ‘player_’+(i+1), false);

    jQuery(this).attr(‘src’, new_src_2);
    }
    if(ytVidId(src)) {
    jQuery(this).parent().wrap(‘<span class=”play3″ />’);
    }
    }
    });

    function ready(player_id) {
    var froogaloop = $f(player_id);

    froogaloop.addEvent(‘play’, function(data) {
    jQuery(‘#’+player_id).parents(‘li’).parent().parent().flexslider(“pause”);
    });

    froogaloop.addEvent(‘pause’, function(data) {
    jQuery(‘#’+player_id).parents(‘li’).parent().parent().flexslider(“play”);
    });
    }

    var vimeoPlayers = jQuery(‘.flexslider’).find(‘iframe’), player;

    for (var i = 0, length = vimeoPlayers.length; i < length; i++) {
    player = vimeoPlayers;
    $f(player).addEvent(‘ready’, ready);
    }

    function addEvent(element, eventName, callback) {
    if (element.addEventListener) {
    element.addEventListener(eventName, callback, false)
    } else {
    element.attachEvent(eventName, callback, false);
    }
    }

    jQuery(‘.t4ps-slider’).flexslider({
    animation: “fade”,
    slideshow: true,
    slideshowSpeed: 7000,
    animationSpeed: 600,
    smoothHeight: true,
    pauseOnHover: false,
    useCSS: false,
    video: true,
    start: function(slider) {
    if(typeof(slider.slides) !== ‘undefined’ && slider.slides.eq(slider.currentSlide).find(‘iframe’).length !== 0) {
    jQuery(slider).find(‘.flex-control-nav’).hide();
    YT_ready(function() {
    new YT.Player(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), {
    events: {
    ‘onStateChange’: onPlayerStateChange(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), slider)
    }
    });
    });
    } else {
    jQuery(slider).find(‘.flex-control-nav’).show();
    }
    },
    before: function(slider) {
    if(slider.slides.eq(slider.currentSlide).find(‘iframe’).length !== 0) {
    $f( slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’) ).api(‘pause’);

    YT_ready(function() {
    new YT.Player(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), {
    events: {
    ‘onStateChange’: onPlayerStateChange(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), slider)
    }
    });
    });

    /* —————— YOUTUBE FOR AUTOSLIDER —————— */
    playVideoAndPauseOthers(slider);
    }
    },
    after: function(slider) {
    if(slider.slides.eq(slider.currentSlide).find(‘iframe’).length !== 0) {
    jQuery(slider).find(‘.flex-control-nav’).hide();

    YT_ready(function() {
    new YT.Player(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), {
    events: {
    ‘onStateChange’: onPlayerStateChange(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), slider)
    }
    });
    });
    } else {
    jQuery(slider).find(‘.flex-control-nav’).show();
    }
    }
    });

    jQuery(‘.flexslider’).flexslider({
    slideshow: true,
    slideshowSpeed: 7000,
    video: true,
    pauseOnHover: false,
    useCSS: false,
    start: function(slider) {
    if (typeof(slider.slides) !== ‘undefined’ && slider.slides.eq(slider.currentSlide).find(‘iframe’).length !== 0) {
    jQuery(slider).find(‘.flex-control-nav’).hide();

    YT_ready(function() {
    new YT.Player(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), {
    events: {
    ‘onStateChange’: onPlayerStateChange(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), slider)
    }
    });
    });
    } else {
    jQuery(slider).find(‘.flex-control-nav’).show();
    }
    },
    before: function(slider) {
    if (slider.slides.eq(slider.currentSlide).find(‘iframe’).length !== 0) {
    $f(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’) ).api(‘pause’); YT_ready(function() {
    new YT.Player(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), {
    events: {
    ‘onStateChange’: onPlayerStateChange(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), slider)
    }
    });
    });

    /* —————— YOUTUBE FOR AUTOSLIDER —————— */
    playVideoAndPauseOthers(slider);
    }
    },
    after: function(slider) {
    if (slider.slides.eq(slider.currentSlide).find(‘iframe’).length !== 0) {
    jQuery(slider).find(‘.flex-control-nav’).hide();
    YT_ready(function() {
    new YT.Player(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), {
    events: {
    ‘onStateChange’: onPlayerStateChange(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), slider)
    }
    });
    });
    } else {
    jQuery(slider).find(‘.flex-control-nav’).show();
    }
    }
    });

    function playVideoAndPauseOthers(slider) {
    jQuery(slider).find(‘iframe’).each(function(i) {
    var func = ‘stopVideo’;
    this.contentWindow.postMessage(‘{“event”:”command”,”func”:”‘ + func + ‘”,”args”:””}’, ‘*’);
    });
    }

    /* —————— PREV & NEXT BUTTON FOR FLEXSLIDER (YOUTUBE) —————— */
    jQuery(‘.flex-next, .flex-prev’).click(function() {
    playVideoAndPauseOthers(jQuery(this).parents(‘.flexslider, .t4ps-slider’));
    });

    function onPlayerStateChange(frame, slider) {
    return function(event) {
    if(event.data == YT.PlayerState.PLAYING) {
    jQuery(slider).flexslider(“pause”);
    }
    if(event.data == YT.PlayerState.PAUSED) {
    jQuery(slider).flexslider(“play”);
    }
    }
    }
    }

    if(jQuery().isotope) {
    var gridwidth = (jQuery(‘.grid-layout’).width() / 2) – 22;
    jQuery(‘.grid-layout .post’).css(‘width’, gridwidth);
    jQuery(‘.grid-layout’).isotope({
    layoutMode: ‘masonry’,
    itemSelector: ‘.post’,
    masonry: {
    columnWidth: gridwidth,
    gutterWidth: 40
    },
    });

    var gridwidth = (jQuery(‘.grid-full-layout’).width() / 3) – 30;
    jQuery(‘.grid-full-layout .post’).css(‘width’, gridwidth);
    jQuery(‘.grid-full-layout’).isotope({
    layoutMode: ‘masonry’,
    itemSelector: ‘.post’,
    masonry: {
    columnWidth: gridwidth,
    gutterWidth: 40
    },
    });
    }

    jQuery(‘.rev_slider_wrapper’).each(function() {
    if(jQuery(this).length >=1 && jQuery(this).find(‘.tp-bannershadow’).length == 0) {
    jQuery(‘<div class=”shadow-left”>’).appendTo(this);
    jQuery(‘<div class=”shadow-right”>’).appendTo(this);

    jQuery(this).addClass(‘alora-skin-rev’);
    }
    });

    jQuery(‘.tparrows’).each(function() {
    if(jQuery(this).css(‘visibility’) == ‘hidden’) {
    jQuery(this).remove();
    }
    });
    });
    jQuery(document).ready(function() {
    function onAfter(curr, next, opts, fwd) {
    var $ht = jQuery(this).height();

    //set the container’s height to that of the current slide
    jQuery(this).parent().css(‘height’, $ht);
    }
    if(jQuery().cycle) {
    jQuery(‘.reviews’).cycle({
    fx: ‘fade’,
    after: onAfter,
    timeout: 4000 });
    }
    });
    jQuery(window).load(function($) {
    jQuery(‘.header-social .menu > li’).height(jQuery(‘.header-social’).height());
    jQuery(‘.header-social .menu > li’).css(‘line-height’, jQuery(‘.header-social’).height()+’px’);

    if(jQuery().prettyPhoto) {
    var ppArgs = {
    animation_speed: ‘fast’,
    overlay_gallery: true,
    autoplay_slideshow: false,
    slideshow: 5000,
    opacity: 0.8,
    show_title: true,
    show_desc: true,
    };

    jQuery(“a[rel^=’prettyPhoto’]”).prettyPhoto(ppArgs);

    jQuery(‘.lightbox-enabled a’).has(‘img’).prettyPhoto(ppArgs);

    var mediaQuery = ‘desk’;

    if (Modernizr.mq(‘only screen and (max-width: 600px)’) || Modernizr.mq(‘only screen and (max-height: 520px)’)) {

    mediaQuery = ‘mobile’;
    jQuery(“a[rel^=’prettyPhoto’]”).unbind(‘click’);
    jQuery(‘.lightbox-enabled a’).has(‘img’).unbind(‘click’);
    }

    // Disables prettyPhoto if screen small
    jQuery(window).on(‘resize’, function() {
    if ((Modernizr.mq(‘only screen and (max-width: 600px)’) || Modernizr.mq(‘only screen and (max-height: 520px)’)) && mediaQuery == ‘desk’) {
    jQuery(“a[rel^=’prettyPhoto’]”).unbind(‘click.prettyphoto’);
    jQuery(‘.lightbox-enabled a’).has(‘img’).unbind(‘click.prettyphoto’);
    mediaQuery = ‘mobile’;
    } else if (!Modernizr.mq(‘only screen and (max-width: 600px)’) && !Modernizr.mq(‘only screen and (max-height: 520px)’) && mediaQuery == ‘mobile’) {
    jQuery(“a[rel^=’prettyPhoto’]”).prettyPhoto(ppArgs);
    jQuery(‘.lightbox-enabled a’).has(‘img’).prettyPhoto(ppArgs);
    mediaQuery = ‘desk’;
    }
    });
    }
    jQuery(‘.side-nav li’).hoverIntent({
    over: function() {
    if(jQuery(this).find(‘> .children’).length >= 1) {
    jQuery(this).find(‘> .children’).stop(true, true).slideDown(‘slow’);
    }
    },
    out: function() {
    if(jQuery(this).find(‘.current_page_item’).length == 0 && jQuery(this).hasClass(‘current_page_item’) == false) {
    jQuery(this).find(‘.children’).stop(true, true).slideUp(‘slow’);
    }
    },
    timeout: 500
    });

    if(jQuery().eislideshow) {
    jQuery(‘#ei-slider’).eislideshow({
    animation: ‘sides’,
    autoplay: true,
    slideshow_interval: 3000,
    speed: 800,
    thumbMaxWidth: 150 });
    }

    var retina = window.devicePixelRatio > 1 ? true : false;

    /* wpml flag in center */
    var wpml_flag = jQuery(‘ul#nav > li > a > .iclflag’);
    var wpml_h = wpml_flag.height();
    wpml_flag.css(‘margin-top’, +wpml_h / – 2 + “px”);

    var wpml_flag = jQuery(‘.top-menu > ul > li > a > .iclflag’);
    var wpml_h = wpml_flag.height();
    wpml_flag.css(‘margin-top’, +wpml_h / – 2 + “px”);

    jQuery(‘#posts-container-infinite’).infinitescroll({
    navSelector : “div.pagination”,
    // selector for the paged navigation (it will be hidden)
    nextSelector : “a.pagination-next”,
    // selector for the NEXT link (to page 2)
    itemSelector : “div.post”,
    // selector for all items you’ll retrieve
    errorCallback: function() {
    jQuery(‘#posts-container’).isotope(‘reLayout’);
    }
    }, function(posts) {
    if(jQuery().isotope) {
    //jQuery(posts).css(‘top’, ‘auto’).css(‘left’, ‘auto’);

    jQuery(posts).hide();
    imagesLoaded(posts, function() {
    jQuery(posts).fadeIn();
    jQuery(‘#posts-container-infinite’).isotope(‘appended’, jQuery(posts));
    jQuery(‘#posts-container-infinite’).isotope(‘reLayout’);
    });

    var gridwidth = (jQuery(‘.grid-layout’).width() / 2) – 22;
    jQuery(‘.grid-layout .post’).css(‘width’, gridwidth);

    var gridwidth = (jQuery(‘.grid-full-layout’).width() / 3) – 30;
    jQuery(‘.grid-full-layout .post’).css(‘width’, gridwidth);

    jQuery(‘#posts-container-infinite’).isotope(‘reLayout’);
    }

    jQuery(‘.flexslider’).flexslider({
    slideshow: true,
    slideshowSpeed: 7000,
    video: true,
    pauseOnHover: false,
    useCSS: false,
    start: function(slider) {
    if (typeof(slider.slides) !== ‘undefined’ && slider.slides.eq(slider.currentSlide).find(‘iframe’).length !== 0) {
    jQuery(slider).find(‘.flex-control-nav’).hide();

    YT_ready(function() {
    new YT.Player(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), {
    events: {
    ‘onStateChange’: onPlayerStateChange(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), slider)
    }
    });
    });
    } else {
    jQuery(slider).find(‘.flex-control-nav’).show();
    }
    },
    before: function(slider) {
    if (slider.slides.eq(slider.currentSlide).find(‘iframe’).length !== 0) {
    $f(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’) ).api(‘pause’);
    YT_ready(function() {
    new YT.Player(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), {
    events: {
    ‘onStateChange’: onPlayerStateChange(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), slider)
    }
    });
    });

    /* —————— YOUTUBE FOR AUTOSLIDER —————— */
    playVideoAndPauseOthers(slider);
    }
    },
    after: function(slider) {
    if (slider.slides.eq(slider.currentSlide).find(‘iframe’).length !== 0) {
    jQuery(slider).find(‘.flex-control-nav’).hide();

    YT_ready(function() {
    new YT.Player(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), {
    events: {
    ‘onStateChange’: onPlayerStateChange(slider.slides.eq(slider.currentSlide).find(‘iframe’).attr(‘id’), slider)
    }
    });
    });
    } else {
    jQuery(slider).find(‘.flex-control-nav’).show();
    }
    }
    });
    if(jQuery().prettyPhoto) { jQuery(“a[rel^=’prettyPhoto’]”).prettyPhoto(ppArgs); }
    jQuery(posts).each(function() {
    jQuery(this).find(‘.full-video, .video-shortcode, .wooslider .slide-content’).fitVids();
    });

    if(jQuery().isotope) {
    jQuery(‘#posts-container-infinite’).isotope(‘reLayout’);
    }
    });

    });
    </script>

    <style type=”text/css”>
    a:hover,
    .footer-area ul li a:hover,
    .side-nav li.current_page_item a,
    .project-content .project-info .project-info-box a:hover,
    span.dropcap,.footer-area a:hover,.copyright a:hover,
    #sidebar .widget_categories li a:hover,
    #main .post h2 a:hover,
    #sidebar .widget li a:hover,
    h5.toggle:hover a,
    .tooltip-shortcode,
    .pagination-prev:hover:before,.pagination-next:hover:after,
    .single-navigation a[rel=prev]:hover:before,.single-navigation a[rel=next]:hover:after,
    #sidebar .widget_nav_menu li a:hover:before,#sidebar .widget_categories li a:hover:before,
    #sidebar .widget .recentcomments:hover:before,#sidebar .widget_recent_entries li a:hover:before,
    #sidebar .widget_archive li a:hover:before,#sidebar .widget_pages li a:hover:before,
    #sidebar .widget_links li a:hover:before,.side-nav .arrow:hover:after,
    .post-content ul.list-icon-color-light li:before,.woocommerce-tabs .tabs a:hover .arrow:after,
    .woocommerce-pagination .prev:hover:before,.woocommerce-pagination .next:hover:after,
    #wrapper .cart-checkout a:hover,#wrapper .cart-checkout a:hover:before,
    .widget_shopping_cart_content .total .amount,.widget_layered_nav li a:hover:before,
    .widget_product_categories li a:hover:before,#header .my-account-link-active:after,.woocommerce-side-nav li.active a,.woocommerce-side-nav li.active a:after,.my_account_orders .order-number a,
    .cart_totals .total .amount,form.checkout .shop_table tfoot .total .amount,#final-order-details .mini-order-details tr:last-child .amount,.rtl .more a:hover:before,.rtl .read-more:hover:before,#wrapper #sidebar .current_page_item > a,#wrapper #sidebar .current-menu-item a,#wrapper #sidebar .current_page_item a:before,#wrapper #sidebar .current-menu-item a:before,#wrapper .footer-area .current_page_item a,#wrapper .footer-area .current-menu-item a,#wrapper .footer-area .current_page_item a:before,#wrapper .footer-area .current-menu-item a:before,.side-nav ul > li.current_page_item > a,.side-nav li.current_page_ancestor > a
    {
    color:#60B071 !important;
    }
    #nav ul .current_page_item a, #nav ul .current-menu-item a, #nav ul > .current-menu-parent a,
    #nav ul ul,#nav li.current-menu-ancestor a,
    .reading-box,
    .progress-bar-content,
    .pagination a.inactive:hover,
    #nav ul a:hover,.woocommerce-pagination .page-numbers:hover, #sidebar .pyre_tabs .image:hover,.footer-area .pyre_tabs .image:hover, #sidebar .flickr_badge_image img:hover, .footer-area .flickr_badge_image img:hover, #sidebar .recent_works img:hover, .footer-area .recent_works img:hover,
    .image .image-extras,#header .my-account-link:hover:after,body #header .my-account-link-active:after,.cart-content a:hover img, .product_list_widget .wp-post-image:hover{
    border-color:#60B071 !important;
    }

    #nav ul .current-menu-parent > a:before, #nav ul .current_page_item > a:before {
    background:#60B071 !important;
    }
    .side-nav li.current_page_item a{
    border-right-color:#60B071 !important;
    }
    .rtl .side-nav li.current_page_item a{
    border-left-color:#60B071 !important;
    }
    .header-v2 .header-social, .header-v3 .header-social, .header-v4 .header-social,.header-v5 .header-social,.header-v2{
    border-top-color:#60B071 !important;
    }
    h5.toggle.active,
    .progress-bar-content,
    .pagination .current,
    .header-v3 .header-social,.header-v4 .header-social,.header-v5 .header-social,
    .table-2 table thead,
    .wooslider .wooslider-prev:hover, .wooslider .wooslider-next:hover, .main-flex .flex-prev:hover, .main-flex .flex-next:hover,
    .rev_slider_wrapper .tp-leftarrow:hover, .rev_slider_wrapper .tp-rightarrow:hover,
    .image .image-extras .image-extras-content h3, .ei-title h2,
    .ei-slider-thumbs li.ei-slider-element, .ls-alora a.ls-nav-prev:hover, .ls-alora a.ls-nav-next:hover,
    .onsale,.woocommerce-pagination .current,
    .woocommerce .social-share li a:hover,
    .price_slider_wrapper .ui-slider .ui-slider-range,.cart-loading,.flex-direction-nav a:hover
    {
    background-color:#60B071 !important;
    }

    #header,#small-nav,#header .login-box,#header .cart-contents,#small-nav .login-box,#small-nav .cart-contents{
    background-color:#ffffff !important;
    }
    body #header.sticky-header{background:rgba(255, 255, 255, 0.95) !important;}
    #nav ul a{
    border-color:#ffffff !important;
    }

    #main,#wrapper{
    background-color:#ffffff !important;
    }

    .footer-area{
    background-color:#f8f8f8 !important;
    }

    .footer-area{
    border-color:#f7f7f7 !important;
    }

    #footer{
    background-color:#262626 !important;
    }

    #footer{
    border-color:#080808 !important;
    }

    .sep-boxed-pricing ul li.title-row, .sep-boxed-pricing ul li.pricing-row{
    background-color:#73B819 !important;
    }

    #main .reading-box .button,
    #main .continue.button,
    #main .portfolio-one .button,
    #main .comment-submit,
    .button.default,a.read-more, .pagination .current, .tagcloud a:hover,
    .portfolio-tabs li.active a, .faq-tabs li.active a, h5.toggle.active a,h5.toggle.active a:hover,
    span.more a, .project-content .project-info .project-info-box a.button,input[type=”submit”] ,#reviews input#submit,
    .price_slider_amount button,
    .gform_wrapper .gform_button,
    .product-buttons .add_to_cart_button,.woocommerce-pagination .current,.widget_shopping_cart_content .buttons a,.woocommerce-success-message a.button {
    color: #ffffff !important;
    background-image: linear-gradient(top, #60B071 0%, #598f13 100%);
    background-image: -o-linear-gradient(top, #60B071 0%, #598f13 100%);
    background-image: -moz-linear-gradient(top, #60B071 0%, #598f13 100%);
    background-image: -webkit-linear-gradient(top, #60B071 0%, #598f13 100%);
    background-image: -ms-linear-gradient(top, #60B071 0%, #598f13 100%);

    background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #60B071),
    color-stop(1, #598f13)
    );
    border:1px solid #598f13;

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#60B071′, endColorstr=’#598f13′);
    }
    .no-cssgradients #main .portfolio-one .button,
    .no-cssgradients #main .comment-submit,
    .no-cssgradients #reviews input#submit,
    .no-cssgradients .button.default,
    .no-cssgradients .price_slider_amount button,
    .no-cssgradients .gform_wrapper .gform_button{
    background:#60B071;
    }
    #main .portfolio-one .button:hover,
    #main .comment-submit:hover,
    #reviews input#submit:hover,
    .button.default:hover,
    .price_slider_amount button:hover,
    .gform_wrapper .gform_button:hover{
    color: #ffffff !important;
    background-image: linear-gradient(top, #598f13 0%, #60B071 100%);
    background-image: -o-linear-gradient(top, #598f13 0%, #60B071 100%);
    background-image: -moz-linear-gradient(top, #598f13 0%, #60B071 100%);
    background-image: -webkit-linear-gradient(top, #598f13 0%, #60B071 100%);
    background-image: -ms-linear-gradient(top, #598f13 0%, #60B071 100%);

    background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #598f13),
    color-stop(1, #60B071)
    );
    border:1px solid #598f13;

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#598f13′, endColorstr=’#60B071′);
    }
    .no-cssgradients #main .portfolio-one .button:hover,
    .no-cssgradients #main .comment-submit:hover,
    .no-cssgradients #reviews input#submit:hover,
    .no-cssgradients .button.default,
    .no-cssgradients .price_slider_amount button:hover,
    .no-cssgradients .gform_wrapper .gform_button{
    background:#598f13;
    }

    .page-title-container{
    background-image:url(http://www.siderman.gr/wp-content/themes/alora/images/page_title_bg.png) !important;
    }

    .page-title-container{
    background-color:#F8F8F8;
    }

    .page-title-container{border-color:#f5f5f5 !important;}

    #header{
    }

    #header{
    }

    #main{
    }

    #main{
    }

    .footer-area{
    }
    .page-title-container{
    }

    .page-title-container{
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
    }
    .fontawesome-icon.circle-yes{
    background-color:#f2f2f2 !important;
    }

    .fontawesome-icon.circle-yes{
    border-color:#f2f2f2 !important;
    }

    .fontawesome-icon{
    color:#747474 !important;
    }

    .title-sep,.product .product-border{
    border-color:#F0F0F0 !important;
    }

    .review blockquote q,.post-content blockquote,form.checkout .payment_methods .payment_box{
    background-color:#f6f6f6 !important;
    }
    .review blockquote div:after{
    border-top-color:#f6f6f6 !important;
    }

    .review blockquote q,.post-content blockquote{
    color:#747474 !important;
    }

    body,#nav ul li ul li a,
    .more,
    .alora-container h3,
    .meta .date,
    .review blockquote q,
    .review blockquote div strong,
    .image .image-extras .image-extras-content h4,
    .project-content .project-info h4,
    .post-content blockquote,
    .button.large,
    .button.small,
    .ei-title h3,.cart-contents,
    .gform_wrapper .gform_button,
    .woocommerce-success-message .button{
    font-family:’Trebuchet MS’, Helvetica, sans-serif !important;
    }
    .alora-container h3,
    .review blockquote div strong,
    .footer-area h3,
    .button.large,
    .button.small,
    .gform_wrapper .gform_button{
    font-weight:bold;
    }
    .meta .date,
    .review blockquote q,
    .post-content blockquote{
    font-style:italic;
    }

    #nav,
    .side-nav li a{
    font-family:Arial, Helvetica, sans-serif !important;
    }

    #main .reading-box h2,
    #main h2,
    .page-title h1,
    .image .image-extras .image-extras-content h3,
    #main .post h2,
    #sidebar .widget h3,
    .tab-holder .tabs li a,
    .share-box h4,
    .project-content h3,
    h5.toggle a,
    .full-boxed-pricing ul li.title-row,
    .full-boxed-pricing ul li.pricing-row,
    .sep-boxed-pricing ul li.title-row,
    .sep-boxed-pricing ul li.pricing-row,
    .person-author-wrapper,
    .post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6,
    .ei-title h2, #header .tagline,
    table th,.woocommerce-success-message .msg,.product-title{
    font-family:Georgia, serif !important;
    }

    .footer-area h3{
    font-family:Arial, Helvetica, sans-serif !important;
    }

    body,#sidebar .slide-excerpt h2, .footer-area .slide-excerpt h2{
    font-size:15px;
    line-height:23px;
    }
    .project-content .project-info h4,.gform_wrapper label,.gform_wrapper .gfield_description{
    font-size:15px !important;
    line-height:23px !important;
    }

    body,#sidebar .slide-excerpt h2, .footer-area .slide-excerpt h2, .post .post-content{
    line-height:25px !important;
    }
    .project-content .project-info h4{
    line-height:25px !important;
    }

    #nav{font-size:14px !important;}

    .header-social *{font-size:11px !important;}

    .page-title ul li,page-title ul li a{font-size:11px !important;}

    .side-nav li a{font-size:14px !important;}

    #sidebar .widget h3{font-size:18px !important;}

    .footer-area h3{font-size:18px !important;}

    .copyright{font-size:12px !important;}

    #header .alora-row, #main .alora-row, .footer-area .alora-row, #footer .alora-row{ max-width:940px; }

    .post-content h1{
    font-size:28px !important;
    line-height:42px !important;
    }

    .post-content h1{
    line-height:48px !important;
    }

    .post-content h2,.title h2,#main .post-content .title h2,.page-title h1,#main .post h2 a, #reviews h2{
    font-size:25px !important;
    line-height:38px !important;
    }

    .post-content h2,.title h2,#main .post-content .title h2,.page-title h1,#main .post h2 a{
    line-height:35px !important;
    }

    .post-content h3,.project-content h3,#header .tagline,.product-title{
    font-size:16px !important;
    line-height:24px !important;
    }

    .post-content h3,.project-content h3,#header .tagline,.product-title{
    line-height:24px !important;
    }

    .post-content h4{
    font-size:13px !important;
    line-height:20px !important;
    }
    h5.toggle a,.tab-holder .tabs li a,.share-box h4{
    font-size:13px !important;
    }

    .post-content h4{
    line-height:20px !important;
    }

    .post-content h5{
    font-size:12px !important;
    line-height:18px !important;
    }

    .post-content h5{
    line-height:18px !important;
    }

    .post-content h6{
    font-size:11px !important;
    line-height:17px !important;
    }

    .post-content h6{
    line-height:17px !important;
    }

    .ei-title h2{
    font-size:42px !important;
    line-height:50px !important;
    }

    .ei-title h3{
    font-size:20px !important;
    line-height:30px !important;
    }

    body,.post .post-content,.post-content blockquote,.tab-holder .news-list li .post-holder .meta,#sidebar #jtwt,.meta,.review blockquote div,.search input,.project-content .project-info h4,.title-row,.quantity .qty,.quantity .minus,.quantity .plus,.shop_table .product-remove a, .shop_table .product-thumbnail a{color:#747474 !important;}

    .post-content h1,.title h1{
    color:#333333 !important;
    }

    .post-content h2,.title h2,.woocommerce-tabs h2{
    color:#333333 !important;
    }

    .post-content h3,#sidebar .widget h3,.project-content h3,.title h3,#header .tagline,.person-author-wrapper span,.product-title{
    color:#333333 !important;
    }

    .post-content h4,.project-content .project-info h4,.share-box h4,.title h4{
    color:#333333 !important;
    }

    .post-content h5,h5.toggle a,.title h5{
    color:#333333 !important;
    }

    .post-content h6,.title h6{
    color:#333333 !important;
    }

    .page-title h1{
    color:#333333 !important;
    }

    .page .post-content a, .single .post-content a, .project-content .project-info .project-info-box a, #sidebar .widget_categories li,
    .image-extras a,.my_account_orders thead tr th,#final-order-details .mini-order-details th {color:#60B071 !important;}

    .page-title ul li {color:#888888 !important;}

    .footer-area h3{color:#5e5e5e !important;}

    .footer-area,.footer-area #jtwt,.copyright{color:#b8b8b8 !important;}

    .footer-area a,.copyright a{color:#7a7a7a !important;}

    #nav ul a,.side-nav li a{color:#888888 !important;}
    #header .my-account-link:after{border-color:#888888 !important;}

    #nav ul .current_page_item a, #nav ul .current-menu-item a, #nav ul > .current-menu-parent a, #nav ul ul, #nav li.current-menu-ancestor a, #nav ul a:hover{background-color:#fbfbfb !important;}
    #nav ul ul{border-color: !important;}

    #nav ul ul{background-color:#ffffff;}

    #wrapper #nav ul li ul li a,.side-nav li li a,.side-nav li.current_page_item li a{color:#888888 !important;}

    .ei-title h2{color:#ffffff !important;}

    .ei-title h3{color:#ffffff !important;}

    #wrapper .header-social ul.menu li > a {color:#ffffff;}
    #wrapper .header-social ul.menu li > a:hover {color:#ffffff!important;}

    .sep-single{background-color:#f0f0f0 !important;}
    .sep-double,.sep-dashed,.sep-dotted{border-color:#f0f0f0 !important;}
    .ls-alora, .alora-skin-rev,.clients-carousel .es-carousel li img,h5.toggle a,.progress-bar,
    #small-nav,.portfolio-tabs,.faq-tabs,.single-navigation,.project-content .project-info .project-info-box,
    .post .meta-info,.grid-layout .post,.grid-layout .post .content-sep,
    .grid-layout .post .flexslider,.timeline-layout .post .content-sep,
    h3.timeline-title,.timeline-arrow,
    .counter-box-wrapper,.table-2 table thead,.table-2 tr td,
    #sidebar .widget .recentcomments,
    .commentlist .the-comment,
    .side-nav,#wrapper .side-nav li a,.rtl .side-nav,h5.toggle.active + .toggle-content,
    #wrapper .side-nav li.current_page_item li a,.tabs-vertical .tabset,
    .tabs-vertical .tabs-container .tab_content,.page-title-container{border-color:#f0f0f0;}
    .side-nav li a,.person-author-wrapper,.product_list_widget li,.widget_layered_nav li,.price_slider_wrapper,#header .cart-content a,#header .cart-content a:hover,#header .login-box,#small-nav .login-box,#small-nav .cart-contents,#small-nav .cart-content a,#small-nav .cart-content a:hover,
    #customer_login_box,
    .woocommerce-side-nav li a,.woocommerce-content-box,.woocommerce-content-box h2,.my_account_orders tr,.woocommerce .address h4,.shop_table tr,.cart_totals .total,.chzn-container-single .chzn-single,.chzn-container-single .chzn-single div,.chzn-drop,form.checkout .shop_table tfoot,.input-radio,#final-order-details .mini-order-details tr:last-child,p.order-info,.cart-content a img,.panel.entry-content,.quantity,.quantity .minus, .quantity .qty,.shop_attributes tr,.product_list_widget .wp-post-image{border-color:#f0f0f0 !important;}
    .price_slider_wrapper .ui-widget-content{background-color:#f0f0f0;}
    .quantity .minus,.quantity .plus{background-color:#ffffff !important;}

    .quantity .minus:hover,.quantity .plus:hover{background-color:#ffffff !important;}

    #wrapper input#s,#wrapper #comment-input input,#wrapper #comment-textarea textarea,#wrapper input[type=”text”],#wrapper .comment-form-comment textarea,#wrapper .input-text,#wrapper .wpcf7-form .wpcf7-text,#wrapper .wpcf7-form .wpcf7-quiz,#wrapper .wpcf7-form .wpcf7-number,#wrapper .wpcf7-form textarea,#wrapper .gform_wrapper .gfield input[type=text],#wrapper .gform_wrapper .gfield textarea{background-color:#ffffff !important;}

    input#s,input#s,.placeholder,#comment-input input,#comment-textarea textarea,#comment-input .placeholder,#comment-textarea .placeholder,input[type=text],input[type=password],input[type=file]{color:#aaa9a9 !important;}
    input#s::webkit-input-placeholder,#comment-input input::-webkit-input-placeholder,#comment-textarea textarea::-webkit-input-placeholder{color:#aaa9a9 !important;}
    input#s:moz-placeholder,#comment-input input:-moz-placeholder,#comment-textarea textarea:-moz-placeholder{color:#aaa9a9 !important;}
    input#s:-ms-input-placeholder,#comment-input input:-ms-input-placeholder,#comment-textarea textarea:-moz-placeholder{color:#aaa9a9 !important;}

    input#s,#comment-input input,#comment-textarea textarea,input[type=text],input[type=password],input[type=file],.comment-form-comment textarea,.input-text,.wpcf7-form .wpcf7-text,.wpcf7-form .wpcf7-quiz,.wpcf7-form .wpcf7-number,.wpcf7-form textarea,.gform_wrapper .gfield input[type=text],.gform_wrapper .gfield textarea,.gform_wrapper .gfield_select[multiple=multiple]{border-color:#E0E0E0 !important;}

    #wrapper #nav ul li ul li a, #header .cart-contents, #wrapper .header-social .cart-contents {border:1px solid #e8e8e8 !important;border-bottom-width:0!important;}
    #wrapper #nav ul li ul li:last-child > a {border-bottom-width:1px!important;}

    #wrapper #nav ul li ul li a:hover, #wrapper #nav ul li ul li.current-menu-item a,#header .cart-content a:hover,#small-nav .cart-content a:hover{background-color:#f7f7f7 !important;}

    #header .tagline{
    color:#ababab !important;
    }

    #header .tagline{
    font-size:16px !important;
    line-height:30px !important;
    }

    .page-title h1{
    font-size:25px !important;
    line-height:normal !important;
    }

    .header-social,#header{
    border-bottom-color:#e1e1e1 !important;
    }

    #nav ul ul{
    width:170px !important;
    }

    .page-title-container{
    height:87px !important;
    }

    #main #sidebar{
    background-color:transparent;
    }

    #main #content{
    width:71.1702128%;
    }

    #main #sidebar{
    width:23.4042553%;
    }

    #wrapper .header-social{
    background-color:#60B071 !important;
    }

    #wrapper .header-social .menu > li{
    border-color:#ffffff !important;
    }

    #wrapper .header-social .menu .sub-menu,#wrapper .header-social .login-box,#wrapper .header-social .cart-contents{
    background-color:#ffffff !important;
    }

    #wrapper .header-social .menu .sub-menu li, #wrapper .header-social .menu .sub-menu li a,#wrapper .header-social .login-box *,#wrapper .header-social .cart-contents *{
    color:#aaaaaa;
    }

    #wrapper .header-social .menu .sub-menu li a:hover{
    background-color:#fafafa !important;
    }

    #wrapper .header-social .menu .sub-menu li a:hover{
    color:#aaaaaa !important;
    }

    #wrapper .header-social .menu .sub-menu,#wrapper .header-social .menu .sub-menu li,.top-menu .cart-content a,#wrapper .header-social .login-box{
    border-color:#e8e8e8 !important;
    }

    .top-menu .cart, .top-menu .cart-content a:hover{
    background-color:transparent !important;
    }
    h5.toggle{background-color:#f2f2f2;}

    .progress-bar-content{background-color:#73B819 !important;border-color:#73B819 !important;}
    .counter-box-wrapper{background-color:#73B819 !important;}

    .progress-bar{background-color:#f6f6f6;border-color:#f6f6f6;}

    #sidebar .widget_nav_menu li a:before,#sidebar .widget_categories li a:before,
    #sidebar .widget .recentcomments:before,#sidebar .widget_recent_entries li a:before,
    #sidebar .widget_archive li a:before,#sidebar .widget_pages li a:before,
    #sidebar .widget_links li a:before,.side-nav .arrow:after,.single-navigation a[rel=prev]:before,
    .single-navigation a[rel=next]:after,.pagination-prev:before,
    .pagination-next:after,.woocommerce-pagination .prev:before,.woocommerce-pagination .next:after{color:#cccccc !important;}

    .date-and-formats .format-box{background-color:#eef0f2;}

    .es-nav-prev,.es-nav-next{background-color:#ffffff;}

    .es-nav-prev:hover,.es-nav-next:hover{background-color:#37B6BD;}

    .content-boxes .col{background-color:transparent;}

    body.dark #sidebar .tab-hold .tabs li a{background:#ebeaea !important;border-bottom:0 !important;color:#747474 !important;}
    body.dark #sidebar .tab-hold .tabs li a:hover{background:#73B819 !important;border-bottom:0 !important;}
    body #sidebar .tab-hold .tabs li.active a,body .footer-area .tab-hold .tabs li.active a{background:#73B819 !important;border-bottom:0 !important;}
    .share-box{background-color:#ffffff;}

    .grid-layout .post,.timeline-layout .post{background-color:transparent;}

    .timeline-layout .post .content-sep,
    h3.timeline-title,.grid-layout .post,.grid-layout .post .content-sep, .timeline-layout .post{border-color:#e3e3e3 !important;}
    .align-left .timeline-arrow:before,.align-left .timeline-arrow:after{border-left-color:#e3e3e3 !important;}
    .align-right .timeline-arrow:before,.align-right .timeline-arrow:after{border-right-color:#e3e3e3 !important;}
    .timeline-circle,.timeline-title{background-color:#e3e3e3 !important;}
    .timeline-icon{color:#e3e3e3;}
    .timeline-arrow-date:after{border-top-color:#e3e3e3 !important;}

    .main-flex .flex-control-nav{display:none !important;}

    @media only screen and (max-width: 940px){
    .breadcrumbs{display:none !important;}
    }
    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait){
    .breadcrumbs{display:none !important;}
    }

    #nav > li > a,#nav li.current-menu-ancestor a{height:70px;line-height:70px;}
    #nav > li > a,#nav li.current-menu-ancestor a{height:70px;line-height:70px;}

    #nav ul ul{top:73px;}

    .ei-slider{width:100% !important;}

    .ei-slider{height:400px !important;}

    .reading-box{background-color:#f6f6f6 !important;}

    .isotope .isotope-item {
    -webkit-transition-property: top, left, opacity;
    -moz-transition-property: top, left, opacity;
    -ms-transition-property: top, left, opacity;
    -o-transition-property: top, left, opacity;
    transition-property: top, left, opacity;
    }

    .image-extras .gallery-icon{display:none !important;}
    .header-v5 #header .logo{float:left !important;}

    #main .post h2 a {
    color: #0B8344;
    }

    #main .post h2 a:hover {
    color: #555555 !important;
    }
    .alora-row {max-width:98%!important;}
    #main {padding-bottom:5;}
    .related-posts {
    margin-bottom:0;
    }

    .post:last-child {
    border-bottom: 0;
    margin-bottom:0;
    padding-bottom: 0;
    }

    .single #main .post h2 {
    margin-bottom: 25px;
    }

    .page-links {
    clear: both;
    font-size: 16px;
    color: #000033;
    font-weight: normal;
    line-height: 2.2;
    margin: 20px 0;
    }

    .page-links a,
    .page-links > span {
    background: #fff;
    border: 1px solid #fff;
    padding: 5px 10px;
    text-decoration: none;
    }

    .format-status .entry-content .page-links a,
    .format-gallery .entry-content .page-links a,
    .format-chat .entry-content .page-links a,
    .format-quote .entry-content .page-links a,
    .page-links a {
    background: #784E3D;
    border: 1px solid #784E3D;
    color: #fff;
    }

    .format-gallery .entry-content .page-links a:hover,
    .format-audio .entry-content .page-links a:hover,
    .format-status .entry-content .page-links a:hover,
    .format-video .entry-content .page-links a:hover,
    .format-chat .entry-content .page-links a:hover,
    .format-quote .entry-content .page-links a:hover,
    .page-links a:hover {
    background: #fff;
    color: #784E3D;
    }

    .format-status .entry-content .page-links > span,
    .format-quote .entry-content .page-links > span {
    background: none;
    }

    .page-links .page-links-title {
    background: transparent;
    border: none;
    margin-right: 20px;
    padding: 0;
    }

    ul {
    list-style: disc;
    }
    ul, ol { margin: 0 0 1em 1.5em; } </style>

    <script type=”text/javascript”>

    var _gaq = _gaq || [];
    _gaq.push([‘_setAccount’, ‘UA-185668-10’]);
    _gaq.push([‘_trackPageview’]);

    (function() {
    var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
    ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
    })();

    </script>
    </head>

Viewing 8 replies - 1 through 8 (of 8 total)
Replies
  • Roman
    Keymaster
    Post count: 2543
    Been thanked: 29 times
    #8843 |

    unfortunately, some scripts/styles cannot be loaded from an external file when they are inserted dynamically

    Spiros Doikas
    Spectator
    Post count: 49
    Been thanked: 0 times
    #8856 |

    Are you sure? I have not encountered any other theme frameworks that load their css/js in actual html (i.e. warp, genesis, etc). I can see a huge css there and I do not see any reason why it should be loaded dynamically within the actual html file, with some pretty unnecessary classes too (i.e. the ones for woocommerce when many people simply do not use woocommerce).

    Moreover, js, if not loading externally, could simply load at the bottom of the code, being less of a SEO problem, instead of loading at the top.

    Roman
    Keymaster
    Post count: 2543
    Been thanked: 29 times
    #8858 |

    this an analytics code you entered in theme options, cannot be loaded from a file:

    Code:
    <script type=”text/javascript”>

    var _gaq = _gaq || [];
    _gaq.push([‘_setAccount’, ‘UA-185668-10’]);
    _gaq.push([‘_trackPageview’]);

    (function() {
    var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
    ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl’ : ‘http://www’) + ‘.google-analytics.com/ga.js’;
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
    })();

    </script>

    this are CSS codes have in theme options, cannot be loaded from a file:

    Code:
    a:hover,
    .footer-area ul li a:hover,
    .side-nav li.current_page_item a,
    .project-content .project-info .project-info-box a:hover,
    span.dropcap,.footer-area a:hover,.copyright a:hover,
    #sidebar .widget_categories li a:hover,
    #main .post h2 a:hover,
    #sidebar .widget li a:hover,
    h5.toggle:hover a,
    .tooltip-shortcode,
    .pagination-prev:hover:before,.pagination-next:hover:after,
    .single-navigation a[rel=prev]:hover:before,.single-navigation a[rel=next]:hover:after,
    #sidebar .widget_nav_menu li a:hover:before,#sidebar .widget_categories li a:hover:before,
    #sidebar .widget .recentcomments:hover:before,#sidebar .widget_recent_entries li a:hover:before,
    #sidebar .widget_archive li a:hover:before,#sidebar .widget_pages li a:hover:before,
    #sidebar .widget_links li a:hover:before,.side-nav .arrow:hover:after,
    .post-content ul.list-icon-color-light li:before,.woocommerce-tabs .tabs a:hover .arrow:after,
    .woocommerce-pagination .prev:hover:before,.woocommerce-pagination .next:hover:after,
    #wrapper .cart-checkout a:hover,#wrapper .cart-checkout a:hover:before,
    .widget_shopping_cart_content .total .amount,.widget_layered_nav li a:hover:before,
    .widget_product_categories li a:hover:before,#header .my-account-link-active:after,.woocommerce-side-nav li.active a,.woocommerce-side-nav li.active a:after,.my_account_orders .order-number a,
    .cart_totals .total .amount,form.checkout .shop_table tfoot .total .amount,#final-order-details .mini-order-details tr:last-child .amount,.rtl .more a:hover:before,.rtl .read-more:hover:before,#wrapper #sidebar .current_page_item > a,#wrapper #sidebar .current-menu-item a,#wrapper #sidebar .current_page_item a:before,#wrapper #sidebar .current-menu-item a:before,#wrapper .footer-area .current_page_item a,#wrapper .footer-area .current-menu-item a,#wrapper .footer-area .current_page_item a:before,#wrapper .footer-area .current-menu-item a:before,.side-nav ul > li.current_page_item > a,.side-nav li.current_page_ancestor > a
    {
    color:#60B071 !important;
    }
    #nav ul .current_page_item a, #nav ul .current-menu-item a, #nav ul > .current-menu-parent a,
    #nav ul ul,#nav li.current-menu-ancestor a,
    .reading-box,
    .progress-bar-content,
    .pagination a.inactive:hover,
    #nav ul a:hover,.woocommerce-pagination .page-numbers:hover, #sidebar .pyre_tabs .image:hover,.footer-area .pyre_tabs .image:hover, #sidebar .flickr_badge_image img:hover, .footer-area .flickr_badge_image img:hover, #sidebar .recent_works img:hover, .footer-area .recent_works img:hover,
    .image .image-extras,#header .my-account-link:hover:after,body #header .my-account-link-active:after,.cart-content a:hover img, .product_list_widget .wp-post-image:hover{
    border-color:#60B071 !important;
    }

    #nav ul .current-menu-parent > a:before, #nav ul .current_page_item > a:before {
    background:#60B071 !important;
    }
    .side-nav li.current_page_item a{
    border-right-color:#60B071 !important;
    }
    .rtl .side-nav li.current_page_item a{
    border-left-color:#60B071 !important;
    }
    .header-v2 .header-social, .header-v3 .header-social, .header-v4 .header-social,.header-v5 .header-social,.header-v2{
    border-top-color:#60B071 !important;
    }
    h5.toggle.active,
    .progress-bar-content,
    .pagination .current,
    .header-v3 .header-social,.header-v4 .header-social,.header-v5 .header-social,
    .table-2 table thead,
    .wooslider .wooslider-prev:hover, .wooslider .wooslider-next:hover, .main-flex .flex-prev:hover, .main-flex .flex-next:hover,
    .rev_slider_wrapper .tp-leftarrow:hover, .rev_slider_wrapper .tp-rightarrow:hover,
    .image .image-extras .image-extras-content h3, .ei-title h2,
    .ei-slider-thumbs li.ei-slider-element, .ls-alora a.ls-nav-prev:hover, .ls-alora a.ls-nav-next:hover,
    .onsale,.woocommerce-pagination .current,
    .woocommerce .social-share li a:hover,
    .price_slider_wrapper .ui-slider .ui-slider-range,.cart-loading,.flex-direction-nav a:hover
    {
    background-color:#60B071 !important;
    }

    #header,#small-nav,#header .login-box,#header .cart-contents,#small-nav .login-box,#small-nav .cart-contents{
    background-color:#ffffff !important;
    }
    body #header.sticky-header{background:rgba(255, 255, 255, 0.95) !important;}
    #nav ul a{
    border-color:#ffffff !important;
    }

    #main,#wrapper{
    background-color:#ffffff !important;
    }

    .footer-area{
    background-color:#f8f8f8 !important;
    }

    .footer-area{
    border-color:#f7f7f7 !important;
    }

    #footer{
    background-color:#262626 !important;
    }

    #footer{
    border-color:#080808 !important;
    }

    .sep-boxed-pricing ul li.title-row, .sep-boxed-pricing ul li.pricing-row{
    background-color:#73B819 !important;
    }

    #main .reading-box .button,
    #main .continue.button,
    #main .portfolio-one .button,
    #main .comment-submit,
    .button.default,a.read-more, .pagination .current, .tagcloud a:hover,
    .portfolio-tabs li.active a, .faq-tabs li.active a, h5.toggle.active a,h5.toggle.active a:hover,
    span.more a, .project-content .project-info .project-info-box a.button,input[type=”submit”] ,#reviews input#submit,
    .price_slider_amount button,
    .gform_wrapper .gform_button,
    .product-buttons .add_to_cart_button,.woocommerce-pagination .current,.widget_shopping_cart_content .buttons a,.woocommerce-success-message a.button {
    color: #ffffff !important;
    background-image: linear-gradient(top, #60B071 0%, #598f13 100%);
    background-image: -o-linear-gradient(top, #60B071 0%, #598f13 100%);
    background-image: -moz-linear-gradient(top, #60B071 0%, #598f13 100%);
    background-image: -webkit-linear-gradient(top, #60B071 0%, #598f13 100%);
    background-image: -ms-linear-gradient(top, #60B071 0%, #598f13 100%);

    background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #60B071),
    color-stop(1, #598f13)
    );
    border:1px solid #598f13;

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#60B071′, endColorstr=’#598f13′);
    }
    .no-cssgradients #main .portfolio-one .button,
    .no-cssgradients #main .comment-submit,
    .no-cssgradients #reviews input#submit,
    .no-cssgradients .button.default,
    .no-cssgradients .price_slider_amount button,
    .no-cssgradients .gform_wrapper .gform_button{
    background:#60B071;
    }
    #main .portfolio-one .button:hover,
    #main .comment-submit:hover,
    #reviews input#submit:hover,
    .button.default:hover,
    .price_slider_amount button:hover,
    .gform_wrapper .gform_button:hover{
    color: #ffffff !important;
    background-image: linear-gradient(top, #598f13 0%, #60B071 100%);
    background-image: -o-linear-gradient(top, #598f13 0%, #60B071 100%);
    background-image: -moz-linear-gradient(top, #598f13 0%, #60B071 100%);
    background-image: -webkit-linear-gradient(top, #598f13 0%, #60B071 100%);
    background-image: -ms-linear-gradient(top, #598f13 0%, #60B071 100%);

    background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, #598f13),
    color-stop(1, #60B071)
    );
    border:1px solid #598f13;

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=’#598f13′, endColorstr=’#60B071′);
    }
    .no-cssgradients #main .portfolio-one .button:hover,
    .no-cssgradients #main .comment-submit:hover,
    .no-cssgradients #reviews input#submit:hover,
    .no-cssgradients .button.default,
    .no-cssgradients .price_slider_amount button:hover,
    .no-cssgradients .gform_wrapper .gform_button{
    background:#598f13;
    }

    .page-title-container{
    background-image:url(http://www.siderman.gr/wp-content/themes/alora/images/page_title_bg.png) !important;
    }

    .page-title-container{
    background-color:#F8F8F8;
    }

    .page-title-container{border-color:#f5f5f5 !important;}

    #header{
    }

    #header{
    }

    #main{
    }

    #main{
    }

    .footer-area{
    }
    .page-title-container{
    }

    .page-title-container{
    -webkit-background-size: auto;
    -moz-background-size: auto;
    -o-background-size: auto;
    background-size: auto;
    }
    .fontawesome-icon.circle-yes{
    background-color:#f2f2f2 !important;
    }

    .fontawesome-icon.circle-yes{
    border-color:#f2f2f2 !important;
    }

    .fontawesome-icon{
    color:#747474 !important;
    }

    .title-sep,.product .product-border{
    border-color:#F0F0F0 !important;
    }

    .review blockquote q,.post-content blockquote,form.checkout .payment_methods .payment_box{
    background-color:#f6f6f6 !important;
    }
    .review blockquote div:after{
    border-top-color:#f6f6f6 !important;
    }

    .review blockquote q,.post-content blockquote{
    color:#747474 !important;
    }

    body,#nav ul li ul li a,
    .more,
    .alora-container h3,
    .meta .date,
    .review blockquote q,
    .review blockquote div strong,
    .image .image-extras .image-extras-content h4,
    .project-content .project-info h4,
    .post-content blockquote,
    .button.large,
    .button.small,
    .ei-title h3,.cart-contents,
    .gform_wrapper .gform_button,
    .woocommerce-success-message .button{
    font-family:’Trebuchet MS’, Helvetica, sans-serif !important;
    }
    .alora-container h3,
    .review blockquote div strong,
    .footer-area h3,
    .button.large,
    .button.small,
    .gform_wrapper .gform_button{
    font-weight:bold;
    }
    .meta .date,
    .review blockquote q,
    .post-content blockquote{
    font-style:italic;
    }

    #nav,
    .side-nav li a{
    font-family:Arial, Helvetica, sans-serif !important;
    }

    #main .reading-box h2,
    #main h2,
    .page-title h1,
    .image .image-extras .image-extras-content h3,
    #main .post h2,
    #sidebar .widget h3,
    .tab-holder .tabs li a,
    .share-box h4,
    .project-content h3,
    h5.toggle a,
    .full-boxed-pricing ul li.title-row,
    .full-boxed-pricing ul li.pricing-row,
    .sep-boxed-pricing ul li.title-row,
    .sep-boxed-pricing ul li.pricing-row,
    .person-author-wrapper,
    .post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6,
    .ei-title h2, #header .tagline,
    table th,.woocommerce-success-message .msg,.product-title{
    font-family:Georgia, serif !important;
    }

    .footer-area h3{
    font-family:Arial, Helvetica, sans-serif !important;
    }

    body,#sidebar .slide-excerpt h2, .footer-area .slide-excerpt h2{
    font-size:15px;
    line-height:23px;
    }
    .project-content .project-info h4,.gform_wrapper label,.gform_wrapper .gfield_description{
    font-size:15px !important;
    line-height:23px !important;
    }

    body,#sidebar .slide-excerpt h2, .footer-area .slide-excerpt h2, .post .post-content{
    line-height:25px !important;
    }
    .project-content .project-info h4{
    line-height:25px !important;
    }

    #nav{font-size:14px !important;}

    .header-social *{font-size:11px !important;}

    .page-title ul li,page-title ul li a{font-size:11px !important;}

    .side-nav li a{font-size:14px !important;}

    #sidebar .widget h3{font-size:18px !important;}

    .footer-area h3{font-size:18px !important;}

    .copyright{font-size:12px !important;}

    #header .alora-row, #main .alora-row, .footer-area .alora-row, #footer .alora-row{ max-width:940px; }

    .post-content h1{
    font-size:28px !important;
    line-height:42px !important;
    }

    .post-content h1{
    line-height:48px !important;
    }

    .post-content h2,.title h2,#main .post-content .title h2,.page-title h1,#main .post h2 a, #reviews h2{
    font-size:25px !important;
    line-height:38px !important;
    }

    .post-content h2,.title h2,#main .post-content .title h2,.page-title h1,#main .post h2 a{
    line-height:35px !important;
    }

    .post-content h3,.project-content h3,#header .tagline,.product-title{
    font-size:16px !important;
    line-height:24px !important;
    }

    .post-content h3,.project-content h3,#header .tagline,.product-title{
    line-height:24px !important;
    }

    .post-content h4{
    font-size:13px !important;
    line-height:20px !important;
    }
    h5.toggle a,.tab-holder .tabs li a,.share-box h4{
    font-size:13px !important;
    }

    .post-content h4{
    line-height:20px !important;
    }

    .post-content h5{
    font-size:12px !important;
    line-height:18px !important;
    }

    .post-content h5{
    line-height:18px !important;
    }

    .post-content h6{
    font-size:11px !important;
    line-height:17px !important;
    }

    .post-content h6{
    line-height:17px !important;
    }

    .ei-title h2{
    font-size:42px !important;
    line-height:50px !important;
    }

    .ei-title h3{
    font-size:20px !important;
    line-height:30px !important;
    }

    body,.post .post-content,.post-content blockquote,.tab-holder .news-list li .post-holder .meta,#sidebar #jtwt,.meta,.review blockquote div,.search input,.project-content .project-info h4,.title-row,.quantity .qty,.quantity .minus,.quantity .plus,.shop_table .product-remove a, .shop_table .product-thumbnail a{color:#747474 !important;}

    .post-content h1,.title h1{
    color:#333333 !important;
    }

    .post-content h2,.title h2,.woocommerce-tabs h2{
    color:#333333 !important;
    }

    .post-content h3,#sidebar .widget h3,.project-content h3,.title h3,#header .tagline,.person-author-wrapper span,.product-title{
    color:#333333 !important;
    }

    .post-content h4,.project-content .project-info h4,.share-box h4,.title h4{
    color:#333333 !important;
    }

    .post-content h5,h5.toggle a,.title h5{
    color:#333333 !important;
    }

    .post-content h6,.title h6{
    color:#333333 !important;
    }

    .page-title h1{
    color:#333333 !important;
    }

    .page .post-content a, .single .post-content a, .project-content .project-info .project-info-box a, #sidebar .widget_categories li,
    .image-extras a,.my_account_orders thead tr th,#final-order-details .mini-order-details th {color:#60B071 !important;}

    .page-title ul li {color:#888888 !important;}

    .footer-area h3{color:#5e5e5e !important;}

    .footer-area,.footer-area #jtwt,.copyright{color:#b8b8b8 !important;}

    .footer-area a,.copyright a{color:#7a7a7a !important;}

    #nav ul a,.side-nav li a{color:#888888 !important;}
    #header .my-account-link:after{border-color:#888888 !important;}

    #nav ul .current_page_item a, #nav ul .current-menu-item a, #nav ul > .current-menu-parent a, #nav ul ul, #nav li.current-menu-ancestor a, #nav ul a:hover{background-color:#fbfbfb !important;}
    #nav ul ul{border-color: !important;}

    #nav ul ul{background-color:#ffffff;}

    #wrapper #nav ul li ul li a,.side-nav li li a,.side-nav li.current_page_item li a{color:#888888 !important;}

    .ei-title h2{color:#ffffff !important;}

    .ei-title h3{color:#ffffff !important;}

    #wrapper .header-social ul.menu li > a {color:#ffffff;}
    #wrapper .header-social ul.menu li > a:hover {color:#ffffff!important;}

    .sep-single{background-color:#f0f0f0 !important;}
    .sep-double,.sep-dashed,.sep-dotted{border-color:#f0f0f0 !important;}
    .ls-alora, .alora-skin-rev,.clients-carousel .es-carousel li img,h5.toggle a,.progress-bar,
    #small-nav,.portfolio-tabs,.faq-tabs,.single-navigation,.project-content .project-info .project-info-box,
    .post .meta-info,.grid-layout .post,.grid-layout .post .content-sep,
    .grid-layout .post .flexslider,.timeline-layout .post .content-sep,
    h3.timeline-title,.timeline-arrow,
    .counter-box-wrapper,.table-2 table thead,.table-2 tr td,
    #sidebar .widget .recentcomments,
    .commentlist .the-comment,
    .side-nav,#wrapper .side-nav li a,.rtl .side-nav,h5.toggle.active + .toggle-content,
    #wrapper .side-nav li.current_page_item li a,.tabs-vertical .tabset,
    .tabs-vertical .tabs-container .tab_content,.page-title-container{border-color:#f0f0f0;}
    .side-nav li a,.person-author-wrapper,.product_list_widget li,.widget_layered_nav li,.price_slider_wrapper,#header .cart-content a,#header .cart-content a:hover,#header .login-box,#small-nav .login-box,#small-nav .cart-contents,#small-nav .cart-content a,#small-nav .cart-content a:hover,
    #customer_login_box,
    .woocommerce-side-nav li a,.woocommerce-content-box,.woocommerce-content-box h2,.my_account_orders tr,.woocommerce .address h4,.shop_table tr,.cart_totals .total,.chzn-container-single .chzn-single,.chzn-container-single .chzn-single div,.chzn-drop,form.checkout .shop_table tfoot,.input-radio,#final-order-details .mini-order-details tr:last-child,p.order-info,.cart-content a img,.panel.entry-content,.quantity,.quantity .minus, .quantity .qty,.shop_attributes tr,.product_list_widget .wp-post-image{border-color:#f0f0f0 !important;}
    .price_slider_wrapper .ui-widget-content{background-color:#f0f0f0;}
    .quantity .minus,.quantity .plus{background-color:#ffffff !important;}

    .quantity .minus:hover,.quantity .plus:hover{background-color:#ffffff !important;}

    #wrapper input#s,#wrapper #comment-input input,#wrapper #comment-textarea textarea,#wrapper input[type=”text”],#wrapper .comment-form-comment textarea,#wrapper .input-text,#wrapper .wpcf7-form .wpcf7-text,#wrapper .wpcf7-form .wpcf7-quiz,#wrapper .wpcf7-form .wpcf7-number,#wrapper .wpcf7-form textarea,#wrapper .gform_wrapper .gfield input[type=text],#wrapper .gform_wrapper .gfield textarea{background-color:#ffffff !important;}

    input#s,input#s,.placeholder,#comment-input input,#comment-textarea textarea,#comment-input .placeholder,#comment-textarea .placeholder,input[type=text],input[type=password],input[type=file]{color:#aaa9a9 !important;}
    input#s::webkit-input-placeholder,#comment-input input::-webkit-input-placeholder,#comment-textarea textarea::-webkit-input-placeholder{color:#aaa9a9 !important;}
    input#s:moz-placeholder,#comment-input input:-moz-placeholder,#comment-textarea textarea:-moz-placeholder{color:#aaa9a9 !important;}
    input#s:-ms-input-placeholder,#comment-input input:-ms-input-placeholder,#comment-textarea textarea:-moz-placeholder{color:#aaa9a9 !important;}

    input#s,#comment-input input,#comment-textarea textarea,input[type=text],input[type=password],input[type=file],.comment-form-comment textarea,.input-text,.wpcf7-form .wpcf7-text,.wpcf7-form .wpcf7-quiz,.wpcf7-form .wpcf7-number,.wpcf7-form textarea,.gform_wrapper .gfield input[type=text],.gform_wrapper .gfield textarea,.gform_wrapper .gfield_select[multiple=multiple]{border-color:#E0E0E0 !important;}

    #wrapper #nav ul li ul li a, #header .cart-contents, #wrapper .header-social .cart-contents {border:1px solid #e8e8e8 !important;border-bottom-width:0!important;}
    #wrapper #nav ul li ul li:last-child > a {border-bottom-width:1px!important;}

    #wrapper #nav ul li ul li a:hover, #wrapper #nav ul li ul li.current-menu-item a,#header .cart-content a:hover,#small-nav .cart-content a:hover{background-color:#f7f7f7 !important;}

    #header .tagline{
    color:#ababab !important;
    }

    #header .tagline{
    font-size:16px !important;
    line-height:30px !important;
    }

    .page-title h1{
    font-size:25px !important;
    line-height:normal !important;
    }

    .header-social,#header{
    border-bottom-color:#e1e1e1 !important;
    }

    #nav ul ul{
    width:170px !important;
    }

    .page-title-container{
    height:87px !important;
    }

    #main #sidebar{
    background-color:transparent;
    }

    #main #content{
    width:71.1702128%;
    }

    #main #sidebar{
    width:23.4042553%;
    }

    #wrapper .header-social{
    background-color:#60B071 !important;
    }

    #wrapper .header-social .menu > li{
    border-color:#ffffff !important;
    }

    #wrapper .header-social .menu .sub-menu,#wrapper .header-social .login-box,#wrapper .header-social .cart-contents{
    background-color:#ffffff !important;
    }

    #wrapper .header-social .menu .sub-menu li, #wrapper .header-social .menu .sub-menu li a,#wrapper .header-social .login-box *,#wrapper .header-social .cart-contents *{
    color:#aaaaaa;
    }

    #wrapper .header-social .menu .sub-menu li a:hover{
    background-color:#fafafa !important;
    }

    #wrapper .header-social .menu .sub-menu li a:hover{
    color:#aaaaaa !important;
    }

    #wrapper .header-social .menu .sub-menu,#wrapper .header-social .menu .sub-menu li,.top-menu .cart-content a,#wrapper .header-social .login-box{
    border-color:#e8e8e8 !important;
    }

    .top-menu .cart, .top-menu .cart-content a:hover{
    background-color:transparent !important;
    }
    h5.toggle{background-color:#f2f2f2;}

    .progress-bar-content{background-color:#73B819 !important;border-color:#73B819 !important;}
    .counter-box-wrapper{background-color:#73B819 !important;}

    .progress-bar{background-color:#f6f6f6;border-color:#f6f6f6;}

    #sidebar .widget_nav_menu li a:before,#sidebar .widget_categories li a:before,
    #sidebar .widget .recentcomments:before,#sidebar .widget_recent_entries li a:before,
    #sidebar .widget_archive li a:before,#sidebar .widget_pages li a:before,
    #sidebar .widget_links li a:before,.side-nav .arrow:after,.single-navigation a[rel=prev]:before,
    .single-navigation a[rel=next]:after,.pagination-prev:before,
    .pagination-next:after,.woocommerce-pagination .prev:before,.woocommerce-pagination .next:after{color:#cccccc !important;}

    .date-and-formats .format-box{background-color:#eef0f2;}

    .es-nav-prev,.es-nav-next{background-color:#ffffff;}

    .es-nav-prev:hover,.es-nav-next:hover{background-color:#37B6BD;}

    .content-boxes .col{background-color:transparent;}

    body.dark #sidebar .tab-hold .tabs li a{background:#ebeaea !important;border-bottom:0 !important;color:#747474 !important;}
    body.dark #sidebar .tab-hold .tabs li a:hover{background:#73B819 !important;border-bottom:0 !important;}
    body #sidebar .tab-hold .tabs li.active a,body .footer-area .tab-hold .tabs li.active a{background:#73B819 !important;border-bottom:0 !important;}
    .share-box{background-color:#ffffff;}

    .grid-layout .post,.timeline-layout .post{background-color:transparent;}

    .timeline-layout .post .content-sep,
    h3.timeline-title,.grid-layout .post,.grid-layout .post .content-sep, .timeline-layout .post{border-color:#e3e3e3 !important;}
    .align-left .timeline-arrow:before,.align-left .timeline-arrow:after{border-left-color:#e3e3e3 !important;}
    .align-right .timeline-arrow:before,.align-right .timeline-arrow:after{border-right-color:#e3e3e3 !important;}
    .timeline-circle,.timeline-title{background-color:#e3e3e3 !important;}
    .timeline-icon{color:#e3e3e3;}
    .timeline-arrow-date:after{border-top-color:#e3e3e3 !important;}

    .main-flex .flex-control-nav{display:none !important;}

    @media only screen and (max-width: 940px){
    .breadcrumbs{display:none !important;}
    }
    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait){
    .breadcrumbs{display:none !important;}
    }

    #nav > li > a,#nav li.current-menu-ancestor a{height:70px;line-height:70px;}
    #nav > li > a,#nav li.current-menu-ancestor a{height:70px;line-height:70px;}

    #nav ul ul{top:73px;}

    .ei-slider{width:100% !important;}

    .ei-slider{height:400px !important;}

    .reading-box{background-color:#f6f6f6 !important;}

    .isotope .isotope-item {
    -webkit-transition-property: top, left, opacity;
    -moz-transition-property: top, left, opacity;
    -ms-transition-property: top, left, opacity;
    -o-transition-property: top, left, opacity;
    transition-property: top, left, opacity;
    }

    .image-extras .gallery-icon{display:none !important;}
    .header-v5 #header .logo{float:left !important;}

    #main .post h2 a {
    color: #0B8344;
    }

    #main .post h2 a:hover {
    color: #555555 !important;
    }
    .alora-row {max-width:98%!important;}
    #main {padding-bottom:5;}
    .related-posts {
    margin-bottom:0;
    }

    .post:last-child {
    border-bottom: 0;
    margin-bottom:0;
    padding-bottom: 0;
    }

    .single #main .post h2 {
    margin-bottom: 25px;
    }

    .page-links {
    clear: both;
    font-size: 16px;
    color: #000033;
    font-weight: normal;
    line-height: 2.2;
    margin: 20px 0;
    }

    .page-links a,
    .page-links > span {
    background: #fff;
    border: 1px solid #fff;
    padding: 5px 10px;
    text-decoration: none;
    }

    .format-status .entry-content .page-links a,
    .format-gallery .entry-content .page-links a,
    .format-chat .entry-content .page-links a,
    .format-quote .entry-content .page-links a,
    .page-links a {
    background: #784E3D;
    border: 1px solid #784E3D;
    color: #fff;
    }

    .format-gallery .entry-content .page-links a:hover,
    .format-audio .entry-content .page-links a:hover,
    .format-status .entry-content .page-links a:hover,
    .format-video .entry-content .page-links a:hover,
    .format-chat .entry-content .page-links a:hover,
    .format-quote .entry-content .page-links a:hover,
    .page-links a:hover {
    background: #fff;
    color: #784E3D;
    }

    .format-status .entry-content .page-links > span,
    .format-quote .entry-content .page-links > span {
    background: none;
    }

    .page-links .page-links-title {
    background: transparent;
    border: none;
    margin-right: 20px;
    padding: 0;
    }

    ul {
    list-style: disc;
    }
    ul, ol { margin: 0 0 1em 1.5em; }

    the rest scripts I will not describe one by one, but for easy explanation, there are used php conditions which cannot be used together with an eternal javascript file, hovewer I am just working on reducing some scripts on the new theme release

    Spiros Doikas
    Spectator
    Post count: 49
    Been thanked: 0 times
    #8859 |

    I am sure these can be drastically reduced. I mean even with theme options css, isn’t it possible, say to “disable” theme settings somehow and put those css in one existing external file? It just seems quite weird in modern theming to have so much css inside the file, and at the top of the file as well.

    Roman
    Keymaster
    Post count: 2543
    Been thanked: 29 times
    #8861 |

    btw, how did you find out it affect SEO? 🙂

    Spiros Doikas
    Spectator
    Post count: 49
    Been thanked: 0 times
    #8864 |

    I think having the actual content as far as close to the top of the code is better. Please also refer to:

    Putting Your Pages on a Diet With CSS
    Pages that use linked external CSS style sheets, rather than embedding a lot of style in the HTML, are lighter weight. These lighter files are faster to download for users who are browsing your site, as well as for search engine spiders. In addition to downloading smaller HTML files, CSS files are typically shared by multiple pages and cached by the user-agent (i.e., the web browser for human viewers, or the spider program for the search engine). So each time a new page is loaded and the browser or crawler sees the <link> statement including the stylesheet, it does not reload it since it already knows about it.

    Lighter pages make it easier for search engines to discover your on page content. It also makes your pages much easier to manage.
    http://www.stonetemple.com/articles/css-and-seo.shtml

    Among the many things that you can do to improve the search engine optimization (SEO) of your web pages, one of the easiest and important thing is to improve on the page load time. It has been shown that improving the page speed leads to better user experience, user engagement and thus, indirectly better search engine optimization. Avoiding the CSS @import statements in your stylesheets are just one of those things to do to improve SEO

    Using multiple CSS @import statements inside the HTML source (as opposed to within the CSS file) to include stylesheets does not affect the page load times in most modern browsers. It is the @import statements with an CSS file that is most detrimental to the page load times. You are still discouraged from using the @import statements within the HTML page, because older versions of MSIE loads it later as if it was included at the bottom of the page. So, it is best not to use it.
    http://www.lostsaloon.com/technology/how-to-avoid-css-import-statements-in-stylesheets-to-improve-seo/

    Minify, Unify and Move Down JavaScript
    So, the best strategy here is to load JavaScript last (i.e. after your CSS is loaded). To do this, place JavaScript at the bottom of your HTML document where possible. Best practice recommends doing this right before the closing <body> tag.
    http://sixrevisions.com/web-standards/20-html-best-practices-you-should-follow/

    Roman
    Keymaster
    Post count: 2543
    Been thanked: 29 times
    #8865 |

    well I know about this, but some js scripts cannot be included at the bottom of the page, they wont simply work or mess up whole website. that’s the problem of visuality and usability on all modern themes. I am currently working on some scripts and css improvements which will surely speed up the theme as well. maybe probably next week I could release a new theme version with new features and bug fixes.

    Spiros Doikas
    Spectator
    Post count: 49
    Been thanked: 0 times
    #8866 |

    Sure, does not apply to all js scripts. But here we have really huge ones, (and css, not only js) this is my point.
    As I said, I have not seen such extensive in-file use of js/css in any popular theme framework and I hardly think this is a coincidence.

Viewing 8 replies - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.