Viewing 4 results - 142,561 through 142,564 (of 142,564 total)
  • Author
    Search Results
  • #108382

    Hi,

    I got it working.

    1) There was an error on top ‘If you want different slugs for shop pages, you need to disable the shop prefix for products in WooCommerce Settings’. That needed to be disabled , the checkbox in WooCommerce settings.

    2) I took out your rewrite code in functions.php

    3) For products as well as pages I made the following change at the very bottom of the page http://www.clipular.com/c?2215312=XdzHbrWzgvbzhBhf4co2ekwDupk

    a) _avia_elements_avia_options_propulsion Translate

    b) _avia_elements_theme_compatibility_mode Translate

    Thanks,

    Nick

    Hi,

    Since people asked here is how to add a button to the Fixed Header with Social Icons and Additional Navigation.

    The button http://www.clipular.com/c?9784008=vDuclwRmVGaUtEsvJE5OhIUqBHQ&f=.png

    The button when fixed header shrinks http://www.clipular.com/c?9782007=1ngiPM6XB_EChXBaoJWkUftEaSo&f=.png

    The only thing you need to add manually is the url where the button takes you, and the button’s label.

    ==========================================

    1) In header.php find line 157 that looks like

    <!-- end container-->

    and replace it with the block below. Inside this block you will need to add the url where the button should take people who press it in place of http://URL which should be in the format: http://www.domain.com/page/ .. and also replace PRESS ME with what you want the button to say. To change the button color change avia-color-red in the css below to blue, or green, etc..

    <div class="avia-button-wrap avia-button-right" style="margin-top: 39px;" >
    <a href="HTTP://URL" class="avia-button avia-color-red avia-size-small avia-position-right ">
    <span class="avia_iconbox_title">PRESS ME</span>
    </a>
    </div>

    ===============================================

    2) Open up /js/avis.js and find the function on line 809-847 called

    function avia_header_size()

    and replace that entire function with the one below

    function avia_header_size()
    {
    var win = $(window),
    header = $('.fixed_header #header'),
    logo = header.find('.logo img'),
    elements = $('#header_main .container, .main_menu ul:first-child > li > a:not(.avia_mega_div a)'),
    el_height = $(elements).filter(':first').height(),
    isMobile = 'ontouchstart' in document.documentElement,
    scroll_top = $('#scroll-top-link'),
    element_button = $('.avia-button-wrap.avia-button-right'),
    set_height = function()
    {
    var st = win.scrollTop(), newH = 0, newTopMargin =0;

    if(st < el_height/2)
    {
    newH = el_height - st;
    newTopMargin = 39;
    //header.removeClass('shadow');
    }
    else
    {
    newH = el_height/2;
    newTopMargin = 10;
    //header.addClass('shadow');
    }

    elements.css({height: newH + 'px', lineHeight: newH + 'px'});
    element_button.css({'margin-top': newTopMargin + 'px'});
    }

    if(!header.length) return false;

    if(isMobile)
    {
    return false;
    }

    win.scroll(set_height);
    set_height();
    }

    3) Add this css to you /css/custom.css or to Quick CSS

    .main_menu {
    right: 80px;
    }
    .avia-button-right {
    display: inline-block;
    left: 28px;
    position: relative;
    float: right;
    }
    @media only screen and (max-width: 767px) {
    .avia-button-right {
    left: initial;
    position: absolute;
    top: 89px;
    right: 9px;
    }
    }

    That’s it.

    Thanks,

    #31870

    In reply to: Video Tutorials

    I think Kriesi bought an offline desktop recording tool to produce tutorial vdeos :)

    #31865

    In reply to: Video Tutorials

Viewing 4 results - 142,561 through 142,564 (of 142,564 total)