Viewing 30 results - 1,861 through 1,890 (of 141,827 total)
  • Author
    Search Results
  • #1472102

    Hi,

    Thank you for the info.

    The issue occurred because of this css rule:

    #top .avia-layerslider .ls-wp-container .ls-slide-backgrounds * {
        max-width: 100%;
    }

    We removed it from the Quick CSS field.

    Best regards,
    Ismael

    Hi,

    Yes, you can use the avf_responsive_media_sizes filter to adjust the breakpoints, but keep in mind that it will be applied globally and may affect various styling options across the site.

    function avf_responsive_media_sizes_mod( $sizes ) {
        $sizes = array(
            'av-desktop' => array( 1024, 0 ),  // Desktop view: Min width 1024px
            'av-medium'  => array( 769, 1023 ), // Medium view: 769px to 1023px
            'av-small'   => array( 481, 768 ),  // Small view: 481px to 768px
            'av-mini'    => array( 0, 480 )     // Mini view: 0px to 480px
        );
    
        return $sizes;
    }
    add_filter( 'avf_responsive_media_sizes', 'avf_responsive_media_sizes_mod' );
    

    Best regards,
    Ismael

    Hi,

    Thank you for the inquiry.

    The caption titles look white when we checked. To center-align the container, please add this css code:

    .avia-slideshow.av-desktop-hide.av-medium-hide .avia-caption {
        bottom: 31%;
        left: 50%;
        transform: translateX(-50%);
    }

    Best regards,
    Ismael

    #1472089

    Hi Mike,
    Yes, I know that the Sticky Header feature is only for desktop. I have not tried disabling my plugins and code snippets since that could be a lot of work. I do have the admin login, just in case.
    Thanks a lot,
    Ramon

    #1472082

    Hi,
    The Sticky Header feature is not meant to work on mobile devices, for desktop it is working, perhaps you have added a plugin or code snippet that is a conflict.
    Try did you try disabling your plugins and code snippets?
    Also note that if you set this in the theme settings, each page also has this option that can be overridden, so check the page that you are having trouble with.
    Otherwise we will need a admin login to the page to check.

    Best regards,
    Mike

    @mike, ah! I guess i added that piece of code in the child theme from way before when it wasn’t possible to change the H-tag yet. Thanks for disabling it.

    Two challenges/issues:

    1. A new problem that occurs is that I set the H3 tag font colour and size in the Enfold Child panel under advanced. I notice that this is overrulling CSS and even settings that I make manually in the advanced layout builder. (in this case I set the image with the tilte ‘rug’ to white text PLUS i added CSS which should set the color to white and to the desired font weight.
    is there a way to overrule the adjustments I’ve made under the advanced panel with CSS? (this was more relevant to this: https://kriesi.at/support/topic/change-caption-of-image-to-h3/)
    It’s not really desired from my perspective that I change the setting of all H3 captions manually / via other CSS

    2. Basically, what I want to achieve, is to get display the same content I have placed in columns (‘rug’, ‘schouders’, ‘elleboog’) into a slider. perhaps there is another way to achieve this, rather than putting the same content into a easy slider and hide/diplay elements on mobile vs desktop. I want to do this throughout the site, for example you see https://fysiobreda.thedigitalmanager.nl/behandelingen/dry-needling/ , then I want to but all those ‘body parts’ into a slider as well.

    #1472060

    Hi

    As per the earlier reply from Rikard, the below code seemed to work fine for waht I required.

    #menu-item-1510 {
    position: absolute;
    right: -234px;
    top: 33px;
    }

    However, I have had a comment back that the button is cut off when viewing on certain devices/screen sizes on Chrome (see screen capture in private).

    It display fine for me on Chrome, but let me know if anything needs tweaking in the CSS

    Thanks

    #1472047

    Hey Woutski,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    .container_wrap { border-top: none !important; }

    After applying the css, please clear your browser cache and check.
    If this doesn’t help, please link to your page so we can examine.

    Best regards,
    Mike

    #1472045
    Woutski
    Participant

    Hi All
    At the top of some pages, not in the header, I have a content section which gives a very small gray border at the bottom.
    All settings are correct. When I duplicate the content section and place it underneath the top one, the bottom border of the top one disappears and shows itself on the lower one.

    How to solve this

    Best regards,
    Woutski

    #1472041
    icarogioiosi
    Participant

    By inserting horizontal images of 1065*800 pixels, these are visible entirely on 1920*1080 or 1680*1050 desktop screens because the Content Area still has dimensions larger than the images themselves.
    The same result is obtained with vertical images 600*800.
    Reducing the screen size (for example to 1360*768), the horizontal images (1065*800) are automatically resized according to the width, so they fit on the screen even if you cannot see them in full because the new vertical size is slightly larger to the screen itself.
    However, in the case of vertical images, automatic resizing does not occur because the width of the images (600) is much smaller than the screen (1360).
    What parameter can I force or what code can I use to get vertical photos scaled by height instead of width, if that size is higher than the monitor size?

    #1472038

    Hey Tilman,

    Please check if you have selected to show the Excerpt field under Screen Options in the top right hand corner of the screen while editing a post.

    Best regards,
    Rikard

    #1472036

    the benefit of placing the code to my example page is – you can copy the code with one click: if you hover the css code field – there is on top right a copy button

    #1472033

    Hey chiller3,
    Thank you for your patience, when you use this solution you need to add custom links to each image link on your homepage, currently all point to https://wach.design/guteraeume/kollektion/ with no hash tag.
    your Hash tags need to be for the sort data-filter like:
    #accessoires_sort
    #regale_sort
    #betten_sort
    #lampen_sort
    #sessel_sort
    #sofas_sort
    #stuehle_sort
    #teppiche_sort
    #tische_sort
    I tested and it works.

    Best regards,
    Mike

    #1472028

    Hi,
    If you don’t have WordPress ▸ Appearance ▸ Theme File Editor enabled on your site then use FTP
    If you are not using a child theme you could use the WP Code plugin then add a new snippet, in the top right corner use the PHP snippet as the code type:
    use wpcode php snippet and activate
    and ensure that it is activated, then add the above code and save.

    Best regards,
    Mike

    Hi,
    On mobile, I see that you are using the “easy slider” to change the H tag, click on the element and go to each slide, under the advanced tab change the heading tag:
    Screen Shot 2024 11 23 at 11.56.21 AM
    you had this code in your child theme function.php causing a conflict:
    Screen Shot 2024 11 23 at 12.00.52 PM
    I disabled it for you.
    Change the font size under the styling tab:
    Screen Shot 2024 11 23 at 12.04.45 PM
    to center add this css:

    .avia-slideshow.av-desktop-hide.av-medium-hide .avia-caption {
        bottom: 30%;
        left: 30%;
    }

    Best regards,
    Mike

    #1472025

    Topic: Lighthouse CSP errors

    in forum Enfold
    zimbo
    Participant

    Lighthouse was downgrading my Best Practices report on this website with an “Ensure CSP is effective against XSS attacks” error. This is Google’s reference page: https://developer.chrome.com/docs/lighthouse/best-practices/csp-xss/

    I found this thread and implemented Guenni007’s solution as he posted it.

    Whilst my Best Practices score is now 100 Lighthouse is still generating the same main error as above but now with these specific details:

    script-src directive is missing. This can allow the execution of unsafe scripts.
    Missing object-src allows the injection of plugins that execute unsafe scripts. Consider setting object-src to 'none' if you can.

    (Quite how I get a score of 100 when there are still errors seems a bit bizarre to me, whatever…)

    I have no idea how to alter .htaccess to fix this: please can you make a suggestion?

    #1472019

    Hey Ad-Min747,
    Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    add_action('admin_bar_menu', function ($wp_admin_bar) {
        if (!current_user_can('administrator')) {
            $wp_admin_bar->remove_node('avia');
        }
    }, 999);
    function hide_enfold_theme_options_menu() {
        if (!current_user_can('administrator')) {
            echo "<style>#toplevel_page_avia { display: none; }</style>";
        }
    }
    add_action('admin_head', 'hide_enfold_theme_options_menu');
    

    Best regards,
    Mike

    #1472017

    Hi,
    Thank you for your patience, when I check your /design-portfolio/ page with webpagetest.org as a desktop it loaded around 4s
    as mobile, it loaded around 8s, I found that your WP-Optimize plugin created separate files for mobile:
    Screen Shot 2024 11 23 at 10.15.46 AM
    when I disable this it then loaded around 6s for mobile.
    webpagetest.org uses 4g for mobile and page speed uses 3g, in both cases the mobile tests are throttled down and a real world device may use a 5g connection.
    Your bluehost plugin is also caching, so you have the theme cache, WP-Optimize cache, and bluehost cache.
    You could test the different settings in each, but in my experience, 4s for desktop and 6s for mobile is fair.

    Best regards,
    Mike

    Hi,
    Try adding your “Home” menu link and add this custom class:

    av-desktop-hide

    Screen Shot 2024 11 23 at 9.46.48 AM

    Best regards,
    Mike

    #1472015

    Hi,
    I’m not able to login as admin, so it is hard to tell what css might be causing a conflict.
    But it looks like adding this css helps:

    
    @media only screen and (max-width: 1650px) {
    .responsive #top .cart_dropdown {
    z-index: 600;
    }
    }
    

    when clicking on the far left of the cart button
    Screen Shot 2024 11 23 at 9.24.29 AM

    Best regards,
    Mike

    #1472014

    In reply to: text below logo

    Hi,
    Thanks for your advice Guenni007
    iveyeng I don’t have an iphone, but I checked on a Mac in safari and found that after I cleared your WP Rocket plugin and cleared the Safari plugin the css is working.
    Please note that testing with iPads & iPhones can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.
    I also noted the safari needed a different value, 177px instead of 190px for Android, so I adjusted the css to this:

    @media only screen and (max-width: 767px) {
        .responsive.avia-safari #top #wrap_all #header {
            height: 177px !important; 
        }
    }
    @media only screen and (max-width: 767px) {
        .responsive #top #wrap_all #header {
            height: 190px; 
        }
    }

    This is the Safari mobile view:
    Screen Shot 2024 11 23 at 9.00.57 AM
    If you still don’t see this try disabling your WP rocket plugin until to finish building your site.

    Best regards,
    Mike

    #1471998

    Hey Vera,

    I can’t see any problem on my end, I see the same font on desktop as I do on phone emulation and on an actual Android device. How can we reproduce the results that you are seeing on your end?

    Best regards,
    Rikard

    #1471981

    In reply to: text below logo

    Hello,
    I can see the changes when using Chrome dev tools mobile emulator on desktop. But on my phone (iPhone 14 Pro) after clearing browser cache, it still does not take effect. I tried it in Safari and Chrome. I’m wondering if I should try deleting and reinstalling the apps? I’ll try checking on someone else’s mobile device or a tablet. Thanks for your help.

    #1471973
    oberton
    Participant

    When saving a modified page in side builder, it returns the unchanged page.

    [22-Nov-2024 19:01:58 UTC] PHP Fatal error: Uncaught Error: Attempt to assign property “ID” on null in /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/events_upcoming.php:398
    Stack trace:
    #0 /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1329): avia_sc_upcoming_events->shortcode_handler()
    #1 /homepages/xx/xxxx/htdocs/wp-includes/shortcodes.php(434): aviaShortcodeTemplate->shortcode_handler_prepare()
    #2 [internal function]: do_shortcode_tag()
    #3 /homepages/xx/xxxx/htdocs/wp-includes/shortcodes.php(273): preg_replace_callback()
    #4 /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-helper.php(559): do_shortcode()
    #5 /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/section/section.php(1547): ShortcodeHelper::avia_remove_autop()
    #6 /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-template.php(1329): avia_sc_section->shortcode_handler()
    #7 /homepages/xx/xxxx/htdocs/wp-includes/shortcodes.php(434): aviaShortcodeTemplate->shortcode_handler_prepare()
    #8 [internal function]: do_shortcode_tag()
    #9 /homepages/xx/xxxx/htdocs/wp-includes/shortcodes.php(273): preg_replace_callback()
    #10 /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-template-builder.php(3195): do_shortcode()
    #11 /homepages/xx/xxxx/htdocs/wp-includes/class-wp-hook.php(324): AviaBuilder->text_to_preview()
    #12 /homepages/xx/xxxx/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #13 /homepages/xx/xxxx/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #14 /homepages/xx/xxxx/htdocs/wp-admin/admin-ajax.php(192): do_action()
    #15 {main}
    thrown in /homepages/xx/xxxx/htdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/events_upcoming/events_upcoming.php on line 398

    #1471971

    Hi Rikard,
    I’m not able to provide you login info for the live website, but can for our staging copy of the website.

    I created a version of the page there and added the links across the top that would jump down to the accordion for the letters in the alphabet. Since it was the “S” header and accordion that was having the issue, I just added those to this page and nor all the other accordions. I’m seeing the same issue here. I have no idea why we would just see this happen for “S”, but at least the issue is consistent.

    Below is the info you would need for the staging website.

    Thanks!

    #1471956

    Hi,
    Try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:

    @media only screen and (max-width: 767px) { 
     .responsive #top #wrap_all .flex_column {
            margin-bottom: 0px;
     }
    }

    After applying the css, please clear your browser cache and check.

    Best regards,
    Mike

    @mike it looks really nice. the only struggle is adding homepage to the mobile menu. in the desktop menu there is the logo that acts as the homepage ‘button’. so when I simply add ‘homepage’ to the menu it is also visibile on the desktop menu, which i dont want. is there an easy way of solving this?

    #1471944

    In reply to: Enfold Update

    Hey Marcel,

    I see that you are running an old version of the theme, could you try to update to the latest version (6.0.6) to see if that helps please? The update to 6.0.6 has to be done manually from the version you are running, please refer to my replies in this thread: https://kriesi.at/support/topic/enfold-4-5-theme-update-update-failed-download-failed-a-valid-url-was-not-pro/#post-1021541
    You can either update manually via FTP: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#theme-update, or upload the theme as if it was new under Appearance->Themes->Add New Theme.
    If that doesn’t work then please try to delete the whole theme folder, then replace it with the new version. Make sure that you have backups of the site before starting updating.
    Also please read this after you have updated: https://kriesi.at/documentation/enfold/theme-registration/

    Best regards,
    Rikard

    Der Dev / Mods : I read about this filter in the link at Typography : avf_el_styling_responsive_font_size_skip

    so i can skip the responsive settings for some ALB Elements : like headings:

    
    function custom_responsive_font_size_skip( $skip, array $atts, \aviaShortcodeTemplate $sc_context, $font_id, $selector_container ){
    	if( $sc_context instanceof avia_sc_heading ){
    		return true;
    	}
    	return $skip;
    }
    add_filter( 'avf_el_styling_responsive_font_size_skip', 'custom_responsive_font_size_skip', 10, 5 );

    looking which elements do have this i read about another filter : avf_responsive_media_sizes
    is it possible to redefine those settings?

    apply_filters( 'avf_responsive_media_sizes', array(
    		'av-desktop'		=> array( 990, 0 ),
    		'av-medium'		=> array( 768, 989 ),
    		'av-small'		=> array( 480, 767 ),
    		'av-mini'		=> array( 0, 479 )
    ) );

    Wegen etwas höherer Browser Kompatibilität (so war es jedenfalls mal bei Safari und clamp) nutze ich für fluide font-size Definitionen die min/max Methode.
    Siehe Link in Enfold Typography Sektion: https://spencermortensen.com/articles/typographic-scale/ wählte ich die musikalische Skala – und zwar einmal mit Faktor 2 und dann 3 ergeben sich folgende font-size Größen:
    40-60, 36-50, 32-42, 28-34, 25-29, 22-24
    was zu folgenden fluid Werten führt (ausgehend von einem viewport von 320px bis 1500px (Fluid-Font Calculator)
    ____
    Due to slightly higher browser compatibility, I use the min/max method for fluid font-size definitions.
    See link in Enfold Typography section: https://spencermortensen.com/articles/typographic-scale/ I chose the musical scale – once with factor 2 and then 3 the following font-size sizes result:
    40-60, 36-50, 32-42, 28-34, 25-29, 22-24
    which leads to the following fluid values (based on a viewport of 320px to 1500px (Fluid-Font Calculator)

    da Enfold selbst mit CSS Variablen arbeitet:
    as Enfold itself works with CSS variables:

    :root {
      --enfold-font-size-theme-content: 13px;
      --enfold-font-size-theme-h1: 34px;
      --enfold-font-size-theme-h2: 28px;
      --enfold-font-size-theme-h3: 20px;
      --enfold-font-size-theme-h4: 18px;
      --enfold-font-size-theme-h5: 16px;
      --enfold-font-size-theme-h6: 14px;
    }

    könnte man die mittels Filter überschreiben:
    you could overwrite them using a filter:

    function my_avf_dynamic_css_after_vars( $output = '' ){
      $output .= "\n";
      $output .= ":root {\n";
      $output .=    "--enfold-font-size-theme-h1: min(max(40px, calc(2.5rem + (60 - 40) * ((100vw - 320px) / (1500 - 320)))), 60px);\n";
      $output .=    "--enfold-font-size-theme-h2: min(max(36px, calc(2.25rem + (50 - 36) * ((100vw - 320px) / (1500 - 320)))), 50px);\n";
      $output .=    "--enfold-font-size-theme-h3: min(max(32px, calc(2rem + (42 - 32) * ((100vw - 320px) / (1500 - 320)))), 42px);\n";
      $output .=    "--enfold-font-size-theme-h4: min(max(28px, calc(1.75rem + (34 - 28) * ((100vw - 320px) / (1500 - 320)))), 34px);\n";
      $output .=    "--enfold-font-size-theme-h5: min(max(25px, calc(1.5625rem + (29 - 25) * ((100vw - 320px) / (1500 - 320)))), 29px);\n";
      $output .=    "--enfold-font-size-theme-h6: min(max(22px, calc(1.375rem + (24 - 22) * ((100vw - 320px) / (1500 - 320)))), 24px);\n";
      $output .=    "--enfold-font-size-theme-content: min(max(16px, calc(1rem + (20 - 16) * ((100vw - 320px) / (1500 - 320)))), 20px);\n";  // p-tags  
      $output .= "}\n";
    
      return $output;
    }
    add_filter( 'avf_dynamic_css_after_vars', 'my_avf_dynamic_css_after_vars', 10, 1 );

    ich behielt mal die long-hand Version der min-max schreibweise – so wird deutlich wie die font-sizes berechnet werden.
    I kept the long-hand version of the min-max notation – this makes it clear how the font sizes are calculated.

    um es dann global durchzusetzen dies in die quick css:
    to then globally enforce this here in the quick css:

    
    body {font-size: var(--enfold-font-size-theme-content);}
    #top h1 {font-size: var(--enfold-font-size-theme-h1);  }
    #top h2 {font-size: var(--enfold-font-size-theme-h2); }
    #top h3 {font-size: var(--enfold-font-size-theme-h3);  }
    #top h4 {font-size: var(--enfold-font-size-theme-h4); }
    #top h5 {font-size: var(--enfold-font-size-theme-h5);  }
    #top h6 {font-size: var(--enfold-font-size-theme-h6);  }
    

    btw: on Layout Builder – Typography Input Fields – you can activate that switch to have:
    “Activate to replace predefined selectboxes with font sizes with text fields to use custom units. Only recommended for experienced users who know, what they are doing. This is in active beta (since 5.0.1).”
    – you then can insert those fluid values to that input field. e.g. for extremly big h1 headings (80-120px) etc.

Viewing 30 results - 1,861 through 1,890 (of 141,827 total)