Forum Replies Created

Viewing 30 posts - 17,581 through 17,610 (of 34,221 total)
  • Author
    Posts
  • in reply to: Onclick event on HTML link dissapears on save #1175226

    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: Tweaks #1174959

    Hi,
    Thanks, to only show the sub-menu 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 (min-width: 768px) { 
    #sub_menu1 {
    	display: none !important;
    }
    }

    To change the sub-menu text, Try adding this code to the end of your functions.php file in Appearance > Editor:

    function supermarket_shop(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
    $( "#sub_menu1 .av-current-placeholder" )
      .text( "supermarket shop" );
     });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'supermarket_shop');

    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Enfold Learndash Comment Theme Conflict #1174935

    Hi,
    Thank you, to move the comments after the Mark Complete button Try adding this code to the end of your functions.php file in Appearance > Editor:

    function move_comments(){
      ?>
      <script>
    (function($){
      $(document).ready(function(){
      $('.av-buildercomment' ).insertAfter( '.ld-content-actions' );
      });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'move_comments');

    To only show the first 3 comments and add a link so the rest can be shown/toggled, Try adding this code to the end of your functions.php file in Appearance > Editor:

    function toggle_comments(){
      ?>
      <script>(function($){
      $(document).ready(function(){ 
          $('#comments').find('li:nth-child(n+4)').hide();
          $('<a href="#comments" class="ld-primary-color comment-toggle">View More Comments</a>' ).insertAfter( '#comments li:nth-child(3)' );
           $('#comments .comment-toggle').click(function () {
               $('#comments li:nth-child(n+4)').toggle(); 
               $(this).text($(this).text() == 'View More Comments' ? 'View Less Comments' : 'View More Comments');
           
           });  
        });  
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'toggle_comments');

    Best regards,
    Mike

    in reply to: set the same font for different languages frontpage #1174896

    Hi,
    For the English layerslider the first slide looks correct, but then the other sliders show that text again, I assume you mean that you removed the 19 String Translations, and then added 1 back?
    Can you remove them all? I was hoping that with no String Translations for the layerslider the actual layerslider text would show.
    It looked like each layerslider was already in the correct language so they should not need to be translated.
    Also, I couldn’t login, seems the login token has expired, please check.

    Best regards,
    Mike

    in reply to: Main Content background color #1174879

    Hi,
    Glad to hear, thanks 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 a new thread and we will gladly try to help you :)

    Best regards,
    Mike

    in reply to: Can not update Enfold to the newest version #1174876

    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: Onclick event on HTML link dissapears on save #1174872

    Hi,
    Glad to hear, so to use your onClick for a phone link it would be:

    (function($){
    $(window).load(function() {
    $("#myonclick").click( function() {
            ga('send', 'event', 'Phone_Click', 'Home_Page', '1300_668_387');
            window.location = "tel://1-555-555-5555";
    })
    });
    })(jQuery);

    be sure to adjust the phone number in the code.

    Best regards,
    Mike

    in reply to: Remove alt text on masonry images SEO friendly #1174850

    Hi,
    Good point, on hover would be better, please try this code instead:

    function removemasonryImageTitleOnHover(){
    ?>
    <script>
    jQuery(document).ready(function() {
    var imgTitle;
    jQuery("a.av-masonry-entry").hover(function(){
    imgTitle = jQuery(this).attr("title");
    jQuery(this).removeAttr("title");
    }, function(){
    jQuery(this).attr("title", imgTitle);
    });
    jQuery("a.av-masonry-entry .av-masonry-image-container").hover(function(){
    imgTitle = jQuery(this).attr("title");
    jQuery(this).removeAttr("title");
    }, function(){
    jQuery(this).attr("title", imgTitle);
    });
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'removemasonryImageTitleOnHover');

    Best regards,
    Mike

    in reply to: set the same font for different languages frontpage #1174013

    Hi,
    Glad to hear, we will leave this open to see if the font issue also is resolved.

    Best regards,
    Mike

    in reply to: Problem with html code in slider headline after update #1174012

    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: WooCommerce sidebar on product category pages #1174010

    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: Onclick event on HTML link dissapears on save #1174000

    Hi,
    Please try pasting your link into a plain text file as html and upload it to DropBox and link to it here.
    I assume you are trying an on click event like this:

    <a href="https://google.com" onClick='alert("You clicked the link")'>on click link</a>

    If true then add this to your text element in the “text” tab and not in the “visual” tab, but the next time you edit the element the code will be striped.
    To get around this use a link with a custom ID instead and add the event function to your functions.php or in a “code block” element on the page. For example, this would be your link:

    <a href="#" id="myonclick">on click link</a>

    and this would be in your code block element:

    <script>
    (function($){
    $(window).load(function() {
    $("#myonclick").on('click', function() {
      alert("You clicked the link");
      window.location = "https://www.google.com";
    })
    });
    })(jQuery);
    </script>

    If you add this in your functions.php then change it to this:

    function custom_script(){
      ?>
      <script>
    (function($){
    $(window).load(function() {
    $("#myonclick").on('click', function() {
      alert("You clicked the link");
      window.location = "https://www.google.com";
    })
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_script');

    Best regards,
    Mike

    in reply to: Slide-In Menu for extra content #1173980

    Hey rmavila,
    Sorry natively Enfold could not create this mobile menu structure and I don’t know if there is a plugin that can do this, but there are so many plugins that it is possible that there is one out there.
    I would assume that this menu could be created once and would not need to be changed very often, in which case this could be done with javascript fairly easily, but it would take a considerable amount of time to complete. Unfortunately, this would be beyond the scope of our support but you should be able to find a freelancer to do this for you.
    The left-hand menu can be done with a plugin, but you would have to try a few of them because I don’t know of a tested one for Enfold.
    Sorry that I couldn’t be more help with this.

    Best regards,
    Mike

    in reply to: Main Content background color #1173964

    Hi,
    Please include a link to the page that you want to have a different background color and the color you would like so we can assist with some css. Also, let us know what background color you would like when every page is loading.

    Best regards,
    Mike

    in reply to: Can not update Enfold to the newest version #1173958

    Hi,
    Thanks for the login, unfortunately, with that version the API updater from Theme Forest has been changed to a “Token” system and will no longer work, so you will have 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.

    Best regards,
    Mike

    in reply to: Remove alt text on masonry images SEO friendly #1173950

    Hey mihand78,
    Please try this function, it will remove the title on page load. Try adding this code to the end of your functions.php file in Appearance > Editor:

    function remove_masonry_image_title(){
      ?>
      <script>
    (function($){
      $(window).load(function(){
      $('a.av-masonry-entry').removeAttr('title');
      $('a.av-masonry-entry .av-masonry-image-container').removeAttr('title');
      });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'remove_masonry_image_title');

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

    Best regards,
    Mike

    in reply to: Social Media share buttons missing #1173938

    Hey metin_aydin,
    I see that you are using Enfold v4.6.3.1, this was due to a change in the latest WordPress update, please update Enfold to v4.7.1

    Best regards,
    Mike

    Hey morecoffee,
    please try replacing \enfold\config-templatebuilder\avia-shortcodes\timeline\timeline.php with this file via FTP. Please save a fallback copy of your old file.
    If you are not comfortable with doing this please include an admin login & FTP access in the Private Content area so we can assist.

    Best regards,
    Mike

    in reply to: Problem with html code in slider headline after update #1173931

    Hey OblakJ,
    I assume you are using Enfold v4.7.1, if so please try replacing \enfold\config-templatebuilder\avia-shortcodes\av-helper-slideshow.php with this file via FTP. Please save a fallback copy of your old file.
    If you are not comfortable with doing this please include an admin login & FTP access in the Private Content area so we can assist.
    Also please include a link to the page in question.

    Best regards,
    Mike

    in reply to: WooCommerce sidebar on product category pages #1173917

    Hi,
    Please try going to Enfold Theme Options > Sidebar Settings > Page Sidebar navigation and uncheck the “Page Sidebar navigation” option, then go to your Sidebar widget page and add the woocommerce widgets that you want to show in the sidebar that is assigned to the Archive Pages. To see which sidebar is assigned to the Archive Pages go to Enfold Theme Options > Sidebar Settings > Sidebar on Archive Pages.

    Best regards,
    Mike

    in reply to: set the same font for different languages frontpage #1173910

    Hi,
    Under the English language in the top admin bar, I went to Languages > String Translations in the left side admin bar.
    Please see the screenshot in Private Content area.

    Best regards,
    Mike

    in reply to: Enfold Learndash Comment Theme Conflict #1173907

    Hi,
    Can you include a link directly to a page where the comment shows above the Mark Complete button, I tried to find one but couldn’t.
    I may be able to move the element with javascript. Also if you can point to an example where there are more than 3 comments so I can see if we can collapse them?

    Best regards,
    Mike

    in reply to: set the same font for different languages frontpage #1173900

    Hi,
    I found the text 19 times in your String Translations assigned to different layerslider slides, please try disabling these to see if the text from the layerslider begins to show.

    Best regards,
    Mike

    in reply to: How to replace rather than add to enfold sidebar? #1173890

    Hi,
    Thanks, I understand better now, the plugin may work well for you because I’ve seen people have about ten different items in a sidebar which were checked off in different combinations to show on different pages or categories.
    Is there anything else we can assist with on this issue or shall we close this thread?

    Best regards,
    Mike

    in reply to: ENFOLD LICENCE #1173364

    Hi,
    Thank you, simply go to the Enfold sales page on Theme Forest and purchase again, then you will get another purchase code which you can use when registering it on your new domain.

    Best regards,
    Mike

    in reply to: Gallery thumbnail hover effect: zoom instead of fade #1173353

    Hi,
    Thank you, it would be like this:

    .test .avia-gallery-thumb a {
        -webkit-animation: in 1.5s;
        animation-fill-mode: forwards;
    }
    
    .test .avia-gallery-thumb a:hover {
        -webkit-animation: out 1.5s;
        animation-fill-mode: forwards;
    }
    
    @-webkit-keyframes in {
        from   { -webkit-transform: scale(1.05,1.05);}
        to { -webkit-transform: scale(1,1); }
    }
    
    @-webkit-keyframes out {
        0%   { -webkit-transform: scale(1,1); }
        100% { -webkit-transform: scale(1.05,1.05); }
    }
    
    #top .avia-gallery.test .avia-gallery-thumb a:hover {
        opacity: 1 !important;
    }

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

    Best regards,
    Mike

    in reply to: Can't "Add to Gallery" #1173348

    Hi,

    @Thisafternoon
    thank you for letting us know, this could help others using this plugin.

    Best regards,
    Mike

    in reply to: How to replace rather than add to enfold sidebar? #1173345

    Hi,
    I’m not sure I follow how this will create lots of manual work, lets take a look at this. So are most of your pages going to have the same sidebar?
    If true then set the “Page Sidebar” widget to reflect that, even if this means you want the sidebar menu on most of them, in which case you can remove the blank the empty text widget.
    then if there are a few pages you want a different sidebar then in those pages change which sidebar shows on the page by choosing one of your other sidebars in the “layout” option of the page when you are editing it.
    If the number of pages is closer to 50/50 or something more complex, then try the plugin Widget Options which will give you the option to show or hide each widget element on any number of pages, then you can add the “navigation menu” widget to your sidebar and choose the pages to show or hide on and then add your other widgets and do the same. This way all of the changes are made from the widget option page and you won’t need to edit any of the pages.
    I hope one of these approaches helps you set your sidebar the easiest way for you.

    Best regards,
    Mike

    in reply to: Tweaks #1173326

    Hi,
    To create a on-click drop-down menu from the sidebar menu widget please remove the css above, then try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_widget_menu_dropdown(){
      ?>
      <script>
    (function($){
       $(document).ready(function(){ 
       		$('#menu-supermarket-shop-1 > li.menu-item-has-children').find('ul').hide();
            $('#menu-supermarket-shop-1 > li.menu-item-has-children').click(function () {  
                $('#menu-supermarket-shop-1 > li.menu-item-has-children').not(this).find('ul').hide();  
                $(this).find('ul').toggle();  
            });  
         });  
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'custom_widget_menu_dropdown');

    Then clear your browser cache and check.

    Best regards,
    Mike

    in reply to: Social Icons are not appearing in Mobile in WordPress 5.3.2 #1173261

    Hi,
    Sorry I misread your request, I thought you wanted the menu moved over.
    So please remove that css and use this instead:

    @media only screen and (max-width: 479px) {
    .responsive #top #wrap_all #header .social_bookmarks {
        display: block !important; 
    }
    .main_menu {
    	display: flex !important;
    	flex-direction: row-reverse !important; 
    }
    }

    I didn’t see a “blue box” in your screenshot but this css does put the social icons before the burger menu.
    After applying the css, Please clear your browser cache and check.

    Best regards,
    Mike

Viewing 30 posts - 17,581 through 17,610 (of 34,221 total)