Announcement

Collapse
No announcement yet.

Change collapse sidebar icon based on styles

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change collapse sidebar icon based on styles

    Hello,
    i'm trying to change the sidebar collapse icon: tab-collapsed.png (also tab-collapsed-left, tab-expanded ecc)
    for the darkstyle on my forum.

    New images ar called tab-collapsed-dark, tab-collapsed-left-dark etc.
    I replaced these occurences in the FORUMHOME template, and it works fine on first page load, but when i collapse the sidebar, the global script vbulletin-sidebar.js replace custom images with original names.

    What is the right method to do this?
    Thank you


    edit: Never Mind. Replacement variables!

    edit2: nope... replacements only works on first page load
    Last edited by Mn3m0n1c; Thu 30th Apr '20, 4:07am.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X