Forum Replies Created

Viewing 30 posts - 9,751 through 9,780 (of 11,475 total)
  • Author
    Posts
  • in reply to: More than one header style #770440

    well there was a snippet ( a bit bigger than the others) to have for each page/post the opportunity to choose if header is top, left or right.
    for that snippet you have to use by default first the top header and than switch on the page.

    add_filter('avf_builder_elements', 'register_meta_elements', 10, 1);
    function register_meta_elements($avf_builder_elements) {
      $avf_builder_elements[] = array(
        "slug"  => "layout",
        "name"  => __("Header Position",'avia_framework'),
        "id"    => "header_position",
        "desc"  => "Select the position of the header",
        "type"  => "select",
        "std"   => "",
        "class" => "avia-style",
        "subtype" => array( 
                            __("Default",'avia_framework') => '',
                            __('Top Header','avia_framework') =>'header_top',
                            __('Sidebar Header (Left)','avia_framework') =>'header_left header_sidebar',
                            __('Sidebar Header (Right)','avia_framework') =>'header_right header_sidebar',
    
                    )
      );
    
      return $avf_builder_elements;
    }
    
    if(!function_exists('avia_header_setting'))
    {
      function avia_header_setting($single_val = false)
      {
        global $avia_config;
        if(isset($avia_config['header_settings']) && $single_val && isset($avia_config['header_settings'][$single_val])) return $avia_config['header_settings'][$single_val];
        if(isset($avia_config['header_settings']) && !$single_val) return $avia_config['header_settings']; //return cached header setting if available
        
        $defaults = array(  'header_position' => 'header_top',
                  'header_layout'=>'logo_left menu_right', 
                  'header_size'=>'slim', 
                  'header_custom_size'=>'', 
                  'header_sticky'=>'header_sticky', 
                  'header_shrinking'=>'header_shrinking', 
                  'header_title_bar'=>'',
                  'header_social'=>'',
                  'header_unstick_top' =>'',
                  'header_secondary_menu'=>'', 
                  'header_stretch'=>'',
                  'header_custom_size'=>'',
                  'header_phone_active'=>'',
                  'header_replacement_logo'=>'',
                  'header_replacement_menu'=>'',
                  'header_mobile_behavior' => '',
                  'header_searchicon' => true,
                  'header_mobile_activation' => 'mobile_menu_phone',
                  'phone'=>'',
                  'sidebarmenu_sticky' => 'conditional_sticky',
                  'layout_align_content' => 'content_align_center',
                  'sidebarmenu_widgets' => '',
                  'sidebarmenu_social' => 'disabled',
                  'header_menu_border' => '',
                  'header_style'  => ''
                  );
                  
        $settings = avia_get_option();
        
      
    
        //overwrite with custom fields if they are set
        $post_id = avia_get_the_id();
        if($post_id && is_singular())
        { 
          $custom_fields = get_post_custom($post_id);
          
          foreach($defaults as $key =>$default)
          {
            if(!empty($custom_fields[$key]) && !empty($custom_fields[$key][0]) ) 
            {
              $settings[$key] = $custom_fields[$key][0];
            }
          }
          
          //check if header transparency is set to true
          $transparency = post_password_required() ? false : get_post_meta($post_id, 'header_transparency', true);
    
          if(get_post_meta($post_id, 'header_position', true)){
    
            $header['header_position'] = get_post_meta($post_id, 'header_position', true);  
          }
          
        }
            
        $header = shortcode_atts($defaults, $settings);
        $header['header_scroll_offset'] = avia_get_header_scroll_offset($header);
        
        if($header['header_position'] != "header_top") return avia_header_setting_sidebar($header, $single_val);
        
        //set header transparency
        $header['header_transparency'] = "";
        if(!empty($transparency)) $header['header_transparency'] = 'header_transparency';
        if(!empty($transparency) && strpos($transparency, 'glass')) $header['header_transparency'] .= ' header_glassy';
        if(!empty($transparency) && strpos($transparency, 'hidden')) $header['disabled'] = true;
        if(!empty($transparency) && strpos($transparency, 'scrolldown')) 
        {
          $header['header_transparency'] .= ' header_scrolldown';
          $header['header_sticky'] = 'header_sticky';
        }
        
        
        //deactivate title bar if header is transparent
        if(!empty($transparency)) $header['header_title_bar'] = 'hidden_title_bar';
        
        //sticky and shrinking are tied together
        if($header['header_sticky'] == 'disabled') { $header['header_shrinking'] = 'disabled'; $header['header_scroll_offset'] =  0; }
        
        //if the custom height is less than 70 shrinking doesnt really work
        if($header['header_size'] == 'custom' && (int) $header['header_custom_size'] < 65) $header['header_shrinking'] = 'disabled';
        
        //create a header class so we can style properly
        $header_class_var = array(  'header_position', 
                      'header_layout', 
                      'header_size', 
                      'header_sticky', 
                      'header_shrinking', 
                      'header_stretch', 
                      'header_mobile_activation', 
                      'header_transparency', 
                      'header_searchicon', 
                      'header_unstick_top',
                      'header_menu_border',
                      'header_style'
                    );
                    
        $header['header_class'] = "";
        
        foreach($header_class_var as $class_name)
        {
          if(!empty($header[$class_name]))
          {
            if($header[$class_name] == "disabled") $header[$class_name] = $class_name."_disabled";
            $header['header_class'] .= " av_".str_replace(' ',' av_',$header[$class_name]);
          }
        }
        
        //set manual flag if we should display the top bar
        $header['header_topbar'] = false;
        if(strpos($header['header_social'], 'extra_header_active') !== false || strpos($header['header_secondary_menu'], 'extra_header_active') !== false || !empty($header['header_phone_active'])){ $header['header_topbar'] = 'header_topbar_active'; }
        
        //set manual flag if the menu is at the bottom
        $header['bottom_menu'] = false;
        if(strpos($header['header_layout'],'bottom_nav_header') !== false) 
        {
          $header['bottom_menu'] = 'header_bottom_menu_active'; 
        }
        else
        {
          $header['header_class'] .= " av_bottom_nav_disabled ";
        } 
        
        
        
        //header class that tells us to use the alternate logo
        if(!empty($header['header_replacement_logo']))
        {
          $header['header_class'] .= " av_alternate_logo_active"; 
          if(is_numeric($header['header_replacement_logo']))
          { 
            $header['header_replacement_logo'] = wp_get_attachment_image_src($header['header_replacement_logo'], 'full'); 
            $header['header_replacement_logo'] = $header['header_replacement_logo'][0]; 
          }
        
        }
        
        //header class that tells us to use the alternate logo
        if(empty($header['header_menu_border']))
        {
          $header['header_class'] .= " av_header_border_disabled"; 
        }
        
        
        $header = apply_filters('avf_header_setting_filter', $header);
    
        //make settings available globaly
        $avia_config['header_settings'] = $header;
        
        if(!empty($single_val) && isset($header[$single_val])) return $header[$single_val];
        
        return $header;
      }
    }

    f.e. look here: https://webers-testseite.de/kokon/beispiel-seite/

    and than have a look to the other pages.

    in reply to: Use FontAwesome without Plugin #770347

    well on fontello there is allready a fontawesome set. It is not as actual as the one on source url but nearby!
    so activate all (hold mouse down and pull over all fontawesome icons (675 now icons are included) download the zip and upload to enfold options import dialog.

    in reply to: How to justify text in the text box #770344

    what did you do?

    you inserted that code to quick css – thats it – haven’t you .

    did you realy read all he wrote?

    then on your text block in Custom Css Classes add this text-justify.

    Really ?

    if you have your editor on a text-block element you can see the image :

    (Click it to enlarge the image)

    On the text-editor you can insert your wanted Text. Mark the text you want to have bold and click on that little B of the menu after that mark again the word/s and klick on that little arrow besides the A – you can choose a predefined color there or choose to click on individuelle (on german – don’t know what is on an english GUI there) A little Window opens where you can paste in your HexCode of your color. Voila the Font is in your color and bold

    Klick on that tab of text-editor beside the Visual mode there is the text mode – after that you can see what inline code was inserted.
    Under the red separator (to have only one image to upload) you can see the alternativ view of what have been done.

    Down under the line there is your other possibility – just surround your text with that code with span – the class name you give is your turn. I’m a lazy boy – so it gets the class name b49a5d but it could have been Extracolor too.

    Goto your Enfold – General Styling – Quick Css filed and put in:

    .b49a5d {
    color: #b49a5d;
    font-weight: bold;
    }

    Classnames have a point (punctuation dot) infront of the name , IDs have that # infront (only a few haven’t – which are the common one (like body, html, span, p, div etc)

    in reply to: LAYERSLIDER update issue is BACK! #769904

    so – today standalone update 6.2.2 is out.

    in reply to: Enfold 4.0.3. a bit buggy #769546

    thanks – can be closed

    in reply to: search result .po file #769543

    wenn du dieses unten nicht möchtest: (Wolllen Sie lieber andere etc. )

    .search_not_found h3, .avia_combo_widget {
        display: none;
    }
    in reply to: Fullwidth Sub Menu #769532

    it is not quiet as simple as you know.
    it is a calculated width in avia.js (since line 151)

    and function calc_offset(item, pos, megaDiv, parentContainerWidth). from line 1213. – heavy stuff to change it

    in reply to: Fullwidth Sub Menu #769525

    this turning slider every second without the possibility to turn off sliding makes me nervous. Sorry i gave up

    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: Enfold Health Demo Glitches #769518

    did you post in your hidden area the link ? i would like to help put as a participant as you are – without the link to the concerning site i’m not able to help you here.

    in reply to: change color of " your message have been sent" only #769509

    well enfold sets up for the different form templates different classes.
    The css (cascading style sheet)

    #top .av-dark-form + .ajaxresponse .avia-form-success
    that little “+” means : that message is in a div which is not the child of that form element – it is an Adjacent

    so selector is: the adjacent div (with class “avia-form-success”) of that form element with class “av-dark-form”

    if you are using a different template the class: “av-dark-form” is missing – and the rule has no influence.

    again: try to get familar with developer tools of the browsers – it is a great help in finding out the code you have to change
    me – i’m a fan of old plugin firebug for firefox – but modern browsers often now have there on tools for that

    have a look and click the image:

    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: PHP 7 Compatibility #769507

    i do change all my sites running under php7 – everything works fine

    in reply to: change color of " your message have been sent" only #769500

    but now you changed the template or do give it an unique ID

    than change it to

    #ajaxresponse_1 .avia-form-success {
        color: #900;
    }

    etc. pp
    try to get familar with developer tools of the browsers – it is a great help in finding out the code you have to change
    me – i’m a fan of old plugin firebug for firefox – but modern browsers often now have there on tools for that

    in reply to: Menu #769496

    der link zur Seite wäre hier wichtiger – man hat um Hilfestellung zu geben nicht immer lust die Sachen nachzuentwerfen.
    oder du musst halt das im hidden area platzieren, mußt dann allerdings auf Mod Hilfe warten.

    in reply to: Different logo for mobile AND different pages? #769492

    and btw you only asked for a mobile logo version – why don’t you ask for a small screen logo ! ?

    To have a good answer there has to be good question ;)
    i don’t know if window load function is necessary but try that instead mobile rule

    function av_dif_mobile_logo(){
    ?>
     <script>
    jQuery(window).load(function(){
    if (jQuery(window).width() < 480) {
    jQuery(".logo img").attr("src", "http://kriesi.at/wp-content/themes/kriesi/images/logo.png");}
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'av_dif_mobile_logo');
    in reply to: Different logo for mobile AND different pages? #769487

    well on my iphone i see the kriesi logo on your page.

    the hint on your beginning thread was that function name was the same ( function av_change_logo($logo) ) so i did take a different name for the second rule

    But you have to change it in that code by your alternative logo and you have to style it via quick css

    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: Enfold 2.5.4 Not Working with Latest WordPress 4.7.3 #769474

    yes markofwits – your right with :

    I like to put up a web site and just have it run… WORRY FREE… not constantly maintain it with upgrades.
    What would your customers think if WordPress updated itself automatically, but their site broke down because the theme was no longer compatible? Not very happy customers!

    But all those idiots in former times destroying phone booth (don’t know if younger people do know them at all) are now in the internet.
    So security updates are necessary. The fast-paced world is always asking for more learning and constant attention.

    So for my customers i got an automated backup monthly – and if the site is down caused by these Inconsistencies – i never have a totaly breakdown for more than 1 hour from customer call.

    btw. be happy with enfold – f.e. microsoft allway do some updates – and third party (or even MS Software itself) do not run then under new conditions – and often the other updates will cost some money to avoid crashes.

    PS: i would advise you to update your theme via ftp. It seems to be the most secure way. If you are working with a child-Theme – erase the whole enfold folder and upload the new enfold again.

    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: LAYERSLIDER update issue is BACK! #769463

    i think that layerslider (kreatura media) itself have backtracked there 6.2.2
    on enfold 4.0.4 is definitly only the 6.2.0

    did your layerslider not work as before – is it only the warning of wordfence ?
    i have no problems even with older layerslider versions. So that little red update notice did upset you?

    be a little patient for the next enfold update – as far as i know Kriesi (Christian) is in contact with kreatura media to help them getting rid of that little inconsistency.

    in reply to: Adobe Spark #769398

    it seems to be an online tool from adobe – they offer after editing a download – for my first test they offer mp4 files – but i only tested the video section.
    If you want to implement – we had to know what. An mp4 is easy with enfold.

    but having such things like above the link of mine. or : http://www.electricenjin.com/
    these are definitly some kind of pure handmade Sites.
    Link for some examples: https://greensock.com/examples-showcases

    but i do implement sometimes some gimmicks in enfold – as you can see these greensock js is opensource – everyone can use it.
    btw: i believe that advanced layerslider did use it for some effects

    in reply to: change color of " your message have been sent" only #769382

    first of all – you got a caching tool or minify tool – erase your cache first –

    did you set up yourself any rules concerning to that:

    i didn’t see that you are using the dark form template

    #top .av-dark-form + .ajaxresponse .avia-form-success {
        color: #ff6600 !important;
    }

    and for that gimmick:

    #top .av-dark-form + .ajaxresponse .avia-form-success:after {
        color: #135da3;
        content: "\e82b";
        display: block;
        font-family: entypo-fontello;
        font-size: 90px;
        padding-top: 40px;
        text-align: center;
    }
    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: change color of " your message have been sent" only #769349

    try this here

    .avia-form-success {
        color: #900 !important;
    }

    by the way – you can push this a little bit by somthing like that:

    .avia-form-success::after {
        color: #135da3;
        content: "\e82b";
        display: block;
        font-family: entypo-fontello;
        font-size: 180px;
        padding-top: 140px;
        text-align: center;
    }
    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: Adobe Spark #769138

    what kind of data you receive from that program?

    for me it looks a bit as if Adobe has “stolen” some ideas from green sock and scrollmagic.

    see f.e. : http://mintdesigncompany.com/home

    in reply to: LAYERSLIDER update issue is BACK! #769098

    on Enfold 4.0.4 Layerslider.php is on 6.2.0 not 6.2.2 !

    downloading on Envato Layerslider Stand Alone Plugin ( i got a single License on that) there is only 6.2.0 to download ???

    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: Site header doesn't extend the full width of the site #769091

    well – me as a participant as you – i can not see the sitelink. So i’m not able to help here too. But on one tip i see there are uber-menu settings.
    did you realize all fixes on that. How did you integrate ubermenu to enfold ( you did those things here on : http://sevenspark.com/docs/ubermenu-enfold ?)
    You regarded this fix for your enfold-search etc. pp.

    in reply to: Enfold 2.5.4 Not Working with Latest WordPress 4.7.3 #769083

    hm – and this is not a joke-thread – are you sure? “my Adobe Creative Cloud 2017 does not work under Windows 3.11” ? :lol

    sorry thats not polite – but indeed this is a bit strange – because you have a lifetime update – why do you want to use the very old version of enfold?

    in reply to: SSL Error: non-secure content in LayerSlider #769077

    or simple – reload the images in Layerslider –

    in reply to: Google reCAPTCHA and Enfold Contact Form #769075

    A nice thing to have is also the reCaptcha for WordPress Login (by reCaptcha Plugin)

    in reply to: search result .po file #769072

    momentan scheint aber alles in Ordnung zu sein ? oder

    but on case of WPML i had this crash only by updating the WPML. So there must be a bug in that plugin.

    in reply to: search result .po file #768703

    Die Sprachdateien sind ok (habe die auch bei mir eingefügt, und alles so wie du es haben willst) – wie hast du es erreicht, dass deine Suchseite mit Seitenleiste (Aside) dargestellt wird – indem du generell die Seiten auf Seitenleiste eingestellt hast?

    Bei mir kann ich ellenlange Sätze da hinschreiben, ohne dass da ähnliches passiert.

    Klick to enlarge the image

Viewing 30 posts - 9,751 through 9,780 (of 11,475 total)