support

Author Topic: Novator - Remove Dark / Light Theme Switch Button  (Read 2624 times)

Offline cartagan

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Novator - Remove Dark / Light Theme Switch Button
« on: March 07, 2025, 08:37:05 AM »
I tried searching and have so far not found an answer on how to remove the theme switch button. I have some dark colors for logos and images that do not work well with the dark theme and I'd rather not allow the switch so the site doesn't look ugly. Thanks in advance.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2110
  • Karma: +332/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Novator - Remove Dark / Light Theme Switch Button
« Reply #1 on: March 07, 2025, 10:10:30 AM »
see common/page.tpl file. line 24

But note, all your changes will be overwritten during upgrade process.
To avoid it in the future you should to copy novator as you own template, or create new your custom extension which will replace some files of novator template such as tpl or css.
I guess second variant less painful
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline cartagan

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Novator - Remove Dark / Light Theme Switch Button
« Reply #2 on: March 07, 2025, 01:37:23 PM »
Worked perfect. Thanks!

 

Powered by SMFPacks Social Login Mod