Previous Thread
Next Thread
Print Thread
Hop To
#262645 04/29/2019 11:09 AM
Joined: Feb 2017
Posts: 44
A
Newbie
Newbie
A Offline
Joined: Feb 2017
Posts: 44
How do I change the background on the new black default theme?

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads styles utilize CSS coding to present a custom style to your users; the style editor can be found in the Control Panel and it'll allow you to edit, and preview, any changes to your style. Simply open the body class in the editor and make any changes to the associated CSS and save your style.

Take care to not edit any styles directly via FTP, as they will be overwritten when a style is edited via the style editor. Documentation on CSS can be found at w3schools.com: CSS.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
Its done with basic CSS:
https://www.w3schools.com/css/css_background.asp

Go to: Control Panel > Styles

Select the style you want to edit

In the "General CSS Properties > Body" section, the very first line contains the background CSS elements.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Feb 2017
Posts: 44
A
Newbie
Newbie
A Offline
Joined: Feb 2017
Posts: 44
Whats this?

url('../styles/images/chalkboard.jpg') fixed !important;

I can change the css number but nothing happens.

Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
That is a basic usage of the Background CSS tag (the URL to documentation was supplied with Isaac's last post); to take care not to completely hose your style, you should have a solid understanding of CSS before continuing with the Style Editor.

The General CSS -> Body class background:
Code
background:#101012 url('../styles/images/chalkboard.jpg') fixed !important;
That particular instance of the tag is:
Defining a color of #101012
Embedding an image to the background: url('../styles/images/chalkboard.jpg')
Defining that the background should be fixed on the page
!important means to override any other specification

Again, this is all included on the W3C documentation.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Feb 2017
Posts: 44
A
Newbie
Newbie
A Offline
Joined: Feb 2017
Posts: 44
Above my head..I will just live with it.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
2 members (Nightcrawler, Ruben), 524 guests, and 148 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)