Forum Replies Created

Viewing 30 posts - 1 through 30 (of 212 total)
  • Author
    Posts
  • in reply to: WooCommerce: edit default product page #1298297

    Hi Rikard,

    Thanks for the advice. I really want to keep the original structure of the WooCommerce template, only add a title and menu above an individual product page. Can you help me find a solution for that? Maybe there is a WooCommerce hook I can use? If that is possible, I only need to know how to get that title and menu in the hook.

    Thanks!
    Daniel

    in reply to: Changelog Enfold 4.8 #1285316

    It is on the Themeforest page for now.

    • This reply was modified 3 years, 8 months ago by Daniel.
    in reply to: Pagination in Blog and Portfolio not working #1269591

    Thanks @nikko,

    I have created a new thread here.

    Regards,
    Daniel

    in reply to: Pagination in Blog and Portfolio not working #1269570

    Hi @nikko,

    if it is a known issue, I wouldn’t want to open a new topic for it. But I do need to know whether my website is suffering from the same bug or that it is something else. I have tried deactivating all plugins without any luck. The website URL is in the private section.

    Thanks for helping out!

    Regards,
    Daniel

    in reply to: Move logo and header widget behind #main content #1268067

    Hi @Mike,

    An issue that we have now, is that the #custom_html-4 is still somehow ‘active’ after fading out. This means that links cannot be clicked when they are in the area where the widget is:

    edit: for now, I have replaced the fade effect with your initial hide effect, to make it work. I would prefer to have the fade effect if that is still possible though.

    FADE effect result:
    widget area

    How can we fix this?

    Thanks! Daniel

    • This reply was modified 3 years, 11 months ago by Daniel.
    in reply to: Best way to change grid layout #1267103

    Thanks @Guenni007, for your time to help others and let them learn too. I really appreciate all your lengthy and in depth answers.

    I created a code wiki and added my first snippet.

    in reply to: Best way to change grid layout #1267057

    Hi @Guenni007,

    this works like a charm, thanks so much. If I would want to learn to do this myself, where would be a good place to start, you think?

    Thanks again,
    Daniel

    in reply to: Move logo and header widget behind #main content #1265458

    Hi Mike, thanks for that! I altered the code somewhat to have it fade away on scroll. I changed:

    $("#avia-messagebox-").hide();
    

    to

    $("#avia-messagebox-").stop().fadeTo('fast', 0);
    

    Full script:

    
    // Hide messagebox on scroll
    function custom_messagebox_script() {
            ?>
            <script>
            (function ($) { 
              $(window).scroll(function() {    
                  var scroll = $(window).scrollTop();
                  if (scroll >= 20) {
                      $("#avia-messagebox-").stop().fadeTo('fast', 0);
                  } else {
                      $("#avia-messagebox-").stop().fadeTo('slow', 1);
                  }
              });
            })(jQuery);
            </script>
                <?php
            }
            add_action('wp_footer', 'custom_messagebox_script');
    

    Regards, Daniel

    • This reply was modified 3 years, 11 months ago by Daniel.
    in reply to: Move logo and header widget behind #main content #1265263

    Hi Mike,

    Hiding it on scroll is probably even the better option! I didn’t want to ask, because I thought it would be easier to edit the existing code.

    Daniel

    in reply to: Move logo and header widget behind #main content #1265019

    Hi @mike,

    No, the content scrolls under the header, but over the logo and widgets in the header area. If you scroll down, you will see that the header remains visible and the main content scrolls under the header. The header_main that contains the main menu, stays on top. The other elements in the header section, such as logo, search and custom-html widgets, go behind the main content when scrolling.

    Regards, Daniel

    in reply to: Move logo and header widget behind #main content #1264986

    Hi @mike,

    getting back on an older thread. I have added another widget (with id #custom_html-4) to the header and I want to give this one mainly the same behaviour as #custom_html-3. When I change my functions.php and copy the #custom_html-3 lines for #custom_html-4, my widget disappears.

    What can I do to make this work? The link is in the private section. One difference with #custom_html-3 is that #custom_html-4 must be hidden under 990px.

    edit: my primary goal is to have it hidden under the main content when scrolling, but z-index isn’t working.

    Can you help me out?
    Thanks!
    Daniel

    • This reply was modified 3 years, 11 months ago by Daniel.
    in reply to: WPML flags in mobile burger menu #1224248

    Hi Victoria,

    Best regards, Daniel

    Hi @ismael,

    Thanks for these insights! I see that if I duplicate the slider, it will show up in the String Translation. Learned something!

    Cheers, Daniel

    Hi @ismael,

    Thanks, that thread is talking about another slider plugin SmartSlider.

    I am not sure which I did first, but that shouldn’t matter right? I have given you access to the site, credentials are in the private section. Hope you can help!

    Cheers, Daniel

    Hey @ismael,

    That was the documentation I was trying to refer to but I now see I did not add the actual link :)

    As I said I am using string translation, but the strings for the layerslider are not there. Now what to do?

    Regards, Daniel

    in reply to: Move logo and header widget behind #main content #1211805

    Hi @mike,

    Thanks again, I think we are getting closer to the desired end result, which is great! :)

    I made some small changes to your code to improve the visual experience. I also got approval from the designer to remove the fixed header on mobile. This gives me two – I hope final – questions:

    1) I have changed the function so the elements have an absolute position in a mobile view, see below:

    
    function custom_script(){
            ?>
            <script>
          (function($){
            $(document).ready(function(){
                    var width = $(window).width()
                    if ((width >= 989)) {
          $( '#wrap_all' ).each(function() {
          $( this ).find( 'span.logo' ).insertAfter( $(this).find('div#main') );
          $("span.logo").css({ 'position': 'fixed','z-index': '0' });
          
          $( this ).find( 'div#search-2' ).insertAfter( $(this).find('div#main') );
          $("div#search-2").css({ 'position': 'fixed','z-index': '0' });
          
          $( this ).find( 'div#custom_html-3' ).insertAfter( $(this).find('div#main') );
          $("div#custom_html-3").css({ 'position': 'fixed','z-index': '0' });
          });
          } else {
          $( '#wrap_all' ).each(function() {
          $( this ).find( 'span.logo' ).insertAfter( $(this).find('div#main') );
          $("span.logo").css({ 'position': 'absolute','z-index': '501' });
          
          $( this ).find( 'div#search-2' ).insertAfter( $(this).find('div#main') );
          $("div#search-2").css({ 'position': 'absolute','z-index': '501' });
          
          $( this ).find( 'div#custom_html-3' ).insertAfter( $(this).find('div#main') );
          $("div#custom_html-3").css({ 'position': 'absolute','z-index': '501' });
          });	
          }
          });
          })(jQuery);
          </script>
          <?php
          }
          add_action('wp_footer', 'custom_script');
    

    When I make my browser width smaller, the elements remain fixed in a mobile view: https://daan.me/up/Screenshot%202020-05-11%20at%2011.31.56.png Is there away to avoid this?

    2) When I open the mobile menu, the items are visible in the menu: https://daan.me/up/Screenshot%202020-05-11%20at%2011.42.05.png They should not be visible when the menu is opened. Can we do this?

    Thanks again for your help!

    Regards, Daniel

    in reply to: Move logo and header widget behind #main content #1208128

    Hi @mike,

    The function and css are now removed.

    Regards, Daniel

    in reply to: Move logo and header widget behind #main content #1207875

    Hi @mike,

    Thanks, I’ll await your updated function!

    Regards, Daniel

    in reply to: Move logo and header widget behind #main content #1207623

    Hi @mike,

    Thanks so much for helping out! This script + css do indeed put the elements behind the #main content which is exactly what I want. They layout is now broken unfortunately, because of the right: 10em used. And also on mobile devices the elements are disappeared completely.

    1) How can we change the script so it becomes responsive? I changed 10em to 11% but that’s only valid until 1400px. From 990px to 1400px it should be right: 50px (i.e. it should align right with the main menu).

    2) The z-index of the two elements should be 501 when the viewport is under 990px. How do I change this in the script?

    Thanks again!
    Daniel

    in reply to: Move logo and header widget behind #main content #1205507

    Hey Yigit,

    That was my first solution, to let them fade out when scrolling down. Unfortunately the designer is demanding these two elements to remain visible all the time, but to go under the elements in the #main section. Would there be another solution, maybe not to use the logo and header widget but something alternatively?

    Thanks for helping! Kind regards,
    Daniel

    in reply to: Move logo and header widget behind #main content #1204411

    Hey Yigit, thanks for thinking along with me! Too bad it isn’t easily done with z-index.

    The jQuery you are suggesting will hide these elements, but they should not be hidden, only put behind all the content in #main. Do you have any good suggestions for that?

    Kind regards, Daniel

    in reply to: Logo disappears on scroll: same for widget in header #1194838

    Hi @jordan_s,

    You may close, thanks again for your help! 👍

    Regards, Daniel

    in reply to: Logo disappears on scroll: same for widget in header #1194828

    Hi Jordan,

    Yes I figured out how:

    header.av_header_transparency .contact-widget {
      opacity: 1 !important;
    }
    
    header .contact-widget {
      opacity: 0 !important;
      transition: .4s;
    }
    • This reply was modified 4 years, 8 months ago by Daniel.
    in reply to: Logo disappears on scroll: same for widget in header #1194755

    Hey Jordan,

    Thanks, it works but I am looking for the same effect as with the logo. The two different effects next to each other don’t match now.

    Thanks!
    Daniel

    • This reply was modified 4 years, 8 months ago by Daniel.
    in reply to: Fading out elements not working #1192726

    Thanks! Issue can be closed. The solution was to add a priority to the script.

    in reply to: Blog layout not working as expected #1185570

    Hi @ismael,

    Yeah, that’s it, thanks! Last question then: where’s the Read More button? I’ve set up the blog posts to show Excerpt With Read More Link.

    Thanks, Daniel

    in reply to: Blog layout not working as expected #1185144

    Hi @ismael,

    I have tried your suggestion and I see the post you created, but also when I am only using a text block, there is no text on the blog overview page. Also, on the other website I am starting a post with a full width submenu, followed by a color section in which I have a title element and then a text element.

    Regards, Daniel

    • This reply was modified 4 years, 9 months ago by Daniel.
    in reply to: Blog layout not working as expected #1184109

    Hi Ismael, of course! Details below.

    Regards, Daniel

    in reply to: Blog layout not working as expected #1183399

    Hey Ismael,

    Thanks for answering my questions.

    1. I did use the ALB. However, on another Enfold site I have also used the ALB to create the content of the posts, and here it works as I intended. The link of that is in the private section. So it is possible, right?

    PS. Also, in the website I am developing now, I am not seeing the Read More link.

    2. Thanks, this will do :-)

    in reply to: Enfold Scroll "UP TO PREVIOUS SECTION" Link #1179320

    Hi,

    Is there a “scroll to the previous section id”, opposite to #next-section? I found out #previous-section doesn’t work.

    Thanks! Daniel

Viewing 30 posts - 1 through 30 (of 212 total)