Forum Replies Created

Viewing 30 posts - 5,701 through 5,730 (of 11,702 total)
  • Author
    Posts
  • in reply to: Alt for transparent header image #1194270

    maybe ask Günter to look to it

    in reply to: Individual social media icons #1194093

    or take only the white sings as png files and style the background-colors for them.
    Guess normal logo color of them is: #99c612

    in reply to: Individual social media icons #1194091

    See documentation here too:
    https://kriesi.at/documentation/enfold/social-share-buttons/#how-to-add-custom-social-icons-to-enfold-options

    if there are not too many individual social icons, I would recommend not to use font icons, but to use images (png’s) instead
    For this you would have to find a suitable image file for the icon – e.g.:
    the whole thing is possible as circle too:

    To Register the new Icon on Enfold put this to your child-theme functions.php

    function avia_add_custom_social_icon($icons) {
    	$icons['Kununu'] = 'kununu';
        return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    Now you can add on Enfold-Child Options – Social Profiles – the new icon ( it is at the end of the list : link maybe: https://www.kununu.com/ )

    to have now the image for that new icon
    you had to place this to your quick css
    (the image dimensions depends on your other settings for social media icons – standard seem to be 30px):

    #top #wrap_all .av-social-link-kununu a:before{
        content: "";
        width: 30px;
        height: 30px;
        float: none !important;
        display: inline-block !important;
        vertical-align: middle;
        background: url(PATH-TO-YOUR-IMAGE/kununu-quad.png) no-repeat center center;
        background-size: contain;
    }
    
    /**** hover style - just an example - if you make the image a bit smaller - you can style background-color ***/
    #top #wrap_all .av-social-link-kununu:hover a {
    -webkit-filter: hue-rotate(180deg);
    filter: hue-rotate(180deg)
    }
    

    see here in my footer the example: https://webers-testseite.de/#footer

    in reply to: Vertical lines between columns #1193621

    You’re so counseling-resistant.
    please individual height – no equal heights – no gap –
    if you don’t make it now, then my support for you ends here with my 6000th post.
    Hope you can let a mod login to your backend – I’m desperate here!

    See with your images and text: https://webers-testseite.de/griditems/

    here is the shortcode: Edit with link to your images:

    [av_section min_height='' min_height_pc='25' min_height_px='500px' padding='default' custom_margin='0px' custom_margin_sync='true' color='main_color' background='bg_color' custom_bg='#78b2b6' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern='' shadow='no-border-styling' bottom_border='no-border-styling' bottom_border_diagonal_color='#333333' bottom_border_diagonal_direction='' bottom_border_style='' custom_arrow_bg='' id='outlines-flex' custom_class='' aria_label='' av_element_hidden_in_editor='0' av_uid='av-zqkdpc']
    [av_one_fourth first min_height='' vertical_alignment='av-align-middle' space='no_margin' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='25px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-k7stpf2d']
    
    [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='custom' color='#ffffff' id='' custom_class='' av_uid='av-k7utm0tl' admin_preview_bg='']
    <img class="aligncenter size-full wp-image-37087" src="https://californiadataprivacyact.com/wp-content/uploads/2020/03/Number-1-WHT-80x80.png" alt="" width="80" height="80" />
    <h4 style="text-align: center;">California Based Professionals</h4>
    [/av_textblock]
    
    [/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-middle' space='no_margin' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='25px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-k7stpf2d']
    
    [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='custom' color='#ffffff' id='' custom_class='' av_uid='av-k7utm0tl' admin_preview_bg='']
    <img class="aligncenter wp-image-37088 size-full" src="https://californiadataprivacyact.com/wp-content/uploads/2020/03/Number-2-WHT-80x80.png" alt="" width="80" height="80" />
    <h4 style="text-align: center;">Trusted by Multi-Billion Dollar Customers</h4>
    [/av_textblock]
    
    [/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-middle' space='no_margin' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='25px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-k7stpf2d']
    
    [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='custom' color='#ffffff' id='' custom_class='' av_uid='av-k7utm0tl' admin_preview_bg='']
    <img class="aligncenter wp-image-37089 size-full" src="https://californiadataprivacyact.com/wp-content/uploads/2020/03/Number-3-WHT-80x80.png" alt="" width="80" height="80" />
    <h4 style="text-align: center;">Customized and Secure Intake of Consumer Requests</h4>
    [/av_textblock]
    
    [/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-middle' space='no_margin' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='25px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-k7stpf2d']
    
    [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='custom' color='#ffffff' id='' custom_class='' av_uid='av-k7utm0tl' admin_preview_bg='']
    <img class="aligncenter wp-image-37091 size-full" src="https://californiadataprivacyact.com/wp-content/uploads/2020/03/Number-4-WHT-80x80.png" alt="" width="80" height="80" />
    <h4 style="text-align: center;">Responsive Customer Service</h4>
    [/av_textblock]
    
    [/av_one_fourth][av_one_fourth first min_height='' vertical_alignment='av-align-middle' space='no_margin' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='25px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-k7stpf2d']
    
    [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='custom' color='#ffffff' id='' custom_class='' av_uid='av-k7utm0tl' admin_preview_bg='']
    <img class="aligncenter wp-image-37091 size-full" src="https://californiadataprivacyact.com/wp-content/uploads/2020/03/Number-5-WHT-80x80.png" alt="" width="80" height="80" />
    <h4 style="text-align: center;">Privacy Law Knowledge Base</h4>
    [/av_textblock]
    
    [/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-middle' space='no_margin' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='25px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-k7stpf2d']
    
    [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='custom' color='#ffffff' id='' custom_class='' av_uid='av-k7utm0tl' admin_preview_bg='']
    <img class="aligncenter wp-image-37092 size-full" src="https://californiadataprivacyact.com/wp-content/uploads/2020/03/Number-6-WHT-80x80.png" alt="" width="80" height="80" />
    <h4 style="text-align: center;">Licensed in California</h4>
    [/av_textblock]
    
    [/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-middle' space='no_margin' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='25px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-k7stpf2d']
    
    [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='custom' color='#ffffff' id='' custom_class='' av_uid='av-k7utm0tl' admin_preview_bg='']
    <img class="aligncenter wp-image-37093 size-full" src="https://californiadataprivacyact.com/wp-content/uploads/2020/03/Number-7-WHT-80x80.png" alt="" width="80" height="80" />
    <h4 style="text-align: center;">Trusted Privacy Partner</h4>
    [/av_textblock]
    
    [/av_one_fourth][av_one_fourth min_height='' vertical_alignment='av-align-middle' space='no_margin' row_boxshadow_color='' row_boxshadow_width='10' margin='0px' margin_sync='true' mobile_breaking='' border='' border_color='' radius='0px' radius_sync='true' padding='25px' padding_sync='true' column_boxshadow_color='' column_boxshadow_width='10' background='bg_color' background_color='' background_gradient_color1='' background_gradient_color2='' background_gradient_direction='vertical' src='' attachment='' attachment_size='' background_position='top left' background_repeat='no-repeat' highlight_size='1.1' animation='' link='' linktarget='' link_hover='' title_attr='' alt_attr='' mobile_display='' id='' custom_class='' aria_label='' av_uid='av-k7stpf2d']
    
    [av_textblock size='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' font_color='custom' color='#ffffff' id='' custom_class='' av_uid='av-k7utm0tl' admin_preview_bg='']
    <img class="aligncenter wp-image-37094 size-full" src="https://californiadataprivacyact.com/wp-content/uploads/2020/03/Number-8-WHT-80x80.png" alt="" width="80" height="80" />
    <h4 style="text-align: center;">Ongoing New Data Privacy Law Support</h4>
    [/av_textblock]
    
    [/av_one_fourth]
    [/av_section]
    in reply to: Unmute sound on video #1193478

    i guess – no chance to influence background video from iframes . A selfhosted video (html5) will work.

    in reply to: Vertical lines between columns #1193417

    maybe 90px padding on top/bottom is too much – just do it to your needs

    in reply to: Masonry Grid – Portfolio Links Open New Window Issue #1193365

    you can either do it via page-id-xyz or via custom-class of your masonry

    function add_custom_target(){
    if(is_page(xyz)){
    ?>
    <script>
    (function($){
        $(window).load(function() {
          $('.av-masonry-container a').attr('target','_blank');
        });
    })(jQuery);
    </script>
    <?php
    }
    }
    add_action('wp_footer', 'add_custom_target');

    or as said before with custom-class on masonry element – f.e.: masonry-blank:

    function add_custom_target(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
          $('.masonry-blank a').attr('target','_blank');
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_target');

    last version has the advantage that you can have more than one masonry on this page – the one with class opens links blank – the other not
    and if you have a masonry on a different page it will work too – if class is set.

    in reply to: Vertical lines between columns #1193363

    hm – first get rid of that invisible hr – you can manage that in a different way.
    Because all elements in a flex container will be handled and that is an additonal container.
    This color-section should have only the columns in it.

    then – i do not see even the first rule to set the entry-content-wrapper to display:flex – so i guess you have not regenerated the mergied files of css and js.
    i see on developer tools none of my code above – these are the old merged files:
    This merging of the files behaves similar to caching – so goto your Enfold Child – Performance – and mark delete old css an js files – and save all changes.
    After that delete the browser cache too!

    See what happens to the page if i (virtually) add the code to your page:
    the two images are not set as the others to align: center – that makes a difference because these have other paddings !

    i deleted one thing ( all of your content is set to white color – so the one rule is obsolete) and i added only one rule to have more padding left right:

    #outlines-flex .entry-content-wrapper {
      display: flex;
      flex-flow: row wrap;
      justify-content: center;
      overflow: hidden;
      align-items:  stretch; 
    }
    
    /*** otherwise these "containers" will influence the flexbox ***/
    #outlines-flex .entry-content-wrapper::before, 
    #outlines-flex .entry-content-wrapper::after {
      display: none;
    }
    
    #outlines-flex .entry-content-wrapper .flex_column {
      flex: 1 1 auto;
      outline: 1px solid #fff;
      padding: 90px 30px !important;
      margin: 0 ;
    }
    
    #outlines-flex .entry-content-wrapper .flex_column * {
      text-align: center !important;
    }
    
    @media only screen and (max-width: 989px) {
      #outlines-flex .entry-content-wrapper .flex_column {
          flex: 0 1 50%;
          outline: 1px solid #fff;
          padding: 90px 30px !important;
          margin: 0  !important
      }
    }
    
    @media only screen and (max-width: 549px) {
      #outlines-flex .entry-content-wrapper {
          justify-content: space-around;
      }
      #outlines-flex .entry-content-wrapper .flex_column {
          flex: 0 1 90%;
          outline: none !important;
          padding: 40px 30px !important;
          border: 1px solid #fff;
         margin-bottom: 20px !important
      }
    }

    think of your merged files !
    PS: Avoid uncommon signs in css f.e. that dashed line in your quick css ? – – – – – – – – – – on top – remove this too – if you want to have comments in css just surround it by /***** xyz ****/

    in reply to: different logo for the woocommerce pages #1193322

    by the way if you do not like to have these arrays with a loto of lists:
    this could be an interesting link for you : https://kriesi.at/support/topic/different-header-logo-for-different-sections-of-website/#post-1065071
    that is for all suppages .
    On Categories there are more condition tags to include whole sets : https://codex.wordpress.org/Conditional_Tags but see difference is_category() , has_category() and in_category()

    in reply to: Vertical lines between columns #1193307

    you first have to read carefully – i think all my tuts are good enough to reproduce.
    first take the flexbox modell !
    This is a mighty way to do this.
    Then a lot of participants only put in the code and do not read about custom classes or ID’s

    the setting was: all 8 1/4th columns in one colour section; this color-section got the ID : outlines-flex
    the 1/4th columns are set to individual height and with no space between!

    click to enlarge:

    Thats it: then try the code.: Link

    on the other hand if the order option you need is a kind of system i use this in child-theme functions.php:

    function avia_custom_query_extension($query, $params)
        {
            global $avia_config;
            if(!empty($avia_config['avia_custom_query_options']['order']))
            {
                $query['order'] = $avia_config['avia_custom_query_options']['order'];
            }
            if(!empty($avia_config['avia_custom_query_options']['orderby']))
            {
                $query['orderby'] = $avia_config['avia_custom_query_options']['orderby'];
            }
            unset($avia_config['avia_custom_query_options']);
            return $query;
        }
    
        add_filter('avia_masonry_entries_query', 'avia_custom_query_extension', 10, 2);
        add_filter('avia_post_grid_query', 'avia_custom_query_extension', 10, 2);
        add_filter('avia_post_slide_query', 'avia_custom_query_extension', 10, 2);
        add_filter('avia_blog_post_query', 'avia_custom_query_extension', 10, 2);
        add_filter('avf_magazine_entries_query', 'avia_custom_query_extension', 10, 2);
        add_filter('avf_template_builder_shortcode_elements','avia_custom_query_options', 10, 1);
        function avia_custom_query_options($elements)
        {
            $allowed_elements = array('av_blog','av_masonry_entries','av_postslider','av_portfolio','av_magazine');
    
            if(isset($_POST['params']['allowed']) && in_array($_POST['params']['allowed'], $allowed_elements))
            {
                $elements[] = array(
                    "name" => __("Custom Query Orderby",'avia_framework' ),
                    "desc" => __("Set a custom query orderby value",'avia_framework' ),
                    "id"   => "orderby",
                    "type"  => "select",
                    "std"   => "",
                    "subtype" => array(
                        __('Default Order',  'avia_framework' ) =>'',
                        __('Title',  'avia_framework' ) =>'title',
                        __('Random',  'avia_framework' ) =>'rand',
                        __('Date',  'avia_framework' ) =>'date',
                        __('Author',  'avia_framework' ) =>'author',
                        __('Name (Post Slug)',  'avia_framework' ) =>'name',
                        __('Modified',  'avia_framework' ) =>'modified',
                        __('Comment Count',  'avia_framework' ) =>'comment_count',
                        __('Page Order',  'avia_framework' ) =>'menu_order')
                );
                $elements[] = array(
                    "name" => __("Custom Query Order",'avia_framework' ),
                    "desc" => __("Set a custom query order",'avia_framework' ),
                    "id"   => "order",
                    "type"  => "select",
                    "std"   => "",
                    "subtype" => array(
                        __('Default Order',  'avia_framework' ) =>'',
                        __('Ascending Order',  'avia_framework' ) =>'ASC',
                        __('Descending Order',  'avia_framework' ) =>'DESC'));
            }
            return $elements;
        }
    
        add_filter('avf_template_builder_shortcode_meta', 'avia_custom_query_add_query_params_to_config', 10, 4);
        function avia_custom_query_add_query_params_to_config($meta, $atts, $content, $shortcodename)
        {
            global $avia_config;
            if(empty($avia_config['avia_custom_query_options'])) $avia_config['avia_custom_query_options'] = array();
    
            if(!empty($atts['order']))
            {
                $avia_config['avia_custom_query_options']['order'] = $atts['order'];
            }
    
            if(!empty($atts['orderby']))
            {
                $avia_config['avia_custom_query_options']['orderby'] = $atts['orderby'];
            }
            return $meta;
        }
    

    it will add on each ALB which concerns to a sort option dialog.

    i use – if there are not so many portoflio /post a plugin called Intuitive custom post order.
    Günter told me that f.e. : https://de.wordpress.org/plugins/simple-custom-post-order/ this is a good alternative.
    You can drag and drop on the post / portfolio list the entries to the place your need.

    in reply to: Alt for transparent header image #1193257

    This is not intended as a final solution, but as a bridge until there is a fix. In this case the child theme solution can then be quickly undone.

    in reply to: Alt for transparent header image #1193253

    I have compared the files in both folders – with DiffMerge – there are no differences. Now to think about it: I replaced your enfold with mine via ftp. No Alt and Title attributes on the Alternate logo ?

    So this is strange!

    PS @peterolle : my manual input fields work ! Just paste the code to your child-theme functions.php

    function my_transparent_logo_attributes( array $avia_elements = array() )
    {
      $slug = "header";
      $id = 'header_replacement_logo';
      
      $new_element_1 =  array(
          "slug"  => "header",
          "name"  => __( "Alt for the Transparency Logo", 'avia_framework' ),
          "desc"  => __("Put in your Alt Attribute for Transparency Logo", 'avia_framework'),
          "id"    => "header_replacement_logo_alt",
          "type"  => "text",
          "std"   => "" );
    
      $new_element_2 =  array(
          "slug"  => "header",
          "name"  => __( "Title for the Transparency Logo", 'avia_framework' ),
          "desc"  => __("Put in your Title Attribute for Transparency Logo", 'avia_framework'),
          "id"    => "header_replacement_logo_title",
          "type"  => "text",
          "std"   => "" );
      
      $found = false;
      $index = 0;
      
    
      foreach( $avia_elements as $key => $element ){ 
      	$index++; if( isset( $element['id'] ) &&  ( $element['id'] == $id ) && isset( $element['slug'] ) && ( $element['slug'] == $slug ) ) { $found = true; break;}
        } 
         if( ! $found ) { 
            $avia_elements[] =  $new_element_1 ; 
    	$avia_elements[] =  $new_element_2 ;
         }
         else {
            $avia_elements = array_merge( array_slice( $avia_elements, 0, $index ), array( $new_element_1, $new_element_2 ), array_slice( $avia_elements, $index  ) );
         }
      return $avia_elements;
    }
    add_filter( 'avf_option_page_data_init', 'my_transparent_logo_attributes', 10, 1 );
    in reply to: Change bacground color of sidebar #1193235

    Yes but – it is not quiet easy as i thought first:
    if this is the setting: https://kriesi.at/support/topic/change-bacground-color-of-sidebar/#post-1192188
    we have for the content: 1310px because of left right padding of 50px.
    for the : template-page content it is : 956,3px (73% of 1310px)
    and for aside : 353,7px (27% of 1310px) but this ends on the right side without padding – if you want to colorize it looks better if you do a “pseudo padding” more background as the width of it is f.e. the 50px

    hope you all will understand the calculations with the given comments:

    /**** just for that example page 
    ***** don't know why there is container set to 95% 
    ***** so i first set it to 100% because it is better to understand
    ***** and 1410px with 50px padding left and right 
    ***** so template width is 1310px - content is 73% of that - aside ist 27%
    *****  ****/
    
    .container {
        width: 100% !important;
    }
    
    @media only screen and (min-width: 1410px) {
      .container_wrap.sidebar_right:not([style*="background-image"]):before {
          content: '';
          display: block;
          position: absolute;
          left: calc(50vw + 0.23*1310px);  
          top: 0;
          background: #ddd;
          height: 100%;
          width: calc(0.27*1310px + 50px);     /** 27% of 1310px + 50px   ** looks better **/
      }
    }
    
    /**  in case it should cover the whole background from aside start to screen width end  
    @media only screen and (min-width: 1410px) {
      .container_wrap.sidebar_right:not([style*="background-image"]):before {
          content: '';
          display: block;
          position: absolute;
          left: calc(50vw + 0.23*1310px);
          top: 0;
          background: #ddd;
          height: 100%;
          width: calc(50vw - 0.23*1310px);
      }
    }
    ***/
    
    @media only screen and (max-width: 1409px) {
      .container_wrap.sidebar_right:not([style*="background-image"]):before {
          content: '';
          display: block;
          position: absolute;
          right: 0 ;
          top: 0;
          background: #ddd;
          height: 100%;
          width: calc(0.27*(100vw - 100px) + 50px)
      }
    }
    
    @media only screen and (max-width: 767px) {
      .container_wrap.sidebar_right:not([style*="background-image"]):before {
          display: none
      }
    }
    in reply to: How to link to tabs #1193221

    with an update the code is then no longer necessary – because enfold 4.7.3 already has these ID’s on the av-layout-tab

    in reply to: Fontello Icons not working #1193220

    Tip: on using images as on my example footer – and with white or black symbols you can style the hover state with f.e. filter : hue-rotate:

    #top #wrap_all .av-social-link-telegram:hover a {
        -webkit-filter: hue-rotate(180deg);
        filter: hue-rotate(180deg);
    }
    in reply to: Vertical lines between columns #1193202

    flexbox modell – same example page – see the difference on responsive behavior: https://webers-testseite.de/griditems/
    just have individual height here for 1/4th containers and no space between – the ID in this color-section is: outlines-flex

    #outlines-flex .entry-content-wrapper {
      display: flex;
      flex-flow: row wrap;
      justify-content: stretch;
      overflow: hidden;
    }
    
    /*** otherwise these "containers" will influence the flexbox ***/
    #outlines-flex .entry-content-wrapper::before, 
    #outlines-flex .entry-content-wrapper::after {
      display: none;
    }
    
    #outlines-flex .entry-content-wrapper .flex_column {
      flex: 1 1 auto;
      outline: 1px solid #fff;
      padding: 90px 0 !important;
      margin: 0 
    }
    
    /*** just forgotten to set the colors for the entries ***/
    #outlines-flex .avia-animated-number * {
        color: #fff !important;
    }
    
    @media only screen and (max-width: 989px) {
      #outlines-flex .entry-content-wrapper .flex_column {
          flex: 0 1 50%;
          outline: 1px solid #fff;
          padding: 90px 0 !important;
          margin: 0  !important
      }
    }
    
    @media only screen and (max-width: 549px) {
      #outlines-flex .entry-content-wrapper {
          justify-content: space-around;
      }
      #outlines-flex .entry-content-wrapper .flex_column {
          flex: 0 1 90%;
          outline: none !important;
          padding: 90px 0 !important;
          border: 1px solid #fff;
         margin-bottom: 20px !important
      }
    }

    Play a bit with your responsive break-points maybe it is necessary to adjust for your settings.

    in reply to: Vertical lines between columns #1193193

    just create a color-section ( gave a custom-class or unique ID to it f.e.: outlines) – but in all 8 times your 1/4 columns
    style them with outline not with borders !
    the surrounding container got now the overflow:hidden – so in most cases the outlines at the border are gone – otherwise a negativ margin will to the trick.

    #outlines .flex_column {
      outline: 1px solid #fff;
      overflow: visible !important;
      padding: 90px 0 !important;
    }
    
    #outlines .entry-content-wrapper {
      overflow: hidden !important;
    }

    see here: https://webers-testseite.de/griditems/
    For the responsive case : do some css to hide – or switch then to borders

    Edit : if you want it really perfect – just do it as in your example page and use flexbox modell to rule the outlook

    in reply to: Open image in lightbox with custom button #1193186
    .mfp-inline-holder .mfp-content,
    .mfp-ajax-holder .mfp-content {
     width:1000px;
    }
    in reply to: Fontello Icons not working #1193152

    a bit offtopic but sometimes it is nice to use instead an image. You can use exactly the same code-snippet to register a new social share icon but with images ( png’s f.e.)
    see documentation: https://kriesi.at/documentation/enfold/social-share-buttons/#gist85414748

    see here in my footer the usage of png file: https://webers-testseite.de/#footer

    ___________________________________

    PS : entypo-fontello ( standard Enfold font icon set has that little paper-airplane too) :

    function avia_add_custom_icon($icons) {
        $icons['telegram']  = array( 'font' =>'entypo-fontello', 'icon' => 'ue8b7');
        return $icons;
    }
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    
    function avia_add_custom_social_icon($icons) {
        $icons['Telegram'] = 'telegram';
        return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    in reply to: Generate custom buttons #1193151
    in reply to: jQuery Migrate #1193134

    hm – on a fresh install i see now that the checkbox to deactivate the jqmigrate is missing?
    OK – i see – it only is visible if plugins are installed.

    in reply to: How to link to tabs #1193125

    well i think it is because your av-layout-tab has only the data-tab-section-id – and maybe this i due to your Enfold Version 4.6.2
    on 4.7.3 these av-layout-tab get the ID ( on your case nails)
    You can do : update to newest version or put this to your child-theme functions.php:

    function tab_section_add_id(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
          $('.av-layout-tab').each(function(){
          var dataID = $(this).data('tab-section-id');
          $(this).attr("id", dataID);
            });
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'tab_section_add_id');

    it will do the job that 4.7.3 did allready.
    i would advice you to update : see here some hints: https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107

    in reply to: Alt for transparent header image #1193120

    Please Mike – do not think i have not tested even a pure virginal install – see login data for you in private Content.
    https://webers-testseite.de/pureinstall/

    Even my standard security entries in htaccess file are missing here. Quick CSS only has one entry. child-theme functions.php is without active input – just comments as on child-theme download of enfold-docu site.

    Maybe you are using a beta-version or 4.7.3.1 ;)

    Tell me when you are ready to proove – because i want to make these htaccess entries as soon as possible
    Edit: sorry couldn’t wait to insert some security positions in htaccess.

    in reply to: configuration date picker #1193032

    i did it on a playgrond page of mine
    everything – including code is there.

    Setting is that no past day can be selected. To-Day had to be after From-Day
    https://webers-testseite.de/3columns/

    you can style the unselectable days with f.e.:

    .ui-datepicker-unselectable.ui-state-disabled {
        opacity: 0.2;
    }
    in reply to: configuration date picker #1192944

    You mean a datepicker like from – to datepickers where the second datepicker can only choose dates after the first date set?
    And even more – if you select the second one first, at most only this date can be selected before or even up to today in the first one.

    in reply to: header security entries #1192868

    Eben weil es zuviele Webseiten Einstellungen jeder einzelnen Seite gibt, kann das Thema das nicht komplett leisten.
    Siehe hier mein Kommentar: https://kriesi.at/support/topic/header-security-entries/#post-1153969
    Mein Einwand war, auf einem Frischinstalliertem Enfold ohne Google Services etc. Ohne Plugins – wohl aber mit Inline ( child-theme functions.php) Scripten die Header set Content-Security-Policy Diese Scripte obwohl ja auch auf meinem https laufend blockiert.
    ???
    _____________

    Precisely because there are too many web page settings of each page, the theme can’t do it entirely.
    See here my comment: https://kriesi.at/support/topic/header-security-entries/#post-1153969
    My objection was, that on a freshly installed Enfold without Google Services etc. Without plugins – but with Inline ( child-theme functions.php) scripts the Header set Content-Security-Policy blocks these inline scripts without the allowance to be unsafe

    • This reply was modified 5 years, 7 months ago by Guenni007.
    in reply to: Sidebar Thumbnails Size #1192674

    maybe it has changed in the meanwhile – and uses now the srcset for those images too.
    The flter allready exists and let you influence what generated image-size is used for those widget thumbnails.
    You can style these images with css – but on former enfold versions ( it only resizes the 36px or 80px thumbnail ) there is always defined a thumnail size as source for those (featured)-images
    I talk about the sidebar widget images. This filter can redefine the source for it.

    • This reply was modified 5 years, 7 months ago by Guenni007.
    in reply to: Alt for transparent header image #1192639

    What does the code above do:
    the register-admin-options.php rules the outlook of our enfold options page.
    every tab has its own slug ( avia, layout, styling … header … etc.)
    now the slug is searched (in this case: header) and it looks for a given ID – (in this case: header_replacement_logo)
    if this is found the whole avia_elements is splittet at that point – the new arrays are inserted – and then the rest will be addad afterwards ( Kind of CRISPR for jQuery)
    if the ID could not be found – the new array will be inserted as last elements in the slug
    The new elements are only input fields for alt and title attribute.
    And because the id’s are used ( see code here ) they were inserted in the frontend
    _______

    For Main Logo

    aha it is function-set-avia-frontend.php – and the alt is set to the bloginfo name there is a filter for it but on title it is missing there
    Edit : No the filter allready exist – but was on a different place!

    we can influence the logo by this:

    function avf_change_logo_alt($alt) {
       $alt = "New Alternate Text Here";
       return $alt;     
    }
    add_filter('avf_logo_alt', 'avf_change_logo_alt');
    
    function avf_change_logo_title($title) {
       $title = "The new Title is here";
       return $title;     
    }
    add_filter('avf_logo_title', 'avf_change_logo_title');

    If I should make a decision, I would either go for this manual input solution via register-admin-options.php – or for a filter solution for both logos.
    So the attachment alt and title attributes can be used in content – but in this position as logo – we can input a unique text

Viewing 30 posts - 5,701 through 5,730 (of 11,702 total)