Forum Replies Created

Viewing 30 posts - 3,841 through 3,870 (of 11,986 total)
  • Author
    Posts
  • in reply to: Hide image title, etc. on hover #1345478

    Personally, I was only bothered by the galleries with previews.
    https://kriesi.at/themes/enfold-2017/elements/gallery/
    If you hover a little bit over the thumbnails, an Enfold Tooltip and the WordPress Tooltip will be shown at the same time. Therefore my solution to hover the Titles in a Substitute Title ( org_title ) to cache.

    there is a simpler method to remove all titles – but then as mentioned above – the seo aspect will be ignored – and if you decide to show on an image a lightbox – the title is missing in the bottom-bar of the lightbox.

    in reply to: Hide image title, etc. on hover #1345342

    well if you even want to hide the titles on lightbox images – that was the wrong function ( p.s. : comes to child-theme functions.php)
    the function above will do the job: to hide titles on hover – but on click they will be back for exactly the lightbox bottom-bar.

    if you like to preserve the titles for SEO reasons – comment out that part with click event – or remove it:

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

    you can include other selectors etc. see the alternate line: for var links = document.getElementsByTagName("img");
    then use instead:

    function temporary_removal_title_tags(){
    ?>
    <script>
      window.onload = function() {
          var links = document.querySelectorAll('img, a ,div[title]');
          for (var i = 0; i < links.length; i++) {
              var link = links[i];
              link.onmouseover = function() {
                  this.setAttribute("org_title", this.title);
                  this.title = "";
              };
              link.onmouseout = function() {
                  this.title = this.getAttribute("org_title");
              };
          }
      };
    </script>
    <?php
    }
    add_action('wp_footer', 'temporary_removal_title_tags');
    in reply to: Hyphenation #1345244

    Etwas Offtopic : deine sehr minimalistische Seite bedarf trotzdem eines Impressums und einer Datenschutzseite – zumal du das Statistiktool von Jetpack nutzt. Selbst wenn dem nicht so wäre, da du eine Kontaktmöglichkeit offerierst reicht es um die Seite abmahngefährdet zu nennen. Da solltest Du unbedingt nachbessern. ;)

    in reply to: Hyphenation #1345243

    since this is quite a calculation-intensive plugin, it would not be very performant if you use it frequently on a page.
    For this reason, it is also best to manually set the languages for which it is intended.
    In this case it seems to me better to set “breaking points” in long words manually. There is an html entity for the web application which provides exactly that: softhyphen &shy;

    see here an older text of mine : https://kriesi.at/support/topic/problem-with-hyphens/#post-1179376

    in reply to: Hyphenation #1345242

    wendest du das überall? oder nur – wie eigentlich vorgesehen auf Textblöcke bei denen du die Klasse gesetzt hast. Standard ist wohl : hyphenate
    Denn eigentlich macht es am meisten Sinn, wenn es sich um block-text handelt ( justified text blocks)

    do you apply this everywhere? or only – as actually intended on text blocks where you have set the class; default is probably : hyphenate
    Because it actually makes the most sense when it is about justified block text.

    See your example text her on :
    https://webers-testseite.de/hyphenator/

    PS: if you like to include your CPT to search results use:

    function include_cpt_search( $query ) {
        if ( $query->is_search ) {
        $query->set( 'post_type', array( 'post', 'page', 'proyectos_ma' ) );
        }  
        return $query;
    }
    add_filter( 'pre_get_posts', 'include_cpt_search' ); 

    can you please test this in your child-theme functions.php:

    function avf_alb_supported_post_types_mod( array $supported_post_types ) {
      $supported_post_types[] = 'proyectos_ma';
      return $supported_post_types;
    }
    add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);
    
    function avf_metabox_layout_post_types_mod( array $supported_post_types ) {
      $supported_post_types[] = 'proyectos_ma';
      return $supported_post_types;
    }
    add_filter('avf_metabox_layout_post_types', 'avf_metabox_layout_post_types_mod', 10, 1);
    in reply to: REPEAT AN ELEMENT ACROSS ALL PAGES AND POSTS #1344896

    First :
    this here :

    is the content you like to have on all pages ?
    – i can see it on your front-page too – so your code does not take over the if clause ?

    next Enfold has an option to choose a whole page as footer !

    So style a new page ( sponsors ) and set this page to be the footer-page

    If you have some changes on that sponsors – just edit that page ( page as footer ) – and all pages are up to date at once.

    in reply to: Portfolio Items – featured image section disappears #1344886

    if you have opended a post / portfolio – the metabox is missing?

    At the top of the window there is a “Screen Options” dropdown button that allows you to mark whether or not these features should be displayed.
    Perhaps someone had accidentally removed the “Featured Image” meta field
    (click to enlarge:)

    in reply to: Gaps in gallery of thumbnail images #1344882

    and if you decide to only show first 6 Elements on very small screens you can add a rule to the last media query:

    @media only screen and (max-width: 339px) {
      #top #wrap_all .avia-gallery .avia-gallery-thumb a {
        flex: 1 1 100%
      }
      
      #top #wrap_all .avia-gallery .avia-gallery-thumb a:nth-of-type(n+7) {
        display: none !important;
      }
    }

    in the lightbox then all images will be present.

    in reply to: Gaps in gallery of thumbnail images #1344877

    first – even if the other browsers are doing it well – i would use the flex modell here for all browsers – and for the responsive case – set the items
    f.e.:

    #top #wrap_all .avia-gallery .avia-gallery-thumb {
    	display: flex;
    	flex-direction: row;
    	flex-wrap: wrap;
    }
    
    #top #wrap_all .avia-gallery .avia-gallery-thumb a {
      width: unset !important
    }
    
    @media only screen and (min-width: 990px) {
      #top #wrap_all .avia-gallery .avia-gallery-thumb a {
        flex: 0 1 16%
      }
    }
    
    @media only screen and (min-width: 768px) and (max-width: 989px)  {
      #top #wrap_all .avia-gallery .avia-gallery-thumb a {
        flex: 0 1 25%
      }
    }
    
    @media only screen and (max-width: 767px) {
      #top #wrap_all .avia-gallery .avia-gallery-thumb a {
        flex: 0 1 33%
      }
    }
    
    @media only screen and (max-width: 479px) {
      #top #wrap_all .avia-gallery .avia-gallery-thumb a {
        flex: 0 1 49%
      }
    }
    
    @media only screen and (max-width: 339px) {
      #top #wrap_all .avia-gallery .avia-gallery-thumb a {
        flex: 1 1 100%  /*** here the images can grow to 100% ( first 1 indicates the item-grow ) ***/
      }
    }
    

    if you got a height on 150px for the header height – and you like to have the logo on a height of 200px the percentual growth is at aprox. 133%

    So try :

    #top.page-id-15 .logo, 
    #top.page-id-15 .logo a {
      overflow: visible;
    }
    
    #top.page-id-15 .logo img {
      height: 133%;
      max-height: 200px !important;
    }

    if your page-id-15 is the home page you can replace #top.page-id-15 with #top.home

    The overflow will ensure that the logo is over the content.
    This method will work even with shrinking header – see f.e.: here: https://pirol-hifi.de/

    next question to the mods/devs on WordPress wp-includes – general-template.php ( near lines 2690 )
    is that the normal setting:

    function get_post_time( $format = 'U', $gmt = false, $post = null, $translate = false ) {
    	$post = get_post( $post );

    translate is set here to false.

    Did you check the settings – General and Date Format:

    Edit : No that should not influence the language shown on your blog.

    in reply to: Standard Setting for Video Element #1344649

    The snippet from Ismael’s link placed in your child-theme functions.php ensures that only the child theme is loaded exclusively.
    if you only have changes in the php – it is not necessary to have css and js child-theme files.
    If you edit them too – you can change the loading in the child-theme php file . f.e. in video.php at lines 43ff:

    function extra_assets()
    {
    	//load css
    	wp_enqueue_style( 'avia-module-video', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/video/video.css', array( 'avia-layout' ), false );
    
    	wp_enqueue_script( 'avia-module-slideshow-video', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/slideshow/slideshow-video.js', array( 'avia-shortcodes' ), false, true );
    	wp_enqueue_script( 'avia-module-video', AviaBuilder::$path['pluginUrlRoot'] . 'avia-shortcodes/video/video.js', array( 'avia-shortcodes' ), false, true );
    }

    f.e. by replacing the load css file via:

    //load css
    wp_enqueue_style( 'avia-module-video', get_stylesheet_directory_uri().'/shortcodes/menu.css', array( 'avia-layout' ), false );

    and then you will upload that edited css file to the shortcodes folder aswell.

    in reply to: Easy Slider no longer supports Youtube videos? #1344514

    what is the link of your youtube video?

    By the way – concerning to the youtube plugin ( all other topics concerning to this are closed)

    this might be a solution to your site – but it is more or less a

    /*** the mobile devices solution ***/
    .responsive.avia_mobile #top #wrap_all .avia-section.av-parallax-section .av-parallax {
      height: 57vw !important;
    }
    .responsive.avia_mobile #top #wrap_all .avia-section.av-parallax-section .container {
      height: 56.25vw !important;
    }
    
    /*** a desktop browser approach ***/
    @media only screen and (max-width:1700px) {
      .responsive:not(.avia_mobile) #top #wrap_all .avia-section.av-parallax-section .av-parallax {
        height: 100vh!important;
      }
      .responsive:not(.avia_mobile) #top #wrap_all .avia-section.av-parallax-section:first-of-type .av-parallax {
        top: calc(-70vh + 88px) !important
      }
      .responsive:not(.avia_mobile) #top #wrap_all .avia-section.av-parallax-section .av-parallax {
        top: -55vh !important
      }
      .responsive:not(.avia_mobile) #top #wrap_all .avia-section.av-parallax-section .av-parallax .av-parallax-inner {
        background-position: 50% 50% !important;
      }
      .responsive:not(.avia_mobile) #top #wrap_all .avia-section.av-parallax-section .container {
        height: 56.25vw !important;
      }
    }

    Now see here two example pages:
    https://webers-testseite.de/goodwave/
    https://webers-testseite.de/goodwave2/

    the first is with the height setting of css code above and parallax background-images – ( you see a lot of parallax means bad performant page )
    ( a little trick avoids a white stripe under each hmiparallax section – the background-color of it is equal to the following section ! )

    the second example page is with background-image set to scroll ( yes it is scroll ) and with a pseudo-container before that has inherits the same background-image – and that pseudo-container get position fixed !!
    That is because background-attachment : fixed has problems not only on mobile advices but also on Safari Browsers on desktop.
    to have more of the images on small screens – i set those sections to:

    @media only screen and (max-width:767px) {
      .avia-section.hmiparallax .container {
        height: 100vw !important;
      }
    }

    First thing to mention.
    an ID had to be unique – you got multiple ID’s : hmiparrallax
    if you like to select those sections as a group – give them the class: hmiparallax ( parallel ;) ) one r

    then to see your image ( and they are all 16:9 images ) in contain !
    i would give the color-section via that class a height of: 56.25vw (9/16*100)

    .avia-section.hmiparallax .container {
      height: 56.25vw !important;
    }

    your 900px is too big for small screens – a lot of white space will result.

    the rest will come – when you have changed that.

    is there a link to an example page?

    on your css i can see just under a comment : /* diapositivas */
    the rule:

    ul.avia-slideshow-inner {
      width: 1030px!important;
    }

    thats the rule that hampers full dimension

    in reply to: burger menu screen break size #1344094

    this is pure css code – so the place to be inserted is your quick css field in enfold options – general styling.

    in reply to: How to custom sort & display YouTube videos daily #1344050

    but i think if you show the gallery – you see that there is on top the last added video and beneath the thumbnails of the older videolinks in that playlist.
    All these thumbs are in a unique container ( class: epyt-gallery-list ) if you set this to display none – you will have on top the newest video link.

    in reply to: Thumbnail size LATEST NEWS widget #1343884

    you’re welcome. You even went the way of your own image format. It’s great that it worked out that way.

    on my desktop – just unzipping the file and looked into that concerning folder. Inspecting this folder.

    and even if you think you are paranoid – it doesn’t mean that I am not really behind you ;)

    I have only looked through the contents of the folders in Enfold 4.9. There you can see the files. Since the older versions only have 3 files, it was obvious to browse through them to see if there were any differences.

    can you post your complete shortcode for that page.
    and pleas if- use the code tag here to post

    hm – the min-height is calculated in icongrid.js – but it has never run into conflict on my enfold pages.
    and if you look at the rendering of the page, the correct height seems to be calculated at first, but then it is converted to the wrong output.

    can you tell me – where the min-height expression comes from?
    .avia-icongrid-flipbox li article – there is an inline style of 19.8px – if i set the default value (200px) to important it looks this way:

Viewing 30 posts - 3,841 through 3,870 (of 11,986 total)