Forum Replies Created

Viewing 30 posts - 18,061 through 18,090 (of 35,261 total)
  • Author
    Posts
  • in reply to: Knowledge Base icon not provide in the template #1191444

    Hi,
    Please see the link in the Private Content area.

    Best regards,
    Mike

    in reply to: Remove Category Pages? #1191433

    Hi,
    According to this article this function should work. Try adding this code to the end of your functions.php file in Appearance > Editor:

    /* Remove archives */
    function meks_remove_wp_archives(){
      //If we are on category or tag or date or author archive
      if( is_category() || is_tag() || is_date() || is_author() ) {
        global $wp_query;
        $wp_query->set_404(); //set to 404 not found page
      }
    }

    Best regards,
    Mike

    in reply to: Update has broken my Code #1191429

    Hey 4Guys Autobarn,
    When I check your site I see the error:

    Uncaught TypeError: Cannot read property 'insertBefore' of null at a.yepnope.injectJs modernizr.min.js

    and:

    Search engine failed to load. Refresh page or try again. Cause: Run is not defined

    I recommend ensuring that Enfold Theme Options > Performance > Load jQuery in your footer in not enabled and that no other caching or minifying plugins are loading your jQuery in the footer.
    Otherwise, it looks like a issue with your script.

    Best regards,
    Mike

    in reply to: direct link to content element tab #1191423

    Hi,
    Sorry, that won’t work, same reason as above.

    Best regards,
    Mike

    in reply to: Add a pop up Booking form #1191420

    Hi,
    I have checked your /two-night-package/ page, getting the custom class “open-popup-link” to be in the “a” of the button can be tricky because normally the button wants to add the class to the “div” of the shortcode, I added the working button code to the top of the code block so you can copy and reuse if you like. If you have multiple popups on the same page you will have to give each a different ID.
    Please check the "popup" button.

    Best regards,
    Mike

    in reply to: menu-item-xxxx > a:after and icon color #1191410

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

    #top #wrap_all .header_color.av_header_transparency #menu-item-1869 > a:after {
        content: '\e877';
        font-family: 'entypo-fontello';
        padding-left: 5px;
        padding-right: 1px;
        position: relative;
        color: #fff;
        font-size: 14px !important;
    }
    #top #wrap_all .header_color.av_header_transparency #menu-item-1869:hover > a:after {
        content: '\e877';
        font-family: 'entypo-fontello';
        padding-left: 5px;
        padding-right: 1px;
        position: relative;
        color: #50C6DB !important; 
        font-size: 14px !important;
    }
    #top #wrap_all .header_color.av_header_transparency #menu-item-4579 > a:after {
        content: '\e877';
        font-family: 'entypo-fontello';
        padding-left: 5px;
        padding-right: 1px;
        position: relative;
        color: #fff;
        font-size: 14px !important;
    }
    #top #wrap_all .header_color.av_header_transparency #menu-item-4579:hover > a:after {
        content: '\e877';
        font-family: 'entypo-fontello';
        padding-left: 5px;
        padding-right: 1px;
        position: relative;
        color: #50C6DB !important; 
        font-size: 14px !important;
    }

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

    Best regards,
    Mike

    in reply to: Gallery layout edit #1191398

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: There has been a critical error on your website. #1191334

    Hey marqattack,
    Thank for the login, what was the critical error you were getting before?
    I didn’t see any issues right now so I guess we will have to wait to see if it happens again.

    Best regards,
    Mike

    in reply to: Where do I edit the © text in my footer? #1191328

    Hi,
    Please try updating, The easiest and safest way to update is to download the newest version from Theme Forest and rename your current theme folder to “enfold-old” via ftp then upload the new “enfold” folder and check that your site is working correctly.
    Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.
    Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
    Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.

    Best regards,
    Mike

    in reply to: Problem upload theme #1191326

    Hey andreathebox,
    Please check that the file you are uploading doesn’t have another zip inside called “enfold.zip” You could be uploading the file that also includes your extras, your file should only include these:
    2020-03-08_170607.png

    Best regards,
    Mike

    Hi,
    I add the css to the WordPress > Customize > Additional CSS field, it seems to be working good, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Header Logo center, Menu below -> Scroll out only logo #1191318

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: Add a pop up Booking form #1191316

    Hi,
    Yes it should be in your functions.php
    Yes that is what goes in the code block
    I see you were using the “Block Editor” I switched you to the “Classic Editor” and now if you open a new post you will see more in the shortcode wand.

    Best regards,
    Mike

    in reply to: Sticky Menu on Mobile not sticky #1191313

    Hi,
    In the theme settings for the sticky header it is noted that the setting is “ignored on smartphones”
    Please try the css posted above by @Guenni007 for a mobile sticky header.

    Best regards,
    Mike

    in reply to: WP error in Enfold / Consultant #1191312

    Hi,
    Thank you for the login, I see that you are using Enfold v3.6.1 we are now at v4.7.3 with WordPress v5.3.2
    You will need to update via FTP The easiest and safest way to do this is to download the newest version from Theme Forest and rename your current theme folder to “enfold-old” via ftp then upload the new “enfold” folder and check that your site is working correctly.
    Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.
    Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
    Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.

    If you don’t feel comfortable doing this, please include FTP access and a link to your new theme files in the Private Content area and we could assist.

    Best regards,
    Mike

    in reply to: Main menu sublevel links #1191311

    Hi,
    Sorry for the late reply, thanks for the login, on the “at” the shooting sub-menu was all “pages” and on the “en” site shooting is a “mega menu” with columns.
    I changed the “at” site they are now the same, please clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Hide classic section one pages #1191310

    Hi,
    Thanks for the login I took a look at your settings and found that you are using v4.2 we are currently at v4.7.3
    I recommend updating, but due to how Envato changed their API for a Token system you will have to update via FTP.
    The easiest and safest way to update is to download the newest version from Theme Forest and rename your current theme folder to “enfold-old” via ftp then upload the new “enfold” folder and check that your site is working correctly.
    Should for some reason you wish to roll-back to the old version, it’s easy to do, simply rename the new “enfold” folder to “enfold-new” via ftp and then rename “enfold-old” to “enfold” then refresh your page.
    Once you are happy you can delete the “enfold-old” folder via ftp, (not the WP theme page)
    Please don’t try to overwrite the theme folder, as this will leave old files behind and cause errors.

    If you don’t feel comfortable doing this, please include FTP access in the Private Content area and we could assist.

    Best regards,
    Mike

    in reply to: menu-item-xxxx > a:after and icon color #1191308

    Hi,
    Sorry for the late reply, please link to the specific page with the icon issue, I looked through some of your pages but didn’t see it.

    Best regards,
    Mike

    in reply to: Can't Remove Footer Widgets in Enfold #1191306

    Hi,
    This sounds like one of the demo widgets, please try placing an empty widget in the field, this will prevent it from showing.

    Best regards,
    Mike

    in reply to: Open contact form on portfolio page #1191303

    Hi,
    This looks like the portfolio ajax where the contact form is added instead of the portfolio item.
    2020-03-08_135835.png
    2020-03-08_140127.png

    Best regards,
    Mike

    Hi,
    As I understand your issue the navigation bar is transparent when you scroll down, and you would prefer white, in this case find your css for #header_main_alternate.sticky0815 and add background-color: #fff; to it.
    the full css should be:

    #header_main_alternate.sticky0815 {
        position: fixed;
        top: 0px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        box-shadow: 0 5px 25px #aaa;
        transition: box-shadow 0.5s ease;
        background-color: #fff;
    }

    Best regards,
    Mike

    in reply to: Add a pop up Booking form #1191295

    Hi,
    First add this code to the end of your functions.php file in Appearance > Editor:

    function popup_inline() { ?>
    <script type="text/javascript">
    jQuery(window).load(function(){
    	jQuery('.open-popup-link').magnificPopup({
    	  type:'inline',
    	  midClick: true // Allow opening popup on middle mouse click. Always set it to true if you don't provide alternative source in href.
    	});
    });
    </script>
    <?php }
    
    add_action('wp_head', 'popup_inline');

    Next add your popup content in a code block at the bottom of your page

    <div id="test-popup" class="white-popup mfp-hide">
    <p>PLACE CONTENT HERE</p>
    </div>

    Then for your links use this format and be sure to target the correct ID’s:

    <a class="open-popup-link" href="#test-popup">Show popup</a>

    To use a button you will need the use the shortcode wand to get the shortcode for the button with the link of #test-popup and you will have to add the class open-popup-link manually in the shortcode, and then add the shortcode to a code block element were you want the button to show.
    Then add this to your Quick CSS:

    .white-popup {
    position: relative;
    background: #FFF;
    padding: 20px;
    width: auto;
    max-width: 500px;
    margin: 20px auto;
    }

    Best regards,
    Mike

    Hi,
    Please try adding the css above as it makes the caption show.

    Best regards,
    Mike

    in reply to: Add a pop up Booking form #1191284

    Hi,
    Thank you for the FTP access, when I checked your site again it was working again, so I activated your child theme and imported your theme settings and checked that it looked correct.
    Please clear your browser cache and check.

    Best regards,
    Mike

    Hi,
    1) ok, Archieve.php didn’t work, do you want to try the script I added above that removes the “PORTFOLIO ELEMENTS” ?
    2) I believe your Autoptimize or some caching is still serving the code I commented out, can we disable Autoptimize while testing?
    The titles for the image links are returning empty but I not seeing any code to do that. I have some code that gets the alt caption of the image and copies it to the link title for the same image.
    if we need it.

    Best regards,
    Mike

    in reply to: top image in woocommerce category #1191278

    Hi,
    Thank you for the login, I’m not sure why this occurs, when the filters are used the image container is removed so the image doesn’t show. I wrote this workaround that will add the image container only on an archive page with the category term “term-43” only if the image container is missing, I believe this covers all of the “if’s”
    Try adding this code to the end of your functions.php file in Appearance > Editor:

    function add_archive_thumb_for_term_earrings(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      $('#top.archive.term-43').each(function() {
      	if($('.entry-content-wrapper .page-thumb').length) { } else { 
      	$('<div class="page-thumb"><img width="845" height="276" src="https://www.alinyerushalmi.co.il/wp-content/uploads/2019/09/earrings-alin-845x276.jpg" class="category_thumb" alt=""></div>').insertAfter('.woocommerce-notices-wrapper');
      	}
    });
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_archive_thumb_for_term_earrings');

    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Add a pop up Booking form #1191274

    Hi,
    Please include FTP access in the Private Content area.

    Best regards,
    Mike

    Hi,
    Sorry I’m not sure I understand, the script above removes the title container “ELELEMNTI PORTFOLIO” and doesn’t add anything, the only other way to remove the title container is to edit the archive.php and remove echo avia_title(array('title' => avia_which_archive())); from line 20 then place this modified file in your child theme.
    Thanks for the login, I believe I fould the code and commented it out, please clear your browser cache and check. If this is correct I can remove it completely.

    function article_titles_attr(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      $(".slide-entry").each(function(){
        var space = " ", returnValue = "";
        var pagetitle = $(".a2a_kit").attr("data-a2a-title");
        var captiontext = $(this).find("h3.slide-entry-title").text();
        $(this).find("img").attr("title",captiontext + space + pagetitle );
    	  $(this).find("img").attr("alt",captiontext + space + pagetitle);
    
    });
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'article_titles_attr');
    
    function magazine_titles_attr(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      $(".av-magazine-entry").each(function(){
        var space = " ", returnValue = "";
        var pagetitle = $(".a2a_kit").attr("data-a2a-title");
        var captiontext = $(this).find("h3.av-magazine-title").text();
        $(this).find("img").attr("title",captiontext + space + pagetitle);
    	  $(this).find("img").attr("alt",captiontext + space + pagetitle);
    
    });
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'magazine_titles_attr');

    Best regards,
    Mike

    in reply to: direct link to content element tab #1191271

    Hi,
    Ok, so not linking to a tab section but a tab element, such as the link in the Private Content area.
    So this works when the tab element is in the initial opened tab section, because it is visible. But doesn’t work in a closed tab section because the page finds the tab element in the DOM even though it is not visible because the DOM doesn’t know it’s not visible.
    If you go to the tab section you will see the tab element is active, because the DOM did find it.
    I hope I have explained this well.
    I imagine some javascript could take a url with two hash tags or IDs and first go to the correct tab section and then go to the tab element.

    But as it stands now you need to link to the tab section for the tab element to be viewable, the tab element link will not make the tab section viewable.

    Best regards,
    Mike

    in reply to: Add a pop up Booking form #1191267

    Hi,
    To switch from your parent theme to the child theme and retain your same settings please follow these steps, first with your parent theme active go to Enfold Theme Options > Import/Export > Export Theme Settings File and download your theme settings file for fallback.
    then activate your child theme and ensure your Enfold Theme Options > Performance > JS & CSS file merging and compression is turned off along with any caching plugins, then go to Enfold Theme Options > Import/Export > Import Settings From Your Parent Theme and import, then go to your homepage and clear your browser cache a couple of times and check that the settings have taken effect.
    If it doesn’t look quite right then check that your Enfold Theme Options > Performance > JS & CSS file merging and compression is turned off and clear your browser cache a couple of more times.
    If still not quite right, then go to Enfold Theme Options > Import/Export > Import Theme Settings File and upload the theme settings file you saved earlier, and clear your browser cache a couple of more times.
    This should all work fine the first time, I only added the extra steps “just in case”.

    I tried to login to your site but got the error There has been a critical error on your website. if you need help with this then please explain any steps you took that might have caused this and include FTP access, or see if your webhost has a recent backup that you can roll back to.

    Best regards,
    Mike

Viewing 30 posts - 18,061 through 18,090 (of 35,261 total)