Forum Replies Created

Viewing 30 posts - 5,881 through 5,910 (of 11,702 total)
  • Author
    Posts
  • in reply to: How to replace rather than add to enfold sidebar? #1172604

    By the way – but i hope it will clarify it a bit: The sequence of the widget-areas is determined in sidebar.php
    so if you like to have the display-everywhere widget area under a custom widget area
    find this :

            //global sidebar
            if (dynamic_sidebar('Displayed Everywhere')) : $default_sidebar = false; endif;

    and put it under the :

            if($custom_sidebar)
            {
                dynamic_sidebar($custom_sidebar);
                $default_sidebar = false;
            }

    put the edited file to your child-theme folder
    but this will globally change the sequence – means every custom widget area will be over the display everywhere.
    Don’t know if there was a child-theme influence of the sequence for specific pages only.

    https://kriesi.at/support/topic/sidebarwidget-issues-2/

    see in action: https://webers-testseite.de/guenni/masonry/

    in reply to: Issues with Transparent header and using SVG logo #1172600

    here are you logos a bit styled inside svg: https://webers-testseite.de/AltCare.zip
    If you do it this way described above ( the white one to transparency options input field – the black one to normal logo input field.
    i styled your logo inside – you see some groupings with ids – each of them can be selected separatly now. The underlined “preserve…” is for shrink behavior of the svg – now it shrinks in y-direction to the middle but on x-axis to the left

    This is only possible with that plugin mentioned on top.
    But if you see this page : https://webers-testseite.de/cynthia/alt-care/
    you see what you can do with real inline svg files.

    so with inline svg i can colorize only the Alt/Care on scrolled state etc. pp

    Info : Enfold sets for transparency header state a class to header: av_header_transparency
    on shrinking header the classes comes to header : header-scrolled and header-scrolled-full

    in reply to: Issues with Transparent header and using SVG logo #1172590

    in the moment you got the not fixed header – so the scrolled header isn’t in viewport.

    This mentioned page is a page with transparency. For that case Enfold got that extra input field in Enfold Options:
    Enfold (Child) – Header – Transparency Options : Transparency Logo ( and Transparency Menu Color )
    so insert in the normal logo field your white svg.

    • This reply was modified 5 years, 9 months ago by Guenni007.

    All comes to child-theme functions.php
    just for WordPress Things

    // Remove unneeded WP image sizes
    add_filter( 'intermediate_image_sizes_advanced', 'prefix_remove_default_images' );
    // Remove default image sizes here. 
    function prefix_remove_default_images( $sizes ) {
    // do NOT remove small and medium sizes, they are used in backend Media Library!
    // unset( $sizes['small']); // 150px
    // unset( $sizes['medium']); // 300px
     unset( $sizes['large']); // 1024px
     unset( $sizes['medium_large']); // 768px
     return $sizes;
    }

    here for Enfold Sizes:

    // Disable loads of Enfold & WP image sizes upon upload
    // do image sizes manually, double-size with high compression for retina screens
    // use Photoshop to set exact double size and quality between Q30 and Q40
    add_action('init', 'remove_enfold_image_sizes');
    function remove_enfold_image_sizes() {
    // do NOT remove widget size, is used in backend portfolio items!
    // remove_image_size('widget');
      remove_image_size('square');
      remove_image_size('featured');
      remove_image_size('featured_large');
      remove_image_size('portfolio');
      remove_image_size('portfolio_small');
      remove_image_size('gallery');
      remove_image_size('magazine');
      remove_image_size('masonry');
      remove_image_size('entry_without_sidebar');
      remove_image_size('entry_with_sidebar');
      remove_image_size('shop_thumbnail');
      remove_image_size('shop_catalog');
      remove_image_size('shop_single'); 
      remove_image_size('shop_gallery_thumbnail');
    }

    This is better to be done before making Content.
    If you will make it later – you had to use some plugins like force regenerate thumbnails

    PS : comment out the image sizes you like to hold on your installation

    in reply to: Issues with Transparent header and using SVG logo #1172373

    1) you are concerning to the svg classes inside. These are set in the program you used to generate the svg file.
    Illustrator usually takes st0, st1 etc.
    May i see a link to your svg logo? – or open it yourself in a good text-editor on your Mac/PC ( sublime-text / notepad++)
    Look to the source code of : https://webers-testseite.de/cynthia/wp-content/uploads/2018/05/Ein-Logo.svg

    there you got the classes – and of course you can change them here too with a good text-editor. IDs and classes .
    you see the initial styles on top ( fill parameter etc )

    PS : if you are using svg as inline svg – you must think of giving a dimension to it via css on your quick css – otherwise it will not be shown on some browsers ( chrome / safari )

    2) if you mean the trigger class of that plugin to substitute the img by the inline svg – you can manage that via jQuery in functions.php.

    in reply to: Automatically use ALB instead of Blocks? #1172367

    This wish I can only send back. Thank you very much.

    in reply to: Next page start on top #1172342

    on Enfold paginated pages ( portfolio, posts etc. ) this code Ismael provides will work.
    Here a few years ago Josue posted a very similar solution: Link– i tested it on a portfolio page.
    And if i insert the code to developer tools ( Konsole ) i see that the adendum #top is there even on your page – but the link resulting on click is changed then. – It must have something to do how your commerce plugin formates the links.

    in reply to: Issues with Transparent header and using SVG logo #1172334

    I’d recommend a little plugin: https://en-gb.wordpress.org/plugins/svg-support/
    Besides the advantages of using svg like imgs, it also has the advantage that you can see previews of svg files in the media library.
    Furthermore you could also use the svg you use inline; i.e. if an img src encounters an svg, the img tag is exchanged with the svg. etc. pp

    Using an inline svg file could have a lot of advantages. f.e. you can influence the classes in the svg by css.
    See here – and scroll down. The “Bonn” has in the svg a given class and i set the opacity to zero on header-scrolled.
    Or on hove fill it red etc. : https://webers-testseite.de/cynthia/

    in reply to: Automatically use ALB instead of Blocks? #1172332

    you can insert this to your child-theme functions.php:

    function trigger_alb_on_load(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
          $("#avia-builder-button").trigger('click');
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('admin_head-post-new.php', 'trigger_alb_on_load');
    in reply to: Add caption in lightbox under image in masonry gallery #1172331

    All entries of the lightbox popups ( in Masonry and Gallery ) get their content from image attributes. These Attributes comes from Media Library – so they are globally set. If this should be a usefull feature it has to be a source input field that could be set individually on the inserted images.
    F.e:
    This input field may only be set for this image in this particular gallery.

    On image ALB we can create an additional Input Field on customising the image.php a bit. But for gallery or masonry i did not find a way to do that.

    This could be used to have an individual link in the lightbox with given link-target.

    But that is a lot of customisation …
    On that last image you can see how i prepared the image.php for that. If there is a lightbox link choosed – the additional input-field is shown and will end in:

    in reply to: Add direct link to an image in lightbox #1171782

    First to be clear what is your setup:
    You got a grid-row and like to have in one grid-cell an image and in another one a link to a film ( youtube, vimeo etc.) both should open in lightbox.

    “And on another column I would like…” then you are talking about columns .
    So please be more precise in your question.

    here i got a grid-row –
    first grid-row:
    on the left there is in it an easy-slider with one image and lightbox setting.
    on the second cell i placed an image with video link ( video url with iframe=true option )
    with this setting lightbox gallery will work

    second grid-row:
    on the left there is in it an easy-slider with one image and lightbox setting.
    on second cell i placed a video alb with lightbox open option (Enfold newer than 4.6.3)

    https://webers-testseite.de/gridrow-links/

    don’t know if it happens only caused by enfold. https://wordpress.org/support/topic/php-7-4-support-deprecated-unparenthesized/
    Some plugins will cause this too.

    in reply to: How to get header widget to shrink with header #1170432

    or maybe you can try a different hook for the widget-area! Then maybe shrinking of the container could be reached too.
    if you use ava_after_main_menu as dynamic_sidebar it will be part of the logo container.
    you created the widget-area by functions.php
    as mentioned above you can do it this way instead. But you had to style it completely again from the beginning. As part of the inner container of logo surrounding container it will be influenced by shrinking too.

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
      dynamic_sidebar( 'header' );
    }
    in reply to: How to get header widget to shrink with header #1170431

    try this :

    #custom_html-4 {
      margin: 0;
      top: 50%;
      -webkit-transform: translateY(-50%);
      transform: translateY(-50%);
    }
    
    #top .textwidget form {
      margin-bottom: 0;
    }
    • This reply was modified 5 years, 9 months ago by Guenni007.
    in reply to: Anker Sprungmarken – Please help in German #1170294

    der link zu der ID geht dann über den #-link muss also auch im Menu auftauchen. Wobei die Seite auch eindeutig sein muss.
    Befindet sich die Sprungmarke also auf einer Unterseite, muss die mit benannt sein – kann allerdings auch relativ gehalten sein:
    leg dann also einen idividuellen Link im Menu an

    https://netventure.at/dolmetschen/#praesentation oder /dolmetschen/#praesentation

    PS : ich würde auch Umlaute vermeiden, und Groß/Kleinschreibung ebenso. – Beim Einsetzen in die Developer ID Felder wird zB alles auf Kleinschreibung umgesetzt.

    in reply to: Anker Sprungmarken – Please help in German #1170291

    Sprungmarken werden über IDs gesetzt. Eine ID muss daher eineindeutig sein – also einmalig und als ID vorhanden sein.
    Dein #praesentation ist in dem Quellcode nicht zu finden – stattdessen sehe ich : <a name="”praesentation”"></a>

    IDs kann man natürlich so vergeben wie du es gemacht hast innerhalb eines Textblockes – wobei dann id="praesentation" benutzt werden sollte
    Das ID wird dann durch das #-Symbol im element ausgedrückt wird – also zB. <div id="main" …> wird dann kurz zB im css mit #main abgekürzt angesprochen.
    Enfold bietet aber bei vielen seiner Elemente die Möglichkeit an IDs direkt über die ALB Elemente zu vergeben.
    Dazu musst du das allerdings in den Enfold Optionen aktiviert haben.:

    Wenn du diese Option gesetzt hast, dann hast du bei den meisten Enfold ALB Elementen ( headings, text-block, columns etc. pp) einen weiteren Reiter “Developer” – dort kann man eine ID vergeben ( bitte hier nur den Text eingeben ohne #)

    PS: für manuelle Anker siehe mal auch hier oder google nach manuelle Sprungmarken setzen : https://www.geldthemen.de/webmaster-und-blogger-base/webseiten-technik-cms-php-html-css/html-anker-setzen-ohne-plugin/

    in reply to: WARNING notice ?? #1168898

    have you pagespeed ninja installed? ( or a different caching tool )
    If so try not the libxml html parser ( it is in experimental mode still )

    Sorry, that was my mistake – I only replaced the transform code and not the webkit-transform code.

    @media only screen and (min-width:990px) {
     .av-section-bottom-logo.header_color {
      position: absolute;
      z-index: 5;
      left: 50%;
      -webkit-transform: translate(-50%, 30px);  /*** only translate not translateX because here are x,y values ***/
      transform: translate(-50%, 30px);   /*** only translate not translateX because here are x,y values ***/
      background: rgba(255,255,255,0) !important;
     }
    }

    what do you think could be done if there is an additional height on top of 30px ? …
    ( it is now translateXY – and that is shortend to translate( x, y) )

    @media only screen and (min-width:990px) {
     .av-section-bottom-logo.header_color {
      position:absolute;
      z-index:5;
      left:50%;
      -webkit-transform:translate(-50%, 30px);
      transform:translate(-50%, 30px);
      background:rgba(255,255,255,0) !important;
     }
    }

    you don’t adjust the logo for between 768px and 990px – thats a wanted variant – or have you forgotton to add this rule:

    @media only screen and (min-width:768px) and (max-width:989px) {
    	.html_header_top.html_logo_center .logo {
    		left: 0;
    		-webkit-transform: none; 
    		-ms-transform: none;
    		transform: none
    	}
    }
    in reply to: Shadow Effect CSS #1168625

    @Mike : yes that was my first looking too – maybe i was on that page before and have something in my cache.
    Erasing my cache was the solution.

    in reply to: H1 Tag on Pages #1168624
    in reply to: H1 Tag on Pages #1168557

    you are running Enfold 4.2.6 on this Version the option fields are not present.

    But your example page from above: https://www.moneyprodigy.com/allowance-for-kids/ is something different. Isn’t it a blog page or a page which shows Portfolios etc. in a list? – or is it a handmade entry?
    Do you use for “blog entries” a plugin? i see some classes that are not generated by enfold ez-…
    Open that page on an editor and see what is the layout for it.

    ________
    But nevertheless:
    On my old fashioned webdesigner mind it is not nice to have more than One h1 on each page visible;
    ( Maybe in a slider with different h1 captions it is ok )
    even if Google sees it differently by now, I once learned that this way. A h1 should be something special and should appear only once on a page. Therefore the choice of Enfold is logical to assign a h2 to these headlines.

    in reply to: Shadow Effect CSS #1168556

    ok now i see.

    but maybe you make the shadow a bit more intense for it:

    .popup_content--2JBXA {
        box-shadow: 0px 10px 75px 0px rgba(0,0,0,0.50), 0px 10px 50px 0px rgba(0,0,0,0.5);
    }

    just use the css from above only for your non responsive case:

    @media only screen and (min-width:990px) {
    	.av-section-bottom-logo.header_color {
    		 position:absolute;
    		 z-index:5;
    		 left:50%;
    		 -webkit-transform:translateX(-50%);
    		 transform:translateX(-50%);
    		 background:rgba(255,255,255,0.0) !important
    	}
    }

    you had to style the header logo for 768px to 990px – because i think you would like to have logo too on left side as it is on 768px and smaller.
    It comes from that rule ( don’t know where it is from because you have allready merged the css):

    .html_header_top.html_logo_center .logo {
    left:50%; 
    -webkit-transform:translate(-50%,0); 
    -ms-transform:translate(-50%,0);
    transform:translate(-50%,0)
    }

    so maybe you use another media querry for it:

    @media only screen and (min-width:768px) and (max-width:989px) {
    	.html_header_top.html_logo_center .logo {
    		left: 0;
    		-webkit-transform: none; 
    		-ms-transform: none;
    		transform: none
    	}
    }

    maybe an !important is necessary – we will see

    in reply to: separate menu for mobile #1168486

    so a different way – elegant but more work to do is to register your own mobile menu

    in reply to: separate menu for mobile #1168485

    Well you can have classes on menu list points each – so create a main-menu
    the one that should be displayed on desktop devices got then a different class then the mobile devices menu list points.

    the red arrows on menu page shows how to activate the menu-item classes field – open first on top “Screen Options” Flyout- then mark “CSS classes”.
    that littel arrow besides each menu list point – click it – then you can set a custom-class for each Menu Listpoint.

    The rest is quick css with display:none

    By the way – Enfold sets on default :
    desktop devices got on html a custom class : avia_desktop
    and mobile devices got: avia_mobile

    so for example: ( see image above)

    .avia_mobile .only-desktop {display: none}
    .avia_desktop .only-mobile {display: none}

    or if it is not meant for devices but for screen-width do it with mediaquerries.

    in reply to: Shadow Effect CSS #1168483

    on your screenshot we do not see the selector (the element ) to what the box-shadow should go.
    I suppose there is no-one.

    something like

    .flex_column.av_one_third {
          box-shadow: 0px 10px 75px 0px rgba(0,0,0,0.10), 0px 10px 50px 0px rgba(0,0,0,0.15);
    }

    _________________________

    By the way – but Off Topic – if you have found a way to show on a page a pdf – ;) i’m interesting too

    the only way i know is via javascript to render a pdf on websites.
    or to embed them like this:
    <embed src="https://example.com/the.pdf" width="100%" height="800" type="application/pdf">

    but chrome and android do not support this anymore.
    Edit: it seems that this is still supported by chrome
    Alternative you can use the google pdf viewer to show pdfs on website:
    <embed src="https://drive.google.com/viewerng/viewer?embedded=true&url=https://example.com/the.pdf" width="100%" height="800">

    in reply to: separate menu for mobile #1168480

    you mean a different hamburger menu?

    or try this in child-theme functions.php
    (the filter is part of WordPress template.php on function get_post_states( $post ) )
    (you can include not to show draft and password protection too – but i think this is usefull to have)

    function remove_post_state( $post_states, $post ) {
      if("! has_blocks( $post->ID )") {
        unset($post_states['wp_editor']);
      }
      if("!= Avia_Builder()->get_alb_builder_status($post->ID)") {
        unset($post_states['avia_alb']);
      }
    return $post_states;
    }
    add_filter('display_post_states','remove_post_state',999,2);
    in reply to: Change name of Avia layout builder on page builder #1168354

    We don’t have an official way to do this, and I’m not sure of any issues it may cause, but if you thoroughly test this before trying this on a production site, you may find this works for you:

    Try this in your child-theme functions.php:

    function my_text_strings( $translated_text, $text, $domain ){
    switch ( $translated_text ){
        case 'Advanced Layout Builder':  $translated_text = __( 'Guennis Great Builder', $domain );
        break;
        case 'Avia Layout Builder':  $translated_text = __( 'Guennis Great Builder', $domain );
        break;
        case 'Advanced Layout Editor':  $translated_text = __( 'Guennis Great Editor', $domain );
        break;
      }
      return $translated_text;
    }
    add_filter('gettext', 'my_text_strings', 20, 3);

    You want to adorn yourself with someone else’s feathers? :lol ;)

Viewing 30 posts - 5,881 through 5,910 (of 11,702 total)