• Resolved soulluciani01

    (@soulluciani01)


    I have a div that shows up on all of my pages. I would like it only to show up on my home page. Does anyone know the simplest way of doing this?

    The site is located at: https://niahealingcenter.org

    The div in question is right underneath the slider, with the image and video in it. Here is the div id
    div#cir-wrapper div#cir-breadcrumbs-wrapper

Viewing 2 replies - 1 through 2 (of 2 total)
  • add the following css:

    div#cir-wrapper div#cir-breadcrumbs-wrapper {display: none;}
    body.home div#cir-wrapper div#cir-breadcrumbs-wrapper {display: block;}

    Thread Starter soulluciani01

    (@soulluciani01)

    I actually ended up wrapping my div in a <?php if(is_home()): ?> <?php endif; ?>
    worked out perfect.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hiding a div’ is closed to new replies.