Forum Replies Created

Viewing 30 posts - 3,061 through 3,090 (of 11,525 total)
  • Author
    Posts
  • on my Mac here (Firefox Developer, Chrome and Safari) both shows (left and right) start automatically!
    When you click to go to the next slide – the show stops after one pass ( no loop ) – but this is normal behavior I’m afraid.

    in reply to: Conflict with Paid Membership Pro #1356197

    well – i do not see any script errors – but if the script code is correct – maybe the priority is wrong (999) so to test this. Remove the snippet from functions.php and place again a text-widget or maybe better a html widget to your footer again.
    But if it is a text-widget insert the script code (oneliner from above) in text-mode – if you switch back then to visual mode you will see a littel icon in it:

    in reply to: custom svg files as dividers #1356196

    This might be helpful if someone wants to implement custom svg’s this way
    if you like to have in List View of Media Library the Items-ID in a column ( and to have this sortable ) put this to child-theme functions.php:

    function posts_columns_attachment_id($columns){
        $columns['post_attachments_id'] = __('ID');
        return $columns;
    }
    function posts_custom_columns_attachment_id($column_name, $id){
        if($column_name === 'post_attachments_id'){
        echo $id;
        }
    }
    add_filter('manage_media_columns', 'posts_columns_attachment_id', 1);
    add_action('manage_media_custom_column', 'posts_custom_columns_attachment_id', 1, 2);
    
    function make_item_ID_column_sortable($columns) {
      $columns['post_attachments_id'] = __('ID');
      return $columns;
    }
    add_filter('manage_upload_sortable_columns', 'make_item_ID_column_sortable');
    
    // File-Size Column sorting logic (query modification)
    function items_ID_sorting_logic($query) {
      global $pagenow;
      if(is_admin() && 'upload.php' == $pagenow && $query->is_main_query() && !empty($_REQUEST['orderby']) && 'post_attachments_id' == $_REQUEST['orderby']) {
        $query->set('order', 'ASC');
        $query->set('orderby', 'meta_value_num');
        $query->set('meta_key', 'post_attachments_id');
        if('desc' == $_REQUEST['order']) {
          $query->set('order', 'DSC');
        }
      }
    }
    add_action('pre_get_posts', 'items_ID_sorting_logic');
    in reply to: custom svg files as dividers #1356186

    i did that – but it does not work.
    Is the registration above correct? Or do i have to make some changes?

    function custom_avf_custom_svg_shapes( array $custom_shapes ) {
    $custom_shapes = array(
    	'waves-in-motion'	=> array(
    		'key'			=> 'waves-in-motion',
    		'title'			=> __( 'Waves in motion', 'avia_framework' ),
    		'has_flip'		=> true,
    		'has_width'		=> false,
    		'attachment'		=> 16,
    		'filename'		=> 'waves-in-motion'
    		),
    	);
    return $custom_shapes;
    }
    add_filter( 'avf_custom_svg_shapes', 'custom_avf_custom_svg_shapes', 10, 1 );

    EDIT: OK now i know – we had to look in media-library what ID is given to the uploaded file. This we must synchronize with the given register file.
    Now it is clear – but then i think the easiest way would be to upload via ftp in that subfolder (avia_custom_shapes)

    in reply to: custom svg files as dividers #1356150

    no private content Area for me – i’m participant as you.
    if you don’t like to make it public – mail me – contact data under my nick/avatar

    in reply to: magazine headings change to H4 #1356128

    in the meantime there is a filter to do this. ( the former method via a child theme magazine.php is no longer necessary )
    can you place this in your child-theme functions.php:

    function my_avf_customize_heading_settings( array $args, $context, array $extra_args = array() ){
      if( $context == 'avia_magazine' ){
        $args['heading'] = 'h4';            
      }
      return $args;
    }
    add_filter( 'avf_customize_heading_settings', 'my_avf_customize_heading_settings', 10, 3 );

    by the way the alb element itself got the option to set the heading tag – under Advanced Tab : Heading Tag.

    in reply to: Issue with Lightbox Image Titles #1356119

    on your page you use that ( by the way deprecated window.load is involved too ) script:

    jQuery(window).load(function(){
    	jQuery('a').removeAttr('title');
    	jQuery('img').removeAttr('title');
    });

    without the titles – the lightbox got no info what to show!
    The question now is when you inserted the script, because even in the earlier version of enfold this could not work.

    Have a look into the alb you set – maybe there is the option not to use the title but f.e. description.
    Or just not to remove the title – but save it to another attribut and save back on click or on mouseout:

    can you try this instead :

    function temporary_removal_title_tags(){
    ?>
    <script>
      window.onload = function() {
          var links = document.querySelectorAll('a, img');
          for (var i = 0; i < links.length; i++) {
              var link = links[i];
              link.onmouseover = function() {
                  this.setAttribute("data-tooltip", this.title);
                  this.title = "";
              };
              link.onmouseout = function() {
                  this.title = this.getAttribute("data-tooltip");
              };
              link.onmousedown = function() {
                  this.title = this.getAttribute("data-tooltip");
              };
          }
      };
    </script>
    <?php
    }
    add_action('wp_footer', 'temporary_removal_title_tags');

    btw: maybe you decide to darken the lightbox background a bit more – because the png files with the transparency will then be better seen:

    .mfp-zoom-in.mfp-ready.mfp-bg, 
    .mfp-zoom-in.mfp-ready .mfp-preloader {
      opacity: 0.9 !important;
    }

    on former installations i got this when the domain and the mail address is not correlating.
    Means your e-mail on http://www.domain.com contact form goes to (Email address hidden if logged out) .
    It depends mostly on your hoster – you can edit the dns of your domain to include other domains that are allowed to send emails from.
    That is the socalled SPF Record.
    To shorten this read : https://www.digitalocean.com/community/tutorials/how-to-use-an-spf-record-to-prevent-spoofing-improve-e-mail-reliability

    Adding an SPF record to your DNS zone file is the best way to stop spammers from spoofing your domain. In addition, an SPF Record will reduce the number of legitimate e-mail messages that are flagged as spam or bounced back by your recipients’ mail servers. The SPF record is not 100% effective, unfortunately, because not all mail providers check for it. Many do, however, so you should notice a significant decrease in the amount of bounce-backs you receive.

    your recipients email client get an email allegedly from a – but it send from b – and return answers will be send to b – thats why this goes to spam.

    f.e.: on your contact form 7 form you have the entries like that:

    what now can be done is to login to the hoster (webers-testseite.de) and edit the dns by allowing (guenterweber.com) to send emails via spf record.

    This could
    also be the case with your installation

    in reply to: Conflict with Paid Membership Pro #1356094

    on your landing page – on the other page it still exists.

    Edit : my suggestion is that your inserted script has some linebreaks that causes the automatic p-tag insertion in the text-widget – in a child-theme functions.php it does not matter if there are linebreaks – but in a text-widget it might be different.

    – so try first to insert this pure one-liner:

    <script type="text/javascript">(function(e,t,o,n,p,r,i){e.visitorGlobalObjectAlias=n;e[e.visitorGlobalObjectAlias]=e[e.visitorGlobalObjectAlias]||function(){(e[e.visitorGlobalObjectAlias].q=e[e.visitorGlobalObjectAlias].q||[]).push(arguments)};e[e.visitorGlobalObjectAlias].l=(new Date).getTime();r=t.createElement("script");r.src=o;r.async=true;i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i)})(window,document,"https://diffuser-cdn.app-us1.com/diffuser/diffuser.js","vgo"); vgo('setAccount', '611343716'); vgo('setTrackByDefault', true); vgo('process');</script>
    

    __________

    Or like Rikards advice:
    Remove that text-widget and embed that script via child-theme functions.php.

    function ronmann_footer_script(){
    ?>
      <script type="text/javascript">
        (function(e,t,o,n,p,r,i){e.visitorGlobalObjectAlias=n;e[e.visitorGlobalObjectAlias]=e[e.visitorGlobalObjectAlias]||function(){(e[e.visitorGlobalObjectAlias].q=e[e.visitorGlobalObjectAlias].q||[]).push(arguments)};e[e.visitorGlobalObjectAlias].l=(new Date).getTime();r=t.createElement("script");r.src=o;r.async=true;i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i)})(window,document,"https://diffuser-cdn.app-us1.com/diffuser/diffuser.js","vgo"); vgo('setAccount', '611343716'); vgo('setTrackByDefault', true); vgo('process');
      </script>
    <?php
    }
    add_action('wp_footer', 'ronmann_footer_script', 999);
    in reply to: Mobile "stutter" when scrolling page #1356091

    so the container itself is only to determine the background via the alb element. The background-size was then reduced to zero. The color-section itself got with the clip-path a kind of keyhole function. That is important – because the later fixed pseudo-container should not be seen on other places – only through that keyhole.
    The pseudo-container has the same dimension as the parent container and inherits the background-image of the parent. But now we can fix the whole background container. And this is something that is supported by Safari and iOS Devices.

    PS : if you got a lot of those containers on one page – it might be better to remove the will-change option on performance reasons.

    in reply to: Mobile "stutter" when scrolling page #1356062

    my suggestion is ( i do as participant not see the private content) that the background-image is set to attachment fixed ! ;)

    this is a known bug on safari and with iOs devices. Link
    A trick to solve this problem is to bypass the attachment fixed property by passing the image to a pseudo-container ( you can take before aswell ) as a background image, but then fixing the pseudo-container. This works much better with an iPhone.

    https://kriesi.at/support/topic/theme-is-shaking-a-lot-in-safari/#post-1207474

    so what to do :

    • give to the color-section a custom-class: bg-fixed
    • set the behavior to scroll
    • put this to your quick css:
    .avia-section.bg-fixed {
      -webkit-clip-path: inset(0 0 0 0);
      clip-path: inset(0 0 0 0);
      background-size: 0 !important;
      overflow: hidden;
      position: relative;
      top: 0;
    }
    
    .avia-section.bg-fixed::after {
      content: "";
      position: fixed;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background-image: inherit !important;
      background-repeat: no-repeat !important;
      background-size: cover;
      background-position: inherit;
      pointer-events: none;
      will-change: transform;
      z-index: -1;
      visibility: visible !important;
    }

    but on your example page i can see that the full image is taken for the source:
    ( click to enlarge – red underlined )

    in reply to: Social Media Widget SEO #1356051

    on my installations and here on one enfold demo – all external links got that attribut:

    in reply to: Conflict with Paid Membership Pro #1356046

    i can not see any script error at the moment.

    in reply to: Slider doesnt show correct ratio #1356044

    PS : i don’t like the new outlook of Layerslider 7 – the old slider was much more intuitive to set.

    Edit : 10 days ago your last posting – i remove now the example page ( due to copyright )

    nearly one month ago : hm – I think actually very detailed – speak noob safe solutions to offer; obviously, however, some fellow here on board are lazy to read. Probably only ways in summary mode are accepted, which present a solution if possible without learning curve.

    in reply to: Slider doesnt show correct ratio #1356039

    By the way: i like to preserve the ratio it has as landscape photo. This gives the image a better balance. ;)

    – next – now i followed the whole video ( sorry ) – you want to do that with two advanced layersliders.
    First: is it necessary – think of that a touchscreen has no hover effect – so the parallax effect will not be seen.
    Taking this into account – do activate the advanced setting on project settings and mark: “Optimize for mobile”

    Next: do not activate the “Hide on Mobile” for the desktop slider – because this is for mobile devices meant and not for screenwidth – if you activate it it will not be seen on tabletts – even if they have a bigger screenwidth than 768px.

    Second: on advanced layerslider the preview images had to be set by your own.
    Thrid : you had to choose the right ratio for that responsive slider – in my example case it is the dimension of that portrait image:

    On your film i see that you have your homeslider mobile on: width : 500px and height: 369px so not the wanted portrait format.

    now i will insert it to the example page.

    in reply to: Slider doesnt show correct ratio #1356037

    the https://simonehirsch.de/wp-content/uploads/slider-3.jpg is even not a real portrait photo.
    And it is to small – you have it on 300dpi – but if you go and set the the dpi to 72 without recalculating the photo it only got 768px width:

    Nevertheless – you could use for the smaller screens that image and the fullwidth image slider – and you can stretch it – but go to the alb and open the tab: Styling and choose under : “Slideshow Image and Video Size” no scaling.

    If you use a portrait it will show the way you like:

    f.e. here with two fullwidth easy sliders: The image detail is not good now due to lack of source material, but it is sufficient for demonstration purposes.
    https://enfold.webers-webdesign.de/simone-hirsch/

    When you have seen the example page i remove that page again.

    in reply to: Mobile double logo #1356034

    @xxtita : this subtext logo is only used for transparency headers. Whilst the one got opacity 0, the others got opacity 1:

    /*** no transparency header ***/
    .logo img, 
    .logo svg {
      opacity : 1;
    }
    
    .logo img.alternate, 
    .logo .subtext.avia-svg-logo-sub svg {
      opacity: 0;
    }
    
    /*** for transparency headers ***/
    .av_header_transparency .logo img.alternate, 
    .av_header_transparency .logo .subtext.avia-svg-logo-sub svg {
      opacity: 1;
      filter: alpha(opacity=1);
    }
    
    #top .av_header_transparency.av_alternate_logo_active .logo a > img, 
    #top .av_header_transparency.av_alternate_logo_active .logo a > svg {
      opacity: 0;
      filter: alpha(opacity=0);
    }

    i think this comes from using gtranslate :
    i only read about multiple widgets in conjuction with gtranslate.

    PS: bitte dringend um DSGVO kümmern. Da wird alles zu Google gefunkt bevor irgendetwas abgefragt und zugestimmt wird.
    Click the link

    PPS: ist das die Enfold Suchfunktion, die du einblendest? Weil normalerweise bei Enfold die img’s nicht mit in Suchergebnisse mit aufgenommen werden.

    in reply to: Social Media Widget SEO #1356027

    as participant i do not see your private content area – but :
    do you have real links behind those social media links? on enfold every external link gets the rel=”noopener” and that is enough to hamper the script window.opener – no need to set both!
    If you have entered # for testing purposes – the rel attribute will not be set.

    in reply to: Social Media Widget SEO #1355945

    Where did you get a social media widget. Or do you mean the social buttons alb element?

    in reply to: Conflict with Paid Membership Pro #1355944

    i don’t know if this is correlated to your troubles – but i can see an error on developer tools:
    Can you have a look on one of your text-widgets where a script is placed. Guess it is a tracking script inside a text-widget.
    There are inconsistent p tags inside the inserted text. Maybe you open that text widget in text mode and look for those tags.

    Next – your website does not redirect to the www “subdomain” that is why your link above without www. does not lead to your website. This could be a reason for login/logout errors.

    Edit – no i see – you forgot the .com on your link above

    in reply to: Image Caption #1355938

    if you choose on content tab of the image alb the caption – another Option Toggle will be shown on Styling Tab: “Image Caption”.
    Font and weight had to be styled via css. Selector is:

    .av-image-caption-overlay-center {
      font-weight: bold;
    }

    background on hovering is styled by:

    .av-overlay-hover-deactivate .avia-image-overlay-wrap:hover .av-caption-image-overlay-bg {
      opacity: 0 !important;
    }

    and if you like to change the font on hovering:

    .av-overlay-hover-deactivate .avia-image-overlay-wrap:hover .av-image-caption-overlay-center {
      color: #FFF !important
    }

    hm … i try to get what you have taken for the alb element inside that page.

    First – if you use the blog post alb element to insert. There is on the Styling Tab the option “Preview Image Size”
    there you can choose the image size.

    At the moment i could not say if there is a filter to preset that image_size attribute

    What you can do as “quick and dirty” solution is to have a child-theme postslider.php
    But then you will have in all alb elements getting the infos from postslider.php the full resolution.

    in reply to: Remove tooltip, keep caption in galleries, masonry #1355891

    can you use instead:

    function temporary_removal_title_tags(){
    ?>
    <script>
      window.onload = function() {
          var links = document.querySelectorAll('a, img, *[title]');
          for (var i = 0; i < links.length; i++) {
              var link = links[i];
              link.onmouseover = function() {
                  this.setAttribute("data-tooltip", this.title);
                  this.title = "";
              };
              link.onmouseout = function() {
                  this.title = this.getAttribute("data-tooltip");
              };
              link.onmousedown = function() {
                  this.title = this.getAttribute("data-tooltip");
              };
          }
      };
    </script>
    <?php
    }
    add_action('wp_footer', 'temporary_removal_title_tags');

    or do you realy mean “widget” – this is kind of technical term.
    I now think you are talking about the postslider – and the thumbnails shown on this.
    But be carefull – if you got a big list of portfolio – and each got a full resolution – performance will suffer on that.

    Try this snippet in your child-theme functions.php:
    f.e. on archiv pages like categories :

    function custom_post_featured_image_link( $image_link, array $current_post, $size ){
      if(is_tag() || is_archive()){
        $image_link = get_the_post_thumbnail( $current_post['the_id'], 'full' );
      }
      return $image_link;
    }
    add_filter( 'avf_post_featured_image_link', 'custom_post_featured_image_link', 10, 3 );

    Sorry – I’m a participant like you – so there’s no private content area for me to see either.
    ( if it is the page that is part of your src in the first post – i can not see any widget )

    with all this – to style web pages it is useful to learn how to use the developer tools of the browsers. In Chrome, Firefox, Opera these are available by default. With Safari you have to activate the Developer Tools in the Settings – Advanced Settings at the bottom. Then you have the possibility to point to elements via the context menu of the mouse and to inspect them. Mostly a window is shown like this one above. On the left side there is the html structure and mostly on the right side the css settings related to the shown element.

    So you go with the mouse over your portfolio widget and open the context menu (usually the right mouse button). There you will see something like examine or inspect. The window above will show up.

    are there any questions on how to do it?

    you have to look into the frontend html code what widget ID is your portfolio :
    ( click to enlarge )

    this is what had to be inside that little snippet on top ( here on that example it would be : portfoliobox-2

    in reply to: Color section video background not staying constrained #1355813

    i only can reproduce that a background-video overflows the parent container – if i do force to do so on three different container to set the overflow to visible. But this is something i do not believe that you have done.

    in reply to: Change logo when page scroll #1355670

    Next – big advantage of that inline svg logo.
    What if you got a transparent dark header ? You can have now white letters for it – just by quick css.
    You only had to know that enfold sets on header classes for that : av_header_transparency

    #top.page-id-3228 #header:not(.header-scrolled).av_header_transparency .mir1,
    #top.page-id-3228 #header:not(.header-scrolled).av_header_transparency .mir2 {
      fill: #FFF;
    }

    see: https://enfold.webers-webdesign.de/dark-header/

    Edit :
    i switched back a logo of mine. But with the info above and the download of the svg i provided it has to work now.

Viewing 30 posts - 3,061 through 3,090 (of 11,525 total)