Hide hero div on every other page besides the home page


  • Duke Oliver

    Set the div to be display:none in your CSS

    Then on the Home Page, insert something like this at the top above the rest of your HTML:

    .div-name-here {
    display: block;

    It will change the display value of that particular div to 'block' (or whatever value you want to use) whenever the page is loaded. You'll have to experiment with whatever works with your code

  • Wes Drury

    Hi Nathan - You can use a little JQuery here:

    if (window.location.href != "https://bevmd.zendesk.com/hc/en-us") {


Please sign in to leave a comment.

Powered by Zendesk