• Resolved ndjworldnews

    (@ndjworldnews)


    Hi
    VEry nice plugin that offers a much needed service. But I got a slight issue:

    The detail panel stays on the screen when I click on the ‘add to cart’ button and covers up parts of the screen.

    So my question is:

    1. how can I make the detail panel disappear when I click on add to cart
    2. how can I make the font size of the add to cart wording smaller.

    Thanks beforehand for the support

    Lode

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ndjworldnews

    (@ndjworldnews)

    Hi;
    Just curious: do you guys answer support questions? I know this is a freebie still ….

    Thanks.

    Lode

    Plugin Author Damian Góra

    (@damian-gora)

    Apologies for the delayed response.

    We want to help anyone. Sometimes it takes longer.

    Your issue requires little customization. I prepared the code for you. You can apply this code using the Code Snippets plugin.

    ad 1. Use JavaScript snippets. Here is JS code:

    
    (function ($) {
        $(document).ready(function () {
    		
    		$(document).on('click', '.dgwt-wcas-pd-addtc .add_to_cart_button', function(){
    			
    			var $search = $('.dgwt-wcas-active .dgwt-wcas-search-input');
    			
                     if (typeof $search.data('autocomplete') == 'object') {
                        instance = $input.data('autocomplete');
                        
                        setTimeout(function() {
                        	
                        	  instance.hide();
                        	
                        }, 400);
                      
                    }
    			
    		});
    
        });
    })(jQuery);
    

    ad 2 Use CSS snippet. Here is CSS code:

    
    body .dgwt-wcas-pd-addtc .add_to_cart_button {
    	font-size: 14px;
    }
    

    Best
    Damian Góra

    Thread Starter ndjworldnews

    (@ndjworldnews)

    Hi Damian;

    Thanks. I do appreciate your time and your talent. Unfortunately, the code you offered does not make any change:

    The images still overlap and the font-size is still too large.

    Sample image to show what I mean.

    Thanks.

    Lode

    Plugin Author Damian Góra

    (@damian-gora)

    Could yous end me screens, how do you implement these codes? Send screens from Code Snippets if you can.

    I tested this code before I send you, and everything worked well.

    Best
    Damian Góra

    Thread Starter ndjworldnews

    (@ndjworldnews)

    Hi sorry for the long delay getting back to you. I don’t know how to use Code Snippets. I use PHP snippets but that doesn’t do the same thing. so more than likely I am doing this wrong.

    Still I appreciate your effort to support me. Thank you.

    Lode

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘show detail panel’ is closed to new replies.