Forum Replies Created

Viewing 30 posts - 751 through 780 (of 11,589 total)
  • Author
    Posts
  • in reply to: WP 6.7 Upgrade #1471308

    maybe it is just the fact that the new WP 6.7 switches back to block editor as standard.
    Goto Enfold – Theme Options – Select your Editor : and switch back to classic Editor.

    or is the problem that you want to use the block editor – but had no enfold elements anymore?

    By the way. I can see the button at the top to activate the advanced layout editor – but the active click area is only on the half right. (as if only this part of the standard editor button area is active)
    It is that field on the left that overlaps the Enfold button.

    ______________
    not necessary:
    it starts with ALB editor even in Block Editor Mode if you got this in your child-theme functions.php:

    function trigger_alb_on_load(){
    ?>
    <script>
    (function($){
        $(window).on('load', function(){
          setTimeout(function() {
            $("#avia-builder-button").trigger('click');
          }, 300);
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('admin_head-post-new.php', 'trigger_alb_on_load');
    
    in reply to: sizing .svg on telephone #1471281

    it concerns the “how i add value” icons ?

    @media only screen and (max-width: 767px) {
      #top.page-id-289 img[src*=".svg"] {
        width: 150px;
      }
    }

    another hint:
    i wouldn’t have for each an own color-section.
    You can do that all “how i add value” in one color section. To better select the color section give a custom class to it and tell the img to have a specific width.
    ___________________

    this is a bit offtopic
    because you do not have a script that converts img svgs to inline svgs – the following does not affect you directly. But if you also work with svgs as inline svgs, you have to think about the graphic styles:

    btw: as inline svg files this would not work – because all these svg files got the same classes inside – but with different declarations!
    ( new illustrator standard class: cls-index ) so they will disturb each other

    
    
    /***** claritymatters-icons_icon-compelling-story.svg *****/
    
    .cls-1 {
      fill: none;
      stroke: #fff;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 4px;
    }
    
    .cls-2 {
      fill: #2ec4ed;
    }
    
    /***** claritymatters-content-roadmap.svg  *****/
    .cls-1 {
      fill: #fff;
    }
    
    .cls-2, .cls-3 {
      fill: none;
      stroke: #fff;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 4px;
    }
    
    .cls-4 {
      fill: #2ec4ed;
    }
    
    .cls-3 {
      stroke-dasharray: 12;
    }
    in reply to: sizing .svg on telephone #1471277

    As a participant as you i can not see private content – may we others see the page it concerns?

    in reply to: sizing .svg on telephone #1471256

    declare an absolute Value – for width f.e.: 40px and then your max-width value

    Which icons are affected? The normal entypo-fontello icons or individually uploaded icon fonts?

    in reply to: Hero Image Issue #1471164

    i can not help you due to GoDaddy:
    We Germans must be pretty naughty boys ;)

    in reply to: Unable to update Enfold or remove WPML Plugin #1471145

    First : how about your WordPress Version – does it need an update too?
    if there is a big difference – a major Update in WordPress too … make a Backup of your Installation – and maybe prepare your theme allready for that newest WP – see: Unfortunately, the theme is no longer set as sticky regarding the adaptation to newer php versions / WordPress versions. But that is not necessary and can be done afterwards
    What php Version you are running on your system – there are a few changes that need to be taken into account. Especially the changes from php7.x to php8.x and the implementation of jQuery 3.x …

    I have never had any problems with WPML updates and Enfold updates. However, I agree with you that plugins that interfere with many areas of a theme always carry update risks.
    That’s why I already have a good backup plugin installed for most sites for other reasons. Even the free version of Duplicator is a very good program.
    This program creates a complete backup in two files. A zip file with the contents, and an installation file for restoring the backup. Btw. this can also be used for migration.
    So if major updates are planned, I create a Duplicator backup beforehand and can then make the updates without losing the status quo.

    ________________

    Updating the theme – additionally you can update the theme by ftp upload : https://kriesi.at/support/topic/some-hints-and-advice-to-update-enfold/#post-1056107

    Uploading the new theme takes a little time; if all goes well, the page will only be offline for the small amount of time that it will be renamed. You have the old installation as fallback. (there is no overwriting of the old theme)

    Update via ftp.

    • download installable newest Enfold : unzip the file – you will have an enfold folder now
    • Rename that downloaded newest version to enfold-new
    • Upload that enfold-new folder to the themes folder
    • Rename your (existing) enfold folder to f.e. enfold-old / in your ftp client (f.e. filezilla)
    • Rename your enfold-new folder to enfold / again: in your ftp client (f.e. filezilla)
    • Go to dashboard – enfold(-child) – and refresh your merged/cached files on performance tab
    • Check if all your theme and existing settings work to your full satisfaction.
    • Yes – then stop here
    • No – delete or rename back the enfold folder back to enfold-new
    • rename the enfold-old folder back to enfold
    in reply to: Block third party iframe cookies #1471101

    maybe the advanced opitons ( to activate on cookie handling – show advanced options – read here: https://kriesi.at/documentation/enfold/privacy-cookies/#additional-custom-cookies

    in reply to: Accordeon opening results in jumping all the way up. #1471092

    there is a lot of inline code to handle the toggler ? why?

    For my part, I find it confusing that the open toggle moves to the top. For example, I have a plugin, pageScroll2ID, which unfortunately wanted to do the same thing. Fortunately, I was able to exclude the toggles from that behavior.

    in reply to: Textänderung Deutsch search.php #1471089

    im “lang” Ordner.

    hier in der Docu – kannst du sehen, wie man child-theme lang files hinterlegt.
    https://kriesi.at/documentation/enfold/translation/#child-theme-translations

    man kann die Kopien – hier nimmt man zunächst die po-Dateien mit poedit bearbeiten. Beim Abspeichern wird zusätzlich die mo-datei generiert ( ist denke ich standardmäßig in poedit so eingestellt ) beide Dateien müssen hochgeladen werden.

    in reply to: Textänderung Deutsch search.php #1471086

    sorry:

    function my_text_strings( $translated_text, $text, $domain ){
      switch ( $translated_text ){
        case 'Suchergebnis nicht zufriedenstellend? Versuche es mal mit einem Wort oder einer anderen Schreibweise'   :  $translated_text = __( 'Versuche es mit einem anderen Suchbegriff', $domain ); break;
      }
      return $translated_text;
    }
    add_filter('gettext', 'my_text_strings', 20, 3);
    in reply to: menu items alignment #1471084

    try instead:

    @media only screen and (min-width: 990px) {
      #top .main_menu {
        width: 100%;
      }
    
      #top div .logo {
        z-index: 101;
      }
    
      #top nav .social_bookmarks {
        float: right;
      }
    
      #top .avia-menu.av-main-nav-wrap.av_menu_icon_beside {
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
        padding: 0;
      }
    }
    
    in reply to: Textänderung Deutsch search.php #1471083

    ja – wenn du dir die Lang Files ansiehst, ist im de_DE_formal.po und im de_DE.po die gleiche Übersetzung dafür vorgesehen.
    Entweder bearbeitest du jetzt diese Langfiles und lädst Child-Theme Lang files hoch, oder du nutzt Plugins um solche Dinge verändern zu können.
    Wenn es nicht allzuhäufig vorkommt kannst du diese Übersetzung auch via snippet in der child-theme functions.php ändern:

    function my_text_strings( $translated_text, $text, $domain ){
      switch ( $translated_text ){
        case 'If you are not happy with the results below please do another search'   :  $translated_text = __( 'Hier jetzt deine neue Übersetzung hinein', $domain ); break;
      }
      return $translated_text;
    }
    add_filter('gettext', 'my_text_strings', 20, 3);
    in reply to: Textänderung Deutsch search.php #1471080

    nun es hat wie du in der search.php Stelle ja siehst im avia_framework eine Übersetzung. Wenn auch die formale Übersetzung nicht die “Sie” Form nutzt, so ist die Übersetzung auch da vorhanden.
    Daher meine Frage: hast du denn im Dashboard auch unter Settings die Site Language eingestellt. ?

    Oder wolltest du nur die Übersetzung verändern? – mal abgesehen davon ist das exakt die dort hinterlegte Übersetzung.

    in reply to: Making top socket bigger breaks site #1471063

    You have changed the minimum height of #header_meta – haven’t you? You now have to increase the padding-top for #main for non-transparent pages by this amount (difference from the default 30px to the new value).

    f.e.: depends on your hamburger break point

    @media only screen and (min-width: 990px) {
      .html_header_top.html_header_sticky #top #wrap_all #main {
        padding-top: 220px;   /*** have a look what your default value is on that + difference of new #header_meta ****/
      }
    }

    PS: just a moment i have to look how it is about for non-sticky headers.
    best is to see the page to give better advice.

    in reply to: iOS website jumps top the top of the page #1471016

    is it in all browsers or only in safari?
    Did you update ( i guess yesterday was the last IOS Update)?

    On some pages i read about an additonal css hack
    so a combination might be:

    .avia-safari.touch-device body {
      height: 100vh;
      overflow-y: scroll;
    }
    
    @supports (-webkit-touch-callout: none) {
      body {
        height: -webkit-fill-available;
        -webkit-overflow-scrolling: touch;
      }
    }

    sometimes i read about conflicts with gsap ( and i believe that advanced layer slider uses some parts of that scripts )

    by the way – where do you show the address bar of your mobile device – iOS devices can show it on top or at the bottom.
    the position on the bottom seems to be more vulnerable to this.

    in reply to: Hamberger menu trigger #1470988

    hm – isn’t it part of that css i gave to you? https://kriesi.at/support/topic/hamberger-menu-trigger/#post-1470941

    because i got three ID’s as well inside that rule – it should work without !important too.

    in reply to: Blog posts not updating automatically #1470944

    but you have refreshed that page on frontend?

    in reply to: Hamberger menu trigger #1470942

    ps – on mobile phones with less then 375px width (protrait mode) the search drop-down window has a lot of space on the right and is nearby the left side. you can shift that window.
    Add inside the media query above:

      /*** if you like to shift the search drop down window ***/
      /*** insert to the media query above that additional css ***/
    
      #top .avia-search-tooltip {
        top: 95% !important;
        margin-left: -70px !important;
      }
      #top .avia-search-tooltip .avia-arrow-wrap {
        right: 60px !important;
      }
      .avia_mobile #top #searchsubmit {
        height: 39px !important;
      }
    in reply to: Hamberger menu trigger #1470941

    did you copy&paste that code? because if it is your page ( and your nick is very informative ) than a code like:

    @media only screen and (max-width: 1023px) {
      #top #header .av-main-nav > li.menu-item  {
        display: none!important;
      }
      #top #header .av-burger-menu-main {
        cursor: pointer;
        display: block!important;
      }
      .responsive #top #header .av-main-nav #menu-item-search {
        display: block !important;
      }
      .responsive #top #header .av-main-nav #menu-item-search  > a {
        font-size: 24px;
      }
    }

    will work in dev tools. So if you realy entered the correct code – then it might be a caching issue that you can not see the changings. So refresh all caches of such tools – and refresh on Enfold on Performance Tab just at the bottom: “Delete Old CSS And JS Files?”

    1023px seems to be a good value – because on the ipad Pro 12.9 inch – (1024px) the text menu is still visible and is not above the logo.

    PS: i added the code to show the search icon aswell on burger active and with a little bigger icon.

    in reply to: Unable to update Enfold or remove WPML Plugin #1470922

    try to hamper it first by going to :
    Header – Extra Elements – Enfold WPML Language Flags (Global Setting)
    If they will be shown – then look to
    WPML – Languages – Menu language switcher

    it they still are shown try:

    function avia_remove_main_menu_flags() {
    	remove_filter( 'wp_nav_menu_items', [ avia_WPML(), 'handler_append_lang_flags' ], 9998, 2 );
    	remove_filter( 'avf_fallback_menu_items', [ avia_WPML(), 'handler_append_lang_flags' ], 9998, 2 );
    }
    add_action('init','avia_remove_main_menu_flags', 9999);
    in reply to: Unable to update Enfold or remove WPML Plugin #1470921

    to make sure that you have used the correct characters everywhere, please post the code in the code tag.

    Next: what should the code do? isn’t it possible to remove all flags by the plugin itself? WPML – Languages – Menu language switcher

    Where did you get this code snippet?

    add_filter( 'wp_nav_menu_items', [ new avia_WPML, 'handler_append_lang_flags' ], 9999, 2 );
    

    even if i write it this way :

    add_filter( 'wp_nav_menu_items', array(new avia_WPML(), 'handler_append_lang_flags') , 9999, 2 );
    

    it quits with errors.

    in reply to: How to submit and use custom fonts #1470903

    open automator application:
    Select Application

    then choose on the left side – “Files and Folders” – “Create Archive” – double click – then you have on the right side the options for it.

    Next: choose on the left side “Utilities” and then “Run Shell Script – double click (or drag and drop to right side)


    erase the pre set content and insert:

    zip -d "$@" "__MACOSX/*" || true
    zip -d "$@" "*/.DS_Store" || true

    pay attention to have it “as arguments”

    Save that on your desktop ( close it will ask yor for a name )

    now you got an icon on your desktop like:

    you drag&drop now your files/folders to it to have zip-files without those annoying hidden system files

    in reply to: How to submit and use custom fonts #1470894

    i try to create now a better automator script – just wait a few minutes! …

    based on: https://stackoverflow.com/questions/10924236/mac-zip-compress-without-macosx-folder/#answer-47880361

    https://webers-testseite.de/zip-it.zip

    Unfortunately OSX reports that the origin of the programme cannot be verified. This is due to the SIP of OSX.
    ( System Integrity Protection (SIP) in macOS ). For those who have confidence in me, you can declare the exception in the system settings – privacy and security – at the bottom of the list.

    For those who do not …
    i had to describe now how you will get that for your desktop: …

    in reply to: How to submit and use custom fonts #1470892

    and command line means using : terminal
    Btw: the __MACOSX had to be ignored too.

    can you test it:
    but if you know how to create an automator script you can have a drag&drop symbol on your desctop to zip without any hidden OSX file.
    on default it will create a zip file with same name as the object ( folder or file ) – but it will ask you to enter a filename. Let the mark on

    you can download that little program on : https://webers-testseite.de/zip-it.zip

    Can you download it – and test it – because on all docus about automator it says that this method will exclude hidden osx system files ( not the hidden files)

    in reply to: Change color of mouse over titles #1470889

    i can see that too! So must be a caching problem.

    By the way: if you do not need bigger menu-items in hamburger menu – you can make that overlay smaller ( goto Main Menu – Burger/Mobile Styliing : “Flyout Width”) try 200px

    in reply to: Sort items on color in the masonry gallery #1470884

    Edit : oh sorry did not see that your masonry is a image gallery.
    But the sorting list did not exist on image masonry galleries at all.

    _______________
    if you follow ismaels proposal then you can show the masonry element by tag.
    you then can set for each of your post/portfolio a tag (color) and sort these entries – then by tag.

    PS if you got posts and portfolios with the same tag – they will be shown side by side.

    in reply to: Masonry – Sort options as list #1470838

    maybe it will be the easiest way to not show the sub-menu on different pages ;)

    #top:not(.page-id-41084) .sort.menu-item .sub-menu {
      display: none !important;
    }
    in reply to: Masonry – Sort options as list #1470837

    see example page again
    https://webers-testseite.de/masonry-blog/
    – but did this for now only for that page. Not coming from a different page. From different page it first starts with all sorting.

    However, in my opinion, the decision to place the sorting near the masonry makes more sense than the navigation solution.

    function transfer_click_to_sort_options() { 
    ?>
    <script type="text/javascript">
    window.addEventListener("DOMContentLoaded", function () { 
    	(function($){
    		$('.sort .sub-menu a').click(function() {
    			var linkPath = $(this).attr('href');
    			var linkHash = linkPath.split('#')[1];
    			$('#top').find('.av-sort-by-term a[data-filter="'+ linkHash +'"]').trigger('click');
    		});
    	})(jQuery);
    });
    </script>
    <?php 
    }
    add_action('wp_footer', 'transfer_click_to_sort_options');

    create your main menu with individual links – link is the page with your masonry and that hash value of the sorting. (the data-filter on the sorting are built by NAME_sort and for all it is all_sort)
    to better select the first level domain i give a custom class to (Sorting) : sort

    i have no solution of coming from a different page to open the masonry directly with that sorting.

    in reply to: Contact for: Styling submit bottom #1470773

    you can do that via font-size and either padding or min-width:

    .avia_ajax_form .button {
      padding: 16px 50px;
      font-size: 1.4em;
      min-width: 200px;
    }
Viewing 30 posts - 751 through 780 (of 11,589 total)