Site logo

Archived topic

How to Detect Browser?

3 replies · Started by Vish on April 5, 2018

Viewing posts 1–4 of 4

Hello!

I am using custom CSS to show the heading in a fancy way. But it turns out that the custom CSS does not work Internet Explorer (in some old versions).

So, is there a way (PHP Code?) to detect the browser and not load that particular CSS (it is in the Additional CSS Section)?

Thanks!

Forgive my ignorance but, where should I put the JavaScript? Please help!

You could put it in the wp_footer hook in GP Hooks, within these tags:

<script>
    // JS in here
</script>
This archived topic is closed to new replies.