Forum Replies Created

Viewing 30 posts - 11,341 through 11,370 (of 34,910 total)
  • Author
    Posts
  • in reply to: Different header mobile #1357146

    Hi,
    Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    @media only screen and (max-width: 989px) { 
    	#top #header.header_color .header_bg {
        background: #ffffff url(/staging/wp-content/uploads/2022/07/Calcott-Construction-Header-Mobile.png) top left no-repeat scroll;
        background-size: contain;
    }
    }

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

    Best regards,
    Mike

    in reply to: broken fonts #1357145

    Hi,
    Opps, my mistake it’s Enfold Theme Options ▸ General Styling ▸ Heading Font

    Best regards,
    Mike

    Hi,
    Ok, but can your team try again, in the past I have seen situations where a long-standing plugin started a conflict, it’s worth a try.
    I have checked three different test environments that I have access to with the latest theme versions and the CSS & JS merging is working on them, and a handful of other sites that I have worked on this weekend with v5.0.1 and merging enabled, plus I haven’t seen any other threads about this, so it doesn’t look like a widespread error, and my guess is that it is specific to your site/server.
    But I have asked the rest of the team to also check, but since it’s Sunday afternoon I don’t expect a reply right away, we are all remote in different parts of the world.

    Best regards,
    Mike

    Hi,
    I’m not seeing it when I check, please clear your browser cache and check.
    Please note that testing with 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.

    Best regards,
    Mike

    in reply to: Sidebar on post page #1357139

    Hi,
    Thank you for the screenshot about your sidebar for your /blog/ page, but I do see a sidebar there, unfortunately I can not login because the password is not correct please check.
    Is the problem with the sidebar because it is too small in width?

    Best regards,
    Mike

    in reply to: Import Demo didn't work! #1357137

    Hi,
    Thanks for the login, I found that your server doesn’t have PHP ZipArchive Extension enabled:
    2022-07-03_005.jpg
    But I was able to manually import the demo and the theme settings from my demo site, your site now looks like the demo, please check.

    Best regards,
    Mike

    in reply to: Transparent Header not working on Mobile device #1357135

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    Hi,
    Glad to hear that the Mailchimp sidebar widget is sorted out, but unfortunately CSS & JS merging doesn’t seem to be occurring, I’m not sure what could be causing this so I have asked the rest of the team if they have any ideas.
    In the meanwhile, I don’t see any reference to you trying to disable all of your plugins and check if that resolves, if you have not tried this yet please do so that we have ruled out this possibility.
    If this does correct the CSS & JS merging, please enable the plugins one at a time a check until the error occurs again.
    Thank you for your patience.

    Best regards,
    Mike

    Hey Reut Rachel,
    Please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    @media only screen and (max-width: 989px) { 
    .responsive.html_mobile_menu_tablet.html_header_top #top.page-id-28 #main,
    .responsive.html_mobile_menu_tablet.html_header_top #top.home #main {
    	padding-top: 0px !important;
    }
    }

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

    Best regards,
    Mike

    Hi,
    When I check the Mailchimp sidebar widget is showing for me with no errors, please see the screenshot in the Private Content area.

    Best regards,
    Mike

    in reply to: Line break for tab section titles #1357129

    Hey peterolle,
    Thanks for your question, try adding *br* as a substitute for <br> in the tab title field:
    2022-07-03_001.jpg
    then add this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function tab_title_br_substitute() { ?>
      <script>
    var elements = new Array();
    var elements = document.getElementsByClassName('av-inner-tab-title');
    for (var e = 0; e < elements.length; e++) {
        var newHTML = elements[e].innerHTML;
        newHTML = newHTML.replace('*br*','<br>');
        elements[e].innerHTML = newHTML;
    };
    </script>
      <?php
    }
    add_action('wp_footer', 'tab_title_br_substitute');

    this will create the link break on the frontend.
    2022-07-03_002.jpg

    Best regards,
    Mike

    in reply to: Nofollow to buttons and images #1357126

    Hi,
    Thanks for your question, but we don’t have a built-in way to do this but you can try adding this javascript to the end of your child theme functions.php file in Appearance ▸ Editor:

    function add_nofollow_to_external_links() { ?>
      <script>
    function myFunction() {
    var x = document.getElementsByTagName("a");
    var i;
    for (i = 0; i < x.length; i++) {
    if (location.hostname!=x[i].hostname){
    x[i].rel = "nofollow";
    x[i].target = "_blank";
    x[i].title = "Click to open in new window";
    }}}
    mft=setTimeout("myFunction()",0);
    function LoadEvent(func){
    var oldonload = window.onload;
    if (typeof window.onload != 'function'){
    window.onload = func;
    }
    else{
    window.onload = function()
    {
    if(oldonload)
    {oldonload();}
    func();}}}
    LoadEvent(function(){
    myFunction();
    });
    </script>
      <?php
    }
    add_action('wp_footer', 'add_nofollow_to_external_links');
    

    In my test this works with buttons, images and text links
    Source: How To Make All External Links No-follow Using JavaScript

    Best regards,
    Mike

    in reply to: Transparent Header not working on Mobile device #1357122

    Hi,
    For the scrolling stutter on mobile, please try this code in the General Styling ▸ Quick CSS field or in the WordPress ▸ Customize ▸ Additional CSS field:

    @media only screen and (max-width:767px) {
     #top #wrap_all .av_mobile_menu_phone {
      position:absolute!important
     }
    }

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

    Best regards,
    Mike

    in reply to: my last request did not work #1357119

    Hi,
    Very good, we will look at your other thread.

    Best regards,
    Mike

    in reply to: my last request did not work #1357105

    Hey schweg33,
    Do you mean this one: https://kriesi.at/support/topic/include-javascript-in-the-head/
    I reopened it for you, if your site is not loading because of an error in your functions.php then use FTP or your web host file manager to remove the code from your functions.php

    Best regards,
    Mike

    Hi,
    Thanks for the login, I found that you had a PHP function in your Quick CSS:
    2022-07-02_017.jpg

    add_filter('avf_magazine_excerpt_length','avf_magazine_excerpt_new_lenght', 10, 1);
    function avf_magazine_excerpt_new_lenght($excerpt) {
    $excerpt = 100;
    return $excerpt;
    }

    I removed this but merging still doesn’t seem to be working, is this site using object-oriented cache such as Memcached, Redis, Varnish, Litespeed, etc. if so please clear the server level cache as the function above may still be in the object cache.

    Best regards,
    Mike

    in reply to: broken fonts #1357095

    Hi,
    Thank you for the link to your site, if you notice in your screenshot the editor font is different than the preview font, the preview shows what it should look like on your site, while the font in the editor is loaded by the WordPress TinyMCE editor, it is not ment to be a visual depiction of the front end:
    2022-07-02_014.jpg
    If you want to use the font “Georgia” for all of your H2 headings you can choose this in the Enfold Theme Options ▸ General Layout ▸ Heading Font
    2022-07-02_015.jpg
    or if you only want it in your H2 headings choose it in Enfold Theme Options ▸ Advanced Styling ▸ H2
    2022-07-02_016.jpg
    After applying the change, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Email from form change information position #1357092

    Hey delmonte,
    Thanks for your question but unfortunately you will need to change the order of your form to do this.

    Best regards,
    Mike

    in reply to: Unfix iframe aspect ratio #1357091

    Hey blaircomm1,
    Try targeting the mfp-iframe-scaler like this:

    .mfp-iframe-scaler {
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh !important;
        max-height: 100vh !important;
    }
    .mfp-iframe-holder .mfp-content {
        max-width: 90vw!important
    }
    

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

    Best regards,
    Mike

    Hi,
    Thank you for your patience and the link to the GitHub project, I first noticed that the project has an option to define a button on line 72 by adding the attribute to the shortcode like this:
    [mfp_post_popup post_slug_id="3460" popup_id="1" link_text="Popup Button" button="true"]
    in the project on line 105 you will see it has an image attribute image_link so it will allow an image like this:
    [mfp_post_popup post_slug_id="3460" popup_id="2" link_text="" image_link="/wp-content/uploads/2015/07/portfolio-2-2-260x185.jpg"]
    notice the link_text=”” is empty for the image, without the empty attribute the default is “Click Me”
    2022-07-02_008.jpg
    Now considering that your goal is:

    to create a portfolio page style by clicking on the image from the main page, then loading the pop-up window in which more detailed information is shown as a scrolling popup window.

    I tested this GitHub project on some portfolio items and found that full width elements break it and display some the target page below the footer on the trigger page, it works fine if the target page has no full width elements.

    If you are going to have full width elements on the target page why not just use a button or image with ?iframe=true in the link?
    2022-07-02_143424.jpg
    you could use css like this to make the lightbox larger:

    .mfp-iframe-scaler {
        width: 100% !important;
        max-width: 100% !important;
        height: 300vh !important;
        max-height: 300vh !important;
    }
    .mfp-iframe-holder .mfp-content {
        max-width: 90vw!important
    }
    

    and use the theme options to hide the footer and header on the target page:
    2022-07-02_013.jpg

    So since you want to create a grid of images that link to pages that show in a lightbox, I don’t see an advantage to using this GitHub project to create a grid of shortcodes when you could use the image elements to do it without errors.
    Another built-in option would be to use the portfolio ajax, true it’s not a lightbox but it loads the content on the same page.

    For the example page you linked to, I didn’t find any lightbox popups on it, each grid image that I clicked loaded a new page, perhaps you meant to link to a different page.

    Best regards,
    Mike

    in reply to: Picture Tag with plugin imagify #1357084

    Hey Chris_85,
    Thanks for your question, but unfortunately there would not be a reasonable solution from our end to work with this plugin’s option because it replaces the <img> tags with <picture> tags, and thus the theme’s scripts and css in the elements would need to be rewritten, not just the Horizontal Gallery element, but all of the elements that use images.
    Note that the plugin points out that this may break some themes:
    2022-07-02_004.jpg
    Try using the plugin’s first option which adds rewrite rules to your site’s configuration file instead.

    Best regards,
    Mike

    in reply to: WooCommerce Shipping Information Page Not Displaying #1357078

    Hi,
    Thank you for the link to your site, I see that you have used custom css to hide the checkout col-2, this is where the shipping information is located.
    Please disable your custom css to for the checkout and clear your cache and check again.

    Best regards,
    Mike

    Hey Garrfild,
    Thank you for your patience, please try using a Choose a preview/fallback image in the video options with the message embeded:
    2022-07-02_002.jpg
    this is the image I created for this example, feel free to download and use:
    video-cookie-message.jpg
    On my example page linked below, the video now shows this message before the cookies are allowed.
    Please note that you will need to use the Enfold Theme Options ▸ Privacy and Cookies ▸ Advanced Options ▸ Auto Reload Page so the page will reload and the video to show.
    2022-07-02_003.jpg

    Best regards,
    Mike

    in reply to: Theme Broken on Save All Changes Btn #1357021

    Hi,
    Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Theme Version 5.0 seems missing CSS in Layout Editor #1357019

    Hi,
    Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Remove current post from blog grid #1357017

    Hi,
    Glad Guenni007 could help, thank you Guenni007, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Scroll animation on Homepage does not work #1357015

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    Hi,
    You can add a Horizontal Ruler Separator shorcode in a custom HTML widget in your sidebar, here is an example:

    [av_hr class='short' icon_select='yes' icon='ue808' font='entypo-fontello' position='center' shadow='no-shadow' height='50' custom_border='av-border-thin' custom_width='50px' custom_margin_top='30px' custom_margin_bottom='30px' custom_border_color='' custom_icon_color='' id='' custom_class='' template_class='' av_uid='' sc_version='1.0' admin_preview_bg='']

    2022-07-01_002.jpg
    to reduce the padding and margin around the separator use this css in your Quick CSS:

    #main .sidebar .widget_custom_html {
    	padding: 0;
    }
    #main .sidebar .widget_custom_html .custom-html-widget .hr-short {
    	margin: 0;
    }
    

    the expected results:
    2022-07-01_003.jpg

    Best regards,
    Mike

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

    in reply to: Multiply image #1357005

    Hi,
    Guenni007 thank you for sharing, I agree that it is not practical which is unfortunate because for Chrome, Edge, Safari it was a simple and easy css solution.
    As you pointed out if the image is a direct child of the background-image container then it works good.

    For future readers that want to try this with a code block element that will work in all browsers:

    <div>
            <img src="/wp-content/uploads/2022/06/BV-Associates-Banner-Main-1.jpg">
            <img src="/wp-content/uploads/2022/06/badges.jpg" style="position: relative;top: -300px;left: 100px;mix-blend-mode: multiply;">
     </div>

    2022-07-01_001.jpg

    Best regards,
    Mike

Viewing 30 posts - 11,341 through 11,370 (of 34,910 total)