• Resolved hoil.choi

    (@hoilchoi)


    Hello,

    I’ve been trying to figure this out but failed..

    How can I put some information to the right side of footer?

    Where the Credit line lies, to the far right side, I want to add Accepted Payments and SSL Seal.

    see image here

    How can I get this accomplished?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter hoil.choi

    (@hoilchoi)

    After fighting more hours with function that I used to remove “powered by..” line, I was able to figure this one out. This is resolved. In case someone wants solution that I used, below is what i added to functions.php file.

    add_action( 'init', 'custom_remove_footer_credit', 10 );
    
    function custom_remove_footer_credit () {
        remove_action( 'storefront_footer', 'storefront_credit', 20 );
        add_action( 'storefront_footer', 'custom_storefront_credit', 20 );
        add_action( 'storefront_footer', 'custom_footer_accepted_payments', 20 );
        add_action( 'storefront_footer', 'custom_footer_securedby_seals', 20 );
    } 
    
    function custom_storefront_credit() {
    	?>
    	<div class="site-info" style="float:left">
          		<!--- HTML/php Code to modify credit line---!>
    	</div><!-- .site-info -->
    	<?php
    }
    
    function custom_footer_accepted_payments() {
    	?>
    	<div class="site-info" style="float:right">
                 	<!--- HTML Code to add accepted payment---!>
    	</div>
    	<?php
    }
    
    function custom_footer_securedby_seals() {
    	?>
    	<div class="site-info" style="float:right">
    		<!--- HTML Code to add ssl seal ---!>
    	</div>
    	<?php
    }
    Thread Starter hoil.choi

    (@hoilchoi)

    Probably bad solution, but it did what I want.. if someone has better idea, please advise. thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding items to the right side of footer’ is closed to new replies.