Forum Replies Created

Viewing 30 posts - 9,871 through 9,900 (of 11,481 total)
  • Author
    Posts
  • in reply to: Tab Section not working #759051

    you did notice that you could drag & drop alb elements to the tab content field?

    in reply to: Change mobile menu button #759047

    why instead
    try a:hover:before

    btw: very nice logo !

    in reply to: Mobile displays a different logo #759005

    did you try the second snippet – i think its better for your site
    or get rid of the loading case

    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: SVG logo don´t display on larger screens #758940

    you have allways to set a width (or heights) rule for svgs – otherwise WP will give them a 1px size!

    f.e.

    .logo img {
    width: 350px;
    height: auto
    }

    the reason why it works on responsive case is that on that moment the logo gets a size rule from enfold theme settings.

    have you got a link to your site?

    in reply to: Optimizing JS and CSS files #758934

    why don’t you use that brilliant Plugin: bwp minify.

    in reply to: Layerslider not "full-version" #758932

    thanks Christian !

    in reply to: H1-H5 not capital #758929

    maybe an important is necessary

    h1,h2,h3,h4,h5 { text-transform: none !important }

    in reply to: Mobile displays a different logo #758922

    or maybe better:

    function avia_custom_mobile_logo(){
    if(wp_is_mobile()){
    ?>
     <script>
    jQuery(".logo img").attr("src", "http://kriesi.at/wp-content/themes/kriesi/images/logo.png")
     </script>
    <?php
    }
    }
    add_action('wp_footer', 'avia_custom_mobile_logo');
    in reply to: Mobile displays a different logo #758908
    function av_dif_mobile_logo(){
    ?>
     <script>
    jQuery(window).load(function(){
    if (jQuery(window).width() < 480) {
    jQuery(".logo img").attr("src", "url to the new logo")
    }
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'av_dif_mobile_logo');

    try this !

    in reply to: green color bar each side of main menu #758903

    there is a screenwidth range when the social buttons are under advanced menu button – thats why i mentioned that you should correct it:

    in reply to: Sort Magazine Items in alphabetical order? #758894

    by the way if you want a custom Sorting – use page order an the plugin “intuitive custom post order” –
    after activation you can sort the page order by drag & drop in page/post/portfolio listing of dashboard

    in reply to: Sort Magazine Items in alphabetical order? #758860

    you can find here http://kriesi.at/documentation/enfold/code-snippets/ some code snippets to influence sort options globaly. But this above you can decide eachtime you generate a new alb element.

    in reply to: Sort Magazine Items in alphabetical order? #758856

    put this to functions.php of your child-theme:

    
    if(!function_exists('avia_custom_query_extension'))
    {
        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;
        }
    }

    than you got extra options in the gallery dialogs

    in reply to: Using LayerSlider in a coloumn #758846

    yes you can – place the given shortcode into a text alb element.
    But you have to think of the smaller canvas. it is not possible to insert f.e. a layerslider created for 1210px width to it.
    Create a new one (could be responsive) but with less canvas size – see example – allthough i created a layerslider only with canvas size 320px on smaller screens when columns go to 1/1 it is bigger caused by responsiveness.
    https://webers-testseite.de/kokon/layerslider-in-column/

    PS : you find the shortcode in Layerslider options dialog nearby the “save changes” button

    in reply to: Code in footer #758831

    habt ihr eine eigene footer.php im Child-Theme ?
    Sieht so aus als wäre das dynamisch da eingepflegt.

    zB den Versuch unternommen einen Login für den admin bereich dort zu platzieren.

    in reply to: Different logos for different pages/categories #758560

    be careful it replaces it on category view
    if you have single post with that category you have to take a different conditional tag

    try than with has_category(‘music’)

    btw – i think if you only set the parameter to has_category the is_category is included

    in reply to: green color bar each side of main menu #758336

    i see you did it : but

    if you like to see allways your social buttons on top we had to do this too: (and do it for the same breakpoint as the toggler)

    @media only screen and (max-width: 920px) {
    #top .social_bookmarks {
        right: 50px !important;
    }
    }

    and now the hover style of your toggler (mobile menu) goes to not visible (#fff same as background)
    maybe this will be nice:

    .avia_desktop #advanced_menu_toggle:hover, .avia_desktop #advanced_menu_hide:hover {
        background-color: #fff;
        border-color: #0a0;
        color: #000;
    }
    in reply to: tab-section question #758330

    this is only for special cases – the normal behavior is more mobile friendly –
    is there a possiblity to let the tab-content hight be dynamic. this is for mobile unfriendly because if we have a great difference in content amount – the distance is to large to the next section.

    by the way as you definitly know it is in shortcodes js – from line 2879

    in reply to: tab-section question #758323

    the new element would be nice as an “Imaged Menu” – but than all images must be visible in the viewport.
    On smaller screens the tab title container centers the active tab title.

    all images are seen in a bigger block. the arrow has to be fixed in its positioning – but this is simple css. I can manage that.
    but the centering of the active title seems to be calculated in a js.
    i did not find it yet. – i think it will be nice to switch of that calculation. (performance reasons)

    because i can do that with css:

    https://webers-testseite.de/ikom/tab-section/

    make the screen smaller and see what happens!

    in reply to: Added space after adding link #758249

    i see it works !

    or you do this (might be more browser-support)

    .page-id-893 a.slide-image {
        background-color: transparent !important;
    }
    in reply to: Added space after adding link #758027

    it is just because lisa got a link – the others not (as you say above)

    meanwhile the display : inline-flex has got a good browser compatibility – so try:

    .page-id-893 a.slide-image {
        display: inline !important;
    }

    this was the code only for this specific page

    by the way – set the background to cover the whole width – otherwise you got on big screens on the right a grey area

    in reply to: green color bar each side of main menu #758025

    by the way it seems to be a good idea to let the advanced menu let come a bit sooner than under 768px

    for example (you have to play a bit with 920px up and down to see what you need)

    @media only screen and (max-width: 920px) {
      .container #advanced_menu_toggle, #advanced_menu_hide {
          display: block;
      }
    .main_menu .avia-menu, #header_main_alternate, .fallback_menu {
        display: none;
    }
    }

    and you are a lucky guy because it is under 990px so on landscape ipad or tablets you have your normal nav !

    in reply to: green color bar each side of main menu #758023

    why – it looks good ;)

    i thought you did it yourself – i can see this in your code:

    #header_main_alternate {
        background: #8dc63e none repeat scroll 0 0 !important;
    }

    change it to:

    #header_main_alternate {
        background: #fff none repeat scroll 0 0 !important;
    }

    or goto Enfold options / general styling / tab was logo area and set the default background color to white (#ffffff)

    in reply to: Different logos for different pages/categories #758018

    if you have full ftp access there was no risc to test yourself.
    If it crashes – redo changings via ftp ( by erasing new rules)

    don’t know if relative path is ok – but it looks good to me

    in reply to: Lightbox: Displaying 'alt' tag below image #758014

    you can take for alt – description in the code above.
    But i don’t know why this does not work for standalone images (not in a gallery)
    is there a code similar to that above?

    They never did, and after a major update it is understandable.
    you see that yourself need over 6 hours to reply to my assumption! – allthough it is in your direct interest to solve it (urgent).
    You only have to look to one (or 3) threads – they have to serve hundreds of threads.
    They have to react on so many postings and requests – be a little bit patient with the support.

    by the way: i rember it well if in former times ( years ago when i’m forced to work with microsoft operating systems – the support of them was definitly ugly ;)

    Nevertheless your welcome.

    • This reply was modified 8 years, 3 months ago by Guenni007.
    in reply to: Regarding LayerSlider WP #757748

    try to give it a value on that “Responsive under” most users do input here there max-width of standard enfold setting 1310px
    the field under that do the same dimension there and have a look what happens

    Did you use a custom footer.php ?
    Have a look into it. Some good hints here on board do place some code to the footer.php. (Facebook scripts etc.) maybe there is a rudiment of former changings in it.

    And btw. may i ask how you can have the theme installed on your server – and ask the question on a pre-sale forum :wink ;)

    ok there is a two in your source code (on original Demo Site there is no 2) see here:

    i think it must be a manual input. theres no container at all for that. The 2 is no input by pseudo-classes (before or after)
    look at your source code may-be do a search for “fb-root”

    • This reply was modified 8 years, 3 months ago by Guenni007.

    by the way – i do not see your “2” on 3 browsers here on my mac:

Viewing 30 posts - 9,871 through 9,900 (of 11,481 total)