• Resolved philraymond

    (@philraymond)


    I have it working to show text for people in Canada – now I just need to show other text to everyone else. Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter philraymond

    (@philraymond)

    I figured it out! For anyone else who runs into this…

    HTML

    
    <div class="geoip geoip-country-CA geoip-show-CA">TEXT FOR CANADIANS</div>
    <div class="geoip-country-CA geoip-hide-US">TEXT FOR EVERYONE ELSE</div>
    

    CSS:

    
    .geoip { display: none !important; }
    .geoip-country-CA .geoip-show-CA { display: block !important; }
    .geoip-country-CA .geoip-hide-US { display: none !important; }
    
Viewing 1 replies (of 1 total)
  • The topic ‘Show text for all users NOT in Canada’ is closed to new replies.