Forum Replies Created

Viewing 30 posts - 3,391 through 3,420 (of 11,531 total)
  • Author
    Posts
  • 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:

    are you familiar with the enfold debug mode?
    Then please post the whole enfold shortcode of that page here – and i will import it on a test environment of mine.
    Then i can better inspect – if that error is reproducable.

    Next – one big different is that we have now on
    enfold/config-templatebuilder/avia-shortcodes/icongrid/
    4 files with one icongrid_old.css and one icongrid.css – and the difference is immense between those files.
    there must be the reason for your troubles.

    PS:
    i’m participant as you – so i do not see private Content area that you posted – including logins etc.

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

    These are requirements that can be better realised by special plug-ins.
    I use on that https://wordpress.org/plugins/youtube-embed-plus/
    you can see here a page of a friend – where i set up with enfold a “youtube-channel” page: Link
    The Free Version of this plugin is mighty enough to fullfill a lot of your requests.

    i do not understand the 3rd image.
    if you like to add a new portfolio ( yes – even this is a custom post type ) you go and create a new portfolio.
    Why don’t you create new post with new “hunde” ?
    in this list there must be the new cpt’s – aren’t there?

    or is image3 made this way? ( you erased the whole permalink )

    why don’t you layout it you want on ( image3 ) and save the whole page as template.

    you then can create a new “hunde” page – click on template and then on “hunde-Template” to insert the whole layout.

    Big Advantage is that you can save these templates via Enfold (Child) – Import/Export : “Export Layout Builder Templates”

    can i use png

    https://kriesi.at/support/topic/ho-to-add-my-own-icon-instead-of-the-entypo-fontello-icons/#post-1343446

    Without more details, or links to the page to which the problem refers, I can expect you to be able to transfer enough to adapt it to your specific case.
    I think that the descriptions are precise enough; if they are read.

    The one thing you had to know is that enfolds nomenklatur for those social links is always:
    av-social-link-xyz
    the xyz is the name of the social media and that will be at your list point as class – e.g: av-social-link-twitter; av-social-link-facebook; av-social-link-linkedin … etc.

    in reply to: Empty .mo translation file #1343625

    But you edit the po files ( not mo ) – after editing the po file with e.g. poedit this creates the po and mo files. Both files had to be uploaded.

    btw: you can have your own child-theme lang folder and to have this active you can use in your child-theme functions.php:

    function overwrite_language_file_child_theme() {
        $lang = get_stylesheet_directory().'/lang';
        return $lang;
    }
    add_filter('ava_theme_textdomain_path', 'overwrite_language_file_child_theme');

    see : docu

Viewing 30 posts - 3,391 through 3,420 (of 11,531 total)