Forum Replies Created

Viewing 30 posts - 5,251 through 5,280 (of 11,912 total)
  • Author
    Posts
  • in reply to: Icon List Custom Pattern #1234420

    i see that the source of the png was an ai ( Adobe Illustrator) File – that would be best – if it is a vector based file ( sometimes images are embedded in ai docs)
    In this case we could make an icon-font like entypo-fontello on : http://fontello.com/

    in reply to: Icon List Custom Pattern #1234417

    First : is there a better – bigger – sharper Image of that?
    And what does this mean:

    Hi I would like to create a custom icon or custom pattern to be more specific on one of the icons in your list

    Aren’t there round source patterns on that? best would be svg

    try this in quick css:

    .tab.active_tab, 
    :focus  {
        outline: none !important;
    }
    in reply to: CLOSED TABS ON MOBIL #1234409

    Thanks – but i’m Participant as you – so the other request has some infos in private content – which i do not see.

    in reply to: Small bar and " /> across the top of web site #1234382

    or do ask how those extra settings can be done to the head section ( not the header ) ;)

    in reply to: ReCaptcha Error again #1234372

    Ok – Danke

    in reply to: CLOSED TABS ON MOBIL #1234339

    If you want to change the switch point to a diffent one you had to adjust the value in the script aboveand to have some additional quick css entries:

    /****** Settings to change the tab switch point if it is different to 768px *********/
    @media only screen and (max-width: 989px) {
    	.responsive .tabcontainer.mobile-tabs-closed .tab_content {
    	    border-bottom: none;
    	    padding: 15px 30px;
    	    clear: both;
    	}
    	.responsive .tabcontainer.mobile-tabs-closed .tab_content, .responsive .tabcontainer .tab {
    	    width: 100%;
    	    max-width: 100%;
    	    border-left: none;
    	    border-right: 0;
    	    left: 0;
    	    top: 0;
    	    min-height: 0!important;
    	}
    	.responsive .tabcontainer.mobile-tabs-closed {
    	    border-width: 1px;
    	    border-style: solid;
    	    border-top: none;
    	    overflow: hidden;
    	}
    	.responsive .tabcontainer.mobile-tabs-closed .tab_titles {
    	    display: none;
    	}
    	.responsive .tabcontainer.top_tab.mobile-tabs-closed .tab.fullsize-tab {
    	    margin-bottom: 0px;
    	}
    	.responsive .tabcontainer.mobile-tabs-closed .tab.fullsize-tab {
    	    display: block;
    	    margin-bottom: -1px;
    	}
    }

    you can see now on the testpage that i have switched to 989px – to illustrate the effect and settings better.
    As long as you do not open a tab on “mobile” – you can resize the screen ( or tilt the device )

    in reply to: CLOSED TABS ON MOBIL #1234335

    However, these settings alone would have the effect that the tabs can no longer be opened in the “mobile” case. Since the switch case has removed this exactly. Therefore a click solution is needed to correct this.

    you see above in the css code there is an additional class i set for that decision ( mobile-tab)
    this to child-theme functions.php

    function mobile_tabs_open_onclick(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$('.responsive #top .tabcontainer.mobile-tabs-closed .av_tab_section .tab').click(function() {
    		$(this).next('.tab_content').toggleClass('mobile-tab');
    		$(this).closest('.av_tab_section').siblings().find('.tab_content').removeClass('mobile-tab');
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'mobile_tabs_open_onclick');

    If the mods see a much simpler solution, don’t be afraid to announce it.

    in reply to: CLOSED TABS ON MOBIL #1234333

    Demo Page: https://webers-testseite.de/pureinstall/tabs-on-mobile/
    (this is for the class on body – you decide when the switch is set)

    to child-theme functions.php

    function add_class_for_tab_switch(){
    ?>
    <script type="text/javascript">
    (function($) {
    	function my_tab_switch() {
    		setTimeout( function() {
    	        if ($(window).width() <= 767) {
    			  $("#top").addClass("tab_switch");
    			} 
    			else {
    			  $("#top").removeClass("tab_switch");
    			}
            }, 150)	
        }
    	$(window).on('load resize', function() {
    		my_tab_switch();
    	});
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_class_for_tab_switch');

    after that you can use these classes on quick css

    /***** Settings for closed Tabcontainers on tab switch setting ************/
    .js_active .tab_switch .tabcontainer.mobile-tabs-closed .active_tab_content {
    	display: none;
    	visibility: hidden;
    }
    .responsive #top .main_color .tabcontainer.mobile-tabs-closed .tab_content.mobile-tab {
    	display: block;
    	visibility: visible;
    }
    .responsive #top.tab_switch .main_color .tabcontainer.mobile-tabs-closed .active_tab {
    	background-color: unset;
    	color: inherit;
    }
    .js_active #top.tab_switch .tabcontainer.mobile-tabs-closed .active_tab {
    	font-weight: normal;
    }
    #top.tab_switch .main_color .tabcontainer.mobile-tabs-closed .tab.active_tab:hover {
    	color: #666666;
    }
    in reply to: CLOSED TABS ON MOBIL #1234330

    Those for whom it is too much text to get a solution may skip this answer. ;)

    When I began to deal with the subject, I encountered various obstacles.
    In general, there is no easy solution to these. And my first attempt to redefine the two classes responsible for the appearance ( active_tab and active_tab_container ) only by css and the class set to html if it is a mobile device (avia_mobile) would not make sense. Because then all tablets – even the Ipad Pro with its 12.9 inch size – would initially display the closed tabs.

    So when the page is loaded, it should be decided whether the tabs are open or not. When tilting the mobile device, however, it should be decided again whether the tabs are open or not.
    For example the Iphone XS: 375×812
    i.e. normally in landscape mode the tabs would be in normal view, in portrait mode the tabs would be arranged below each other.

    So I thought I would link this decision to the presence of the Hamburg Icon. Unfortunately the default setting of the tabs causes me some problems, because they usually change their appearance when resized to 768px. So there would be a discrepancy in the setting depending on the burger menu if it changes already at 990px. – But there is a Quick CSS solution.
    But there are participants here who always show the burger, so this would not be the solution.

    So I decided to create a class that I can fall back to if the screen width falls below a certain value without changing the behavior of the above mentioned classes ( active_tab and active_tab_container ).
    With this first script I set a class to body, which offers me a switch with which I can make this decision ( tab_switch ).

    Additionally I give the Tabs ALB element a custom class to decide if I want the effect or not. ( mobile-tabs-closed )

    in reply to: extra space (after section?) between elements #1234245

    I have never found it particularly difficult to drag and drop the separator into a color section as the last or first element.

    The separator needs the surrounding container so that it has the width it needs to take up.
    If you put the separator in a 1/2 container, it will have a different width than in a 1/1 container.
    But if it has no surrounding container – it lacks this information. Therefore one is set.
    So this only happens if you put the separator between two full-width elements.

    in reply to: CLOSED TABS ON MOBIL #1234166

    what exactly do you like to obtain? the behaviour on mobile devices or on narrow screen width? The first one is easier to reach.

    in reply to: extra space (after section?) between elements #1234150

    you see on your frontend that line?


    this is a separator – you can easily overlook this, because it is only a thin grey line in the layout.


    hover on your advanced layout a gray line then you will see that this is an extra element.

    If this separator is not placed in the color-section but between two elements ( like two color-sections) there will be an extra container for it:
    after_section_x
    and as a normal container it will have that padding-top/padding-bottom of 50px.
    To avoid this extra container for the separator you can put it in the color-section.

    in reply to: Masonry Gallery should open new browser window #1234142

    on the second page you have allready activated the merging of css and javascript files: So i think it is only a caching reason for that.
    Go to dashboard – enfold – performance : and on the bottom of that page there is: “Delete old CSS and JS files?”
    mark that – and save all changes.

    ______

    Dashboard – Enfold – Leistung : “Alte CSS- und JS-Dateien löschen?”
    Das Feld markieren und alle Änderungen speichern.

    in reply to: Left Main Menu: Search below logo #1234118

    first: because of the search-results list – it might be better to have the vertical-align on top!

    #top #av-burger-menu-ul {
        vertical-align: top;
        padding: 125px 0 !important;
    }

    second:
    but what we can do on the search input field to have no href on that menu-item ( to have the opportunity to activate text in that input field by mouse activation) – see description above – we do not have the possibility to do that on hamburger search menu item
    there is:

    so if the href attribut remains you can not activate text like above to get rid of “er” in weber f.e.

    this to child-theme functions.php :

    function remove_href_from_hamburger_search_input(){
    ?>
    <script type="text/javascript">
    (function($) {
    	$('#header').on('click', '.av-main-nav-wrap', function() {
    		$('#av-burger-menu-ul .searchfield > a:first-of-type').removeAttr("href");
    	});	
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'remove_href_from_hamburger_search_input');

    Resultpage for your test: https://webers-testseite.de/cynthia/

    in reply to: Left Main Menu: Search below logo #1234108

    try this – and to have searchform results font in a color:
    (on my testpage there is a dark background on fullwidth burger overlay)

    #av-burger-menu-ul #searchform > div {
        left: 50%;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    
    #av-burger-menu-ul #searchform .ajax_search_response * {
    	color: #FFF
    }
    in reply to: Video controls don't show up on full width slider #1233998

    ah – ok – thanks for the info

    in reply to: ReCaptcha Error again #1233981

    see above Private Data

    in reply to: Small bar and " /> across the top of web site #1233697

    i see that you are using wp-rocket – maybe disable it and then update all caches (including the browser cache) and see if the problem persists

    in reply to: Small bar and " /> across the top of web site #1233673

    where does that entry come from?

    how is this inserted on that place – via child-theme functions.php
    <font style="vertical-align: inherit;></font>
    in between you have your “extra sign”

    PS: there must be more to correct : it is very unusual to have all these entries in the body tag and on top:
    style sheets , googlebot , opengraph entries etc. pp. that is something for the head area or – just before closing body tag.

    maybe this topic here is helpfull: https://kriesi.at/support/topic/assigning-menus-for-one-page-and-portfolio-pages/
    I don’t know it it still works on actual Enfold and WordPress – but you can try.

    in reply to: Version 4.7 full width easy slider bug #1233669

    Please update to Enfold 4.7.6.1
    there was a little bug in av-helper-slideshow.php on 4.7.6 : Link
    The fix is in the above Version of Enfold. –
    Or if you do not want to update replace in your parent theme av-helper-slideshow.php with this one: DL-Link
    The file is in : enfold – config-templatebuilder – avia-shotcodes

    and if it is the woocommerce you use the part where it is handled is:
    woocommerce – includes – gateways – paypal: “class-wc-gateway-paypal.php” about line 44:
    $this->order_button_text = __( 'Proceed to PayPal', 'woocommerce' );

    but try first the above! it is more specific on paypal – this below changes the order_button_text on all instances)

    so this could be ok too : –

    function my_order_button_text() {
        return __( 'Payerthgy', 'woocommerce' ); 
    }
    add_filter( 'woocommerce_order_button_text', 'my_order_button_text' ); 

    The above code has been tested on many strings and should work; of course, the first string “Proceed to PayPal” may not be in your source code. It would be enough if the spaces were represented by characters, or e.g. there is Paypal instead of PayPal.
    Which plugin do you use for your payment systems.

    Try this:

    function my_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'Proceed to PayPal' :
    			$translated_text = __( 'Payerthgy', 'woocommerce' );
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'my_text_strings', 20, 3 );

    On woocommerce there are some filter for different buttons ( woocommerce_order_button_text or woocommerce_order_button_html)
    is it the checkout button ?

    Best would be
    if i can see the page it concerns.

    in reply to: Put Slider in header #1233500

    this is an Easy Slider of Enfold placed with hook on top of a page ( only surrounded by an extra div to better address it )
    https://webers-testseite.de/pureinstall/slider-on-top/

    add_action('ava_main_header', function() {
    if(is_page(1061)){
      echo '<div class="topslider">';
      echo do_shortcode("[your_shortcode]");
      echo '</div>';
    }
    });

    this is page specific – change to your needs. Pay attention that in your shortcodes the Quotation Marks are correct ( in this case single QM ))

    second – you have to find a solution for the menu and for your logo then – and for main top padding

    in reply to: MagnificPopUp is not a function #1233487

    by the way: do you have an older child-theme header.php ? The lightbox setting on that has changed – so if you got – actualize this with the newest one.
    ________
    On Enfold ( i do not know it this is default setting ) there is a setting to load jQuery in the footer – so that was the reason for my question.
    If you load that script in the head area.

    So – to understand it right. You go to your menus and on one or more items you set with rel = magnific

    first the selector is wrong – i did not see it first too on your code above. ('a[rel="magnific"]')

    then – what do you like to open? do the menu-items lead to a unique ID on that page – or do they have as target a website ?
    f.e. if you like to open a website with that link then type : ‘iframe’ , is to use.

    in reply to: Slider not working properly #1233470

    Yes that is that bug mentioned above – Update to 4.7.6.1 or download the file responsible for that and replace it in your theme:
    Link

    Try this:

    function my_text_strings( $translated_text, $text, $domain ){
    switch ( $translated_text ){
        case 'Proceed to PayPal':  $translated_text = __( 'Payerthgy', $domain );
        break;
      }
      return $translated_text;
    }
    add_filter('gettext', 'my_text_strings', 20, 3);

    PS: the position of add_filter is not important – i notice it always this way in my child-theme functions.php because it provides a clearer conclusion to the above function

    PPS: if you have to translate more than one string – it always have to be case 1 …; break; case 2 , break;
    after each string translation there had to be a break.

    • This reply was modified 5 years, 6 months ago by Guenni007.
    in reply to: Slider not working properly #1233457

    have you a site or screenshot on that problem?

    but it isn’t that little bug : https://kriesi.at/support/topic/4-7-6-update-adding-quotations-under-slider/#post-1232550
    That is fixed on 4.7.6.1

    in reply to: Left Main Menu: Search below logo #1233456
Viewing 30 posts - 5,251 through 5,280 (of 11,912 total)