Jump to content

move currency converter to the footer

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 7
  • Views 553
  • Created
  • Last Reply

Top Posters In This Topic

Try this code to bottom of Code Injection > Footer

<script>
  $(document).ready(function(){
  	$('#currencyMob').clone().insertBefore('footer.sections');
  });
</script>
<style>
  main#page ~ select#currencyMob {
    position: fixed !important;
    right: 20px;
    bottom: 100px;
    z-index: 9999999;
    display: block !important;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Remove the code & use this

<script>
  $(document).ready(function(){
  	$('#currencyMob').clone().insertAfter('footer.sections .search-block');
  });
</script>
<style>
  .fe-block-yui_3_17_2_1_1716303906683_3968 {
    display: flex;
    align-items: center;
}
footer.sections select#currencyMob {
    display: block !important;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • Solution
21 hours ago, sofia62 said:

It looks great, now how can I remove it from the header to only display it on the footer? thanks

Try this code under

<style>
  header#header #currencyMob {
    display: none;
}
</style>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.