New Landing How can we help? Atelier Small banner

Viewing 7 posts - 1 through 7 (of 7 total)
  • Posted in: Atelier
  • #299236
    filipkotian
    Member
    Post count: 29

    Hi everybody,

    could you please help me, how it is possible to add to my website small banner as it on http://swiftideas.com on the left down part?

    Thank you!

    Filip

    Attachments:
    You must be logged in to view attached files.
    #299320
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Filip,

    That is not part of theme it is unique to the demo.

    Please install and activate the supplied child theme, I can talk through adding it.

    #299341
    filipkotian
    Member
    Post count: 29

    How it works with child theme? I have no experience with it. If I activate it will happen anything with current website?

    #299344
    filipkotian
    Member
    Post count: 29

    Ok I have installed and activated it on test.brixproducts.com so we can try it there and than on brixproducts.com.

    Thanks!

    #299389
    David Martin – Support
    Moderator
    Post count: 20834

    1) Inside the child theme functions.php file paste this:

    
        /* Custom Button
    	================================================== */
    	if (!function_exists('sf_custom_button')) {
    		function sf_custom_button() {
    			echo '<div id="sf-buy-button" style="display: block;"><a href="#" class="sf-buy-button-close">×</a><a href="http://swiftideas.com/purchase-atelier" class="sf-button rounded white">PURCHASE ATELIER</a></div>';
    		}
    		add_action('sf_after_page_container', 'sf_custom_button');
    	}

    2) Add this to Theme Options => Custom CSS:

    #sf-buy-button {
        position: fixed;
        bottom: 0;
        left: 0;
        width: auto;
        height: auto;
        z-index: 9999;
        background-color: rgba(0,0,0,0.8);
        padding: 30px 30px 20px 20px;
        display: none;
    }
    #sf-buy-button a.sf-buy-button-close {
        color: #fff;
        font-size: 26px;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    3) Inside Theme Options => Custom JS:

    jQuery(window).load(function() {
        
        jQuery('#sf-buy-button').fadeIn(400);
        
        jQuery(document).on('click', 'a.sf-buy-button-close', function(e) {
            e.preventDefault();
            jQuery('#sf-buy-button').fadeOut(400);
        })
        
    });
    #299399
    filipkotian
    Member
    Post count: 29

    Thank you very much! One more question, is it possible to set it up, that if you close it, it will not appear again on any other pages until you close the whole browser and start new session next time?

    #299400
    David Martin – Support
    Moderator
    Post count: 20834

    Happy to help, unfortunately that second request would be too far beyond the scope of support.

    Thanks,
    David.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register