Forum Replies Created

Viewing 30 posts - 3,991 through 4,020 (of 11,918 total)
  • Author
    Posts
  • in reply to: Adding sections to all pages #1331942

    Or style that “footer” as page – completely like this

    and use that page as footer in enfold options footer:

    And you realy uploaded a fontello font to your enfold?
    the font is called fontello – that is what you can see on the enfold options page:

    because default font-name of enfold included fonts is entypo-fontello.
    if you have generated it on fontello.com all zip files will have a fontello-name – besides that you had to put in a font-name there on generating. This inserted font-name will be the one shown on that enfold-list.

    is there a test page to see what exactly is the problem?

    in reply to: Bug in page #1331895

    in connection with Enfold I work exclusively with the Classic Editor – then of course in ALB mode.
    I can’t see how the error should have looked like, but I never had problems with the Classic Editor.

    in reply to: Bug in page #1331842

    or : look to your content if you use f.e. some signs that belongs to a tag f.e. a greater than sign in a table will cause a mismatch.
    There are methods to circumvent that.

    in reply to: Bug in page #1331839

    sorry i’m participant as you are – so no private content for me .
    i thought that you concern to the shortcode part – it is the equivalent of your layout above.

    in reply to: Bug in page #1331837

    you mean the backend – and not the frontend.
    Guess you have activated the debug mode – in this case there is after the layout input drag&drop window – a window with the generated shortcodes. That is ok. If you do not like to see it – deactivate debug mode.

    have a look into your child-theme functions.php if there is a snippet like this:

    function builder_set_debug(){
      return 'debug';
    }
    add_action('avia_builder_mode', 'builder_set_debug');
    in reply to: 6 column grid #1331356

    f.e.:

    .responsive #top #wrap_all #av-extra-columns .entry-content-wrapper {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between !important;
    }
    
    .responsive #top #wrap_all #av-extra-columns .entry-content-wrapper::before, 
    .responsive #top #wrap_all #av-extra-columns .entry-content-wrapper::after {
      display: none;
    }
    
    /*** the flex-items ***/
    .responsive #top #wrap_all #av-extra-columns .flex_column {
      flex: 0 1 15%;
      margin: 0px !important;
      margin-bottom: 20px !important;
      margin-left: 0px !important;
      padding: 5px;
      width: unset !important;
      background-color: rgba(255,255,255,0.4);
      box-shadow: 1px 1px 5px #aaa;
    }
    
    /*** flex-item media queries - to have on iPad that too ***/
    @media only screen and (max-width: 989px) {
      .responsive #top #wrap_all #av-extra-columns .flex_column {
          flex: 0 1 30%;
          width: unset !important;
      }
    }
    
    @media only screen and (max-width: 519px) {
      .responsive #top #wrap_all #av-extra-columns .flex_column {
          flex: 0 1 48%;
          width: unset !important;
      }
    }
    
    @media only screen and (max-width: 379px) {
      .responsive #top #wrap_all #av-extra-columns .flex_column {
          flex: 1 1 100%;
          width: unset !important;
      }
    }

    you are concerning to this code ?

    add_filter( 'avf_load_google_map_api_prohibited', '__return_true' );
    

    maybe that worked :

    add_filter( 'avf_load_google_map_api', '__return_false' );
    

    you can try this:

    function disable_google_map_api($load_google_map_api) {
            $load_google_map_api = false;
            return $load_google_map_api;
    }
    add_filter('avf_load_google_map_api', 'disable_google_map_api', 10, 1);

    or that:

    add_action('after_setup_theme', 'ava_disable_gmap');
    function ava_disable_gmap() {
    	add_filter('avf_load_google_map_api', function($load_google_map_api) {
    		$load_google_map_api = false;
    		return $load_google_map_api;
    	},10,1);
      
    	add_filter('avia_google_maps_widget_load_api', function($load_google_map_api) {
    		$load_google_map_api = false;
    		return $load_google_map_api;
    	},10,1);
    }
    in reply to: 6 column grid #1331257

    place only the columns that should be part of the flex-container (color-section) and the text-block in an extra color-section before. ( “Las lesiones por trauma …”)

    btw: if you only set your custom-ID (av-extra-columns) – and remove the css you set til now
    – i will optimize your flex code a bit on that. !

    in reply to: different start pages for mobile and PC #1331027

    can you try mikes post with that if clause

    function landingpage_for_mobile() {
    if(wp_is_mobile()){
    ?>    
    <script>
      if (window.location.pathname == '/' ) {
         window.location = "/mobile-home/";
      }
    </script>
    <?php
    }
    }
    add_action( 'wp_head', 'landingpage_for_mobile', 10 );

    or:

    function redirect_mobile_devices() {
        if ( wp_is_mobile() && is_front_page() ) {
            wp_safe_redirect( get_site_url(). '/mobile-home', 301 );
            exit;
        }
    }
    add_action( 'wp', 'redirect_mobile_devices' );
    in reply to: Search autofocus on field and click on mobile search #1330828

    Sorry – i thougth he uses only the better and easier solution of Ismaels link here: https://kriesi.at/support/topic/search-box-in-overlay-search-box/#post-1320840
    A combination of both solutions should be avoided.

    In my solution the search input field is placed by the shortcode via menu-item – so the inputfiled gets a link functionality. Thats the reason i removed from that input field (only – by the selector ) the href.

    in reply to: Search autofocus on field and click on mobile search #1330744

    yes they are – test yourself on my link above – but you are right on mobile there is focus on the input field.
    But that was not your question above. Desktop : no focus ( see link ) mobile test yourself.

    in reply to: Search autofocus on field and click on mobile search #1330665

    and you realy placed the edited file here:

    so on my pages it works ? …
    https://webers-testseite.de/

    in reply to: When do we see Global Elements as an option? #1330572

    This is very much needed!

    ? but then it was probably not so urgent ;)

    in reply to: Top of website too high, hidden behind header #1330525

    i would create a svg ( vectorise ) of your logo – group the “wooden shoes” to a class and set them to display none on header-scrolled

    in reply to: Search autofocus on field and click on mobile search #1330524

    guess this will be part of next Update: 4.8.7.2
    it is in searchform.php if you change position of the two input lines like this:
    first sumit then text
    ( click to enlarge )

    it will do the job ( although it is not logic why )
    if you don’t want to wait – edit your searchform.php yourself and upload it to the child-theme root folder ( besides style.css )

    in reply to: Disable lightbox for image link #1330287

    the reason why i ask is – if it is an image placed to a text-block via media library – you can set these options on hovering the image after placement – click that pencil (edit) and fill in what you need: especially the noLightbox class:

    in reply to: Disable lightbox for image link #1330270

    is it the ALB Element : Image – or is it an image placed via Media Library to a text-block ?

    in reply to: Top of website too high, hidden behind header #1330267

    besides that – what do you like to obtain by – that on a “shrinking” header?

    newH = el_height/1;
    

    Changing only this line – causes the header height to jump when it has covered the scroll distance.
    Here you can see the mathematical background of the shrinking header : https://kriesi.at/support/topic/shrinking-of-header-amount-an-info/

    maybe it is better to hamper the shrinking via Enfold Options – header – Header Behavior : Shrinking Header

    in reply to: excerpt length on blog page #1330179

    Yes

    Yes – thats it !
    I should have seen it too. It was clear that it could not go like that.
    Now close it.

    in reply to: Troubleshooting transparent/shrinking header #1330116

    OK my test site on this is: https://basis.webers-testseite.de/garrod/
    i just changed position – and use a child-theme edited avia-snippet-sticky-header.js on this
    ( then i stop now to style the responsive case )

    in reply to: Troubleshooting transparent/shrinking header #1330097

    One thing is to use the header: logo – center, menu – below
    and then change position in dom via child-theme functions.php:

    function change_position() { 
    ?>
    <script>
    (function($){
    	$('#header_main_alternate').insertBefore($('.av-logo-container'));
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'change_position');

    next will be to calculate the shrink amount – i test that in the meanwhile.

    ok – can be closed then. I did not found that filter – and it is in there @since 4.5.4.
    Asche auf mein Haupt ;)

    Edit: Using that filter – will end in:

    in reply to: How to align Text to match picture with two sections #1330083

    the p tag got a top/bottom margin of 0.85em

    p {
        margin: 0.85em 0;
    }

    even if you set this to Zero – there will be a litle distance.
    But what if you place a separator/whitespace line above the image with a height of 0.85em ?

    and on responsive case – that text under the image – you can set the whitespace to hide on smaller screens.

    Many many thanks. You did that for the widgets allready ( avf_newsbox_image_size ) in former times – and i guess that would be a nice idea here too!

    in reply to: Sucherweiterung anpassen #1329830

    And because of event.which is deprecated ( i erased that function above ) use better:
    ( on child-theme functions.php )

    function disable_enter_key(){
    ?>
    <script type="text/javascript"> 
    (function($) {
    	$(document).on('keypress keydown keyup', '#searchform', function(e) {
    	  if(e.keyCode == 13) {
    		e.preventDefault();
    		return false;
    	  }
    	});
    })(jQuery);	
    </script>
    <?php
    }
    add_action('wp_footer', 'disable_enter_key');

    by the way: on small screens ( mobile devices ) the ajax response list maybe too big for the screen. On default – it is not scrollable that window:

    #top #searchform .ajax_search_response {
        max-height: calc(100vh - 200px);  /* test it with fitting settings */
        overflow-y: auto;
        height: auto;
    }

    disadvantage: maybe you do only hamper enter key on desktop devices ! because on my mobile the text input will be closed by enter key ;)
    so maybe that line above to replace by:
    $(document).on('keypress keydown keyup', 'html:not(.avia_mobile) #searchform', function(e) {

    in reply to: Sucherweiterung anpassen #1329829

    das habe ich noch nie getestet. In der Tat bei Enter öffnet sich die Suchseite.
    versuche mal :
    _______
    I have never tested this. In fact, if you press Enter, the search page opens.

    Edit : use the next code

    in reply to: open-popup-modal on mobile #1329828

    you are reffering to a page ( you link above https://kriesi.at/support/topic/open-popup-modal-with-button/ ) – there are several snippets – but this is an older topic – you have to replace that line with mine – not to replace the whole code . This is mikes link to Ismaels Post . You see that here is the setting of no-scroll class on the initiating anchor. And you see that there is window on load.
    ___________
    Some info on that.
    So you have placed a hidden code block on the page. That codeblock got an unique ID – and an anchor is linking to that ID.
    How would a (non-lightbox) link to an ID on the same page behave?
    You click it, and it scrolls to the anchor there.
    The trick with this modal window is that the html code is inside a code block. Nevertheless, the code block is in a place inside your DOM. So if this codeblock is at the bottom – the modalwindow opens, but still the window scrolls to the place where the codeblock is in the layout. This can be prevented in Enfold, by setting the class no-scoll to that link.

    The fact that the background no longer moves with the scroll when the lightbox is open has become standard – or so I thought. (This is what Mike had recommended and belongs to the earlier solution to assign the property overflow-y: hidden to the html.
    If you could please post your snippet here, then I can tell you better in this regard what to change.

Viewing 30 posts - 3,991 through 4,020 (of 11,918 total)