2022-05-12, 08:09 PM
(This post was last modified: 2022-05-12, 08:10 PM by Taylor M. Edited 1 time in total.)
I changed the default image collapse to a font awesome icon. It works expanding and collapsing wise but it no longer remembers the toggle state upon refresh. Am I missing something here? Or do I need to edit the JS file for this (my JS knowledge is basically none lol)?
Original:
Modified:
(Can provide site link via DM's but not public, this is a client website that I am creating a theme for.)
Original:
<img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" />
Modified:
<i id="cat_{$forum['fid']}_img" class="fa-solid fa-arrow-down-up-across-line expander" alt="{$expaltext}" title="{$expaltext}"></i>
(Can provide site link via DM's but not public, this is a client website that I am creating a theme for.)