Перейти к содержанию

Рекомендуемые сообщения

  • Администраторы
Post #4626 Опубликовано

@Jacek thanks for the bug report.

To be more precise, to fix it you need:
- add a language variable abt__ut2.settings.general.sticky_panel.home

http://i.abt.team/serj/20230712_150510.jpg
- delete the selected element

{__("home")}

in the Design/Templates/abt__unitheme2/templates/addons/abt__unitheme2/hooks/index/content.post.tpl

http://i.abt.team/serj/20230712_150706.jpg

- completely clear cache via command ?cc&ctpl

site.com/admin.php?cc&ctpl

Post #4634 Опубликовано

@ab.support.serjthanks for that, that resolved it. 

How can I change the highlighted colour when a bottom sticky link is active? I am using advanced layout and white style and my decorative colour is #ff9900 in theme settings.

Currently the bottom sticky panels when active they are  highlighted with a dark grey which is difficult to distinguish from non-active links.

  • Администраторы
Post #4635 Опубликовано

@Undercover you can change the color for all links like this:

.ut2-sticky-panel a.ut2-sticky-panel__link > span {
    color: #ff9900;
}

http://i.abt.team/serj/20230712_163906.jpg

 

But there is no active item in the bottom sticky menu, they are all the same.

  • 2 недели спустя...
Post #4738 Опубликовано
В 12.07.2023 в 17:09, ab.support.serj сказал:

@Jacek thanks for the bug report.

To be more precise, to fix it you need:
- add a language variable abt__ut2.settings.general.sticky_panel.home

http://i.abt.team/serj/20230712_150510.jpg
- delete the selected element

{__("home")}

in the Design/Templates/abt__unitheme2/templates/addons/abt__unitheme2/hooks/index/content.post.tpl

http://i.abt.team/serj/20230712_150706.jpg

- completely clear cache via command ?cc&ctpl

site.com/admin.php?cc&ctpl

Сделал по вашей рекомендации, не помогает, вот что получилось в итоге. Все равно иконки битые.

<a href="{$url|fn_url}" class="ut2-sticky-panel__link{if $smarty.request.dispatch=="index.index"} active{/if}"><i class="ut2-icon-home_page"></i>{if $settings.abt__ut2.general.sticky_panel.enable_sticky_panel_labels[$settings.abt__device] == "YesNo::YES"|enum}<span>{__("abt__ut2.settings.general.sticky_panel.home")}</span>{/if}</a>

Screenshot_5.png

Гость
Эта тема закрыта для публикации ответов.
×
×
  • Создать...