Not able to find the theme-settings.properties file!!

45 views
Skip to first unread message

Tarun Amembal

unread,
Nov 26, 2019, 2:30:02 AM11/26/19
to Scroll Viewport Developers
Hi, I'm exploring the possibility of using Viewport for external facing product documentation.
The help for Viewport says I should be using the theme-settings.properties file to manage the look and feel of the page. However, I am unable to locate this file. I see the theme.colors.css, theme.main.css, theme.main.js and several other files though. Though I've been able to make a few changes to the aesthetics of my page using these individual files, I am not sure if using these individual files is the most efficient way.
Could you please help me figure this out?
Thanks!

Amit Kapoor

unread,
Nov 26, 2019, 3:28:38 AM11/26/19
to Scroll Viewport Developers

You can use it. Theme.properties must be created. It is not their by default.

Here is what I have...create it at root level..


theme.plugin.key=com.mycompany-theme-plugin
theme.plugin.name=mycompany
theme.plugin.version=1.1
theme.plugin.module.key=mycompany-theme
theme.description=This is MyCompany Scroll Viewport theme for customer-facing online documentation.
theme.enableViewportControl=false

But why do you say that you need this file to create Viewport? This file doesnt do all that. It only helps control the listed attributes. I am not sure how things have changed in help center though. I have not yet upgraded to helpcenter version...

Tarun Amembal

unread,
Nov 26, 2019, 4:11:27 AM11/26/19
to Scroll Viewport Developers
Thanks a lot, Amit!
I think I figured it out.. the Help Center theme that is offered by default is a part of version 2.15. In this version, for this default theme, we have the theme-settings.properties created by default. I was using an older version and hence couldn't see the file.
Hope this makes my life a little easier.

Cheers!
Reply all
Reply to author
Forward
0 new messages