Footer Only In "Categories" Page?


(Matthew_R) #1

Would someone be able to give me a script that would allow me to only have the footer show up in the categories page?

I assume a script needs to be placed in the section of customization based on this thread here: Creating a Footer (obviously this was for the login page and not the categories page)?

Any help would be greatly appreciated. :slight_smile:


(Simon Cossar) #2

The easiest way to do this would be with CSS.

Create the footer:

<footer>
    <div class="wrap">
        <h1>this is the footer</h1>
    </div>
</footer>

Then hide it everywhere except on the .navigation-categories page:

footer {
    display: none;
}

.navigation-categories footer {
    display: block;
}

(Matthew_R) #3

Fantastic idea!!!

Thank you.