Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Hide footer based off language


Ahmed77

Question

Site URL: https://www.thirstforallah.com

Hey all. I created 2 footers with the intent to hide one depending on the language of the page . I used the Brad Good method to create a multilingual site. I am unsure how to code to hide the second footer when I am on home/en/** and hide the first footer when on home/ba/**,etc.

Anyone have any ideas?

 

Thanks!

Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0

W1. Use jQuery. You can try contacting Brad

W2. Use CSS

Add to English Page Header to hide ba language

<style>
  footer.sections section:nth-child(2) {
    display: none !important;
}
</style>

Add to Ba pages header to hide English

<style>
  footer.sections section:nth-child(1) {
    display: none !important;
}
</style>

 

You can send your question to my email to get detail answer. / How to Setup Password & Share URL 

-- Pour your heart into it

Link to post

Create an account or sign in to comment

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


×
×
  • Create New...