Russ

Pixel Exit Staff
There are mainly three things that stick out:

collapse categories
collapse sidebar
change width

All of these features use XenForo's own toggle + cookie system, we don't include extra JS for it.

Code:
<a class="pageWidthToggle xb-toggle-default" data-xf-click="toggle" data-target="html" data-active-class="xb-toggle-default" data-xf-init="toggle-storage" data-storage-type="cookie" data-storage-expiry="31556926" data-storage-key="_xb-width">
                                Change width
                                </a>


Code:
<span id="collapse-6" class="collapseTrigger collapseTrigger--block  is-active" data-xf-click="toggle" data-target=".block--category6 .block-body" data-xf-init="toggle-storage" data-storage-type="cookie" data-storage-expiry="31556926" data-storage-key="_node-6"></span>

Code:
<a class="toggleSidebar" data-xf-click="toggle toggle-storage" data-active-class="xb-sidebar-show" data-target="html" data-xf-init="toggle-storage" data-storage-type="cookie" data-storage-expiry="31556926" data-storage-key="sidebar_collapse">
                                Toggle sidebar
                                </a>

I hope that helps.
 
Last edited:

Russ

Pixel Exit Staff
Would you happen to know the name of the cookie that this is stored? I'm probably missing something obvious.

If you right click the page using Chrome/Firefox and click inspect element, you'll be able to see the name.

For chrome, click the application tab -> Expand cookies -> Click the URL.

Since we use the default XF toggle, it would really just be something like

your_site_toggle

Doing it on this site, while I don't have toggles setup, it would be pe_toggle. Again though, this is all default in XenForo so I really don't think you'd need to do anything extra, I could be wrong though.
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.