Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Making The Underline Of A Category Shorter

Featured Replies

Hi everyone!

I checked through the default config.js file and then executed it to get the hang of how everything works when using WPI. I managed to add programs and create categories, but one thing I can't seem to resolve is how to make the underline to a category shorter. Right now, the line is across the whole screen instead of being shorter and leaving some space for other categories. I've checked through a lot of posts that some of you have made and everyone uses this except me. I know that I'm missing some kind of command, but which one is it?

Thanks in advance!

Marthax

  • 2 weeks later...

@Marthax

I'm using an older version of WPI, but I was able to make the change by editing the "boxes.js" file found in wpiscripts. Look for the following:

//c h a n g e category header info here
 {
 txt += ('<div class="category" color="red">' + cat[i][0] + '</div><hr align=\"left\" width=73% color=\"18339F\">');
 oldcat = cat[i][0];
 cats += 2;
 }

I added the comment "//c h a n g e category header info here" and then changed the width= value to 73% for my purposes. I may have also changed the color and alignment values. Play with the width value and I think you will achieve success. Good luck.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.