in your sbbs\webv4\root directory open index.xjs in wordpad
<body style="background-color:black;">
</body> <-color can be any color or hex value.
<body background="http://yourbbs.com/pics/picture.jpg">
it must be the first line in your index.xjs
I have been emailed a few time recently asking how to change ecwebv4 background color or add background picture.
in your sbbs\webv4\root directory open index.xjs in wordpad
in your sbbs\webv4\root directory open index.xjs in wordpad
<body style="background-color:black;">
it must be the first line in your index.xjs
It's inadvisable to modify this file. This is the main layout script behind the web interface and I may update it from time to time. Mods may create difficulty in merging your changes in.
Instead, please create this file if it doesn't exist:
webv4/root/css/custom.css
and add a rule like this to it:
body {
background-color: black;
}
where 'black' can be whatever, including a hex colour code.
In custom.css, this (untested) should work:
body {
background-image: url("/pics/picture.jpg");
}
My comments here are the recommended/intended way of making these sorts of customizations, but your method will work, and thanks for sharing.
---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-425-5435
� Synchronet � electronic chicken bbs - bbs.electronicchicken.com
On 2019 May 01 09:44:14, you wrote to All:
CSS is the proper way to do this... seriously ;)
)\/(ark
It's inadvisable to modify this file. This is the main layout script behind the web interface and I may update it from time to time. Mods may create difficulty in merging your changes in.
Instead, please create this file if it doesn't exist:
webv4/root/css/custom.css
and add a rule like this to it:
body {
background-color: black;
}
where 'black' can be whatever, including a hex colour code.
In custom.css, this (untested) should work:
body {
background-image: url("/pics/picture.jpg");
}
On 05-01-19 09:56, Nightfox wrote to Denn <=-
Re: ecweb background picture or solid color theme how to
By: Denn to All on Wed May 01 2019 09:44 am
in your sbbs\webv4\root directory open index.xjs in wordpad
You should be able to open it in any text editor.. It doesn't have to
be Wordpad. In fact, I'd shy away from using Wordpad, since I think Wordpad uses its own file format by default, though it can edit plain
text files.
On 05-01-19 09:56, Nightfox wrote to Denn <=-
Re: ecweb background picture or solid color theme how to
By: Denn to All on Wed May 01 2019 09:44 am
in your sbbs\webv4\root directory open index.xjs in wordpad
You should be able to open it in any text editor.. It doesn't have to be Wordpad. In fact, I'd shy away from using Wordpad, since I think Wordpad uses its own file format by default, though it can edit plain text files.
In Windows, I just use Notepad for text files. :) Wordpad's native format is an older version of MS-Word format.
It's inadvisable to modify this file. This is the main layout script
Instead, please create this file if it doesn't exist:GREAT !!! took all of 5 minutes to create the custom.css and get it working :)
webv4/root/css/custom.css
It works perfectly, everyone Ignore my original post just use custom.css
It's too late! My System chrashed after I made the change! lol
Hustler
On 05-01-19 09:56, Nightfox wrote to Denn <=-
Re: ecweb background picture or solid color theme how to
By: Denn to All on Wed May 01 2019 09:44 am
in your sbbs\webv4\root directory open index.xjs in wordpad
You should be able to open it in any text editor.. It doesn't have to be Wordpad. In fact, I'd shy away from using Wordpad, since I think Wordpad uses its own file format by default, though it can edit plain text files.
In Windows, I just use Notepad for text files. :) Wordpad's native format is an older version of MS-Word format.
On 05-02-19 13:05, Digital Man wrote to Tony Langdon <=-
WordPad's native file type is RTF: https://en.wikipedia.org/wiki/Rich_Text_Format
I thought RTF was an open standard, but I guess not. <hrm>
On 05-02-19 09:10, Mortifis wrote to Tony Langdon <=-
One winbloz systems I prefer dev-php, it has decent syntax highlighting and code completion, despite stating it's a php IDE it also highlights
js, xjs, python, html, css, etc
It's too late! My System chrashed after I made the change! lol
Just replace your index file with original unaltered version.
Did you save index.xjs as a plain text file with ext .xjs?
Re: ecweb background picture or solid color theme how to
By: Denn to Hustler on Thu May 02 2019 11:21 am
I was kidding. Nothing crashed. It's working great with the "custom.css"
Heliarc
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 28 |
Nodes: | 8 (0 / 8) |
Uptime: | 191:17:11 |
Calls: | 2,006 |
Calls today: | 3 |
Files: | 11,114 |
Messages: | 942,287 |