Jump to content

Recommended Posts

Posted

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...

Posted

@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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...