MyBB Community Forums

Full Version: Change the background color of this boxes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello! Please tell me how can i change the background color of this boxes!
https://ibb.co/HFS49Hs
you already know
All the information you need can be found here:

https://docs.mybb.com/1.8/development/themes/#css
global.css

line 561 (or there abouts, dependent on any changes you have made)

Find:
fieldset.trow1,
fieldset.trow2 {
	border-color: #bbb;
}

add a back ground colour such as:

fieldset.trow1,
fieldset.trow2 {
	border-color: #bbb;
	background-color: green;
}


Although rather than just use such as "green" ... go to a html color picker such as:

https://www.w3schools.com/colors/colors_picker.asp

and use the # value .... such as for a very light green ... #eeffe6

Although looking at your image again ... maybe you just wish to change the input areas?

If so add this to the end of global.css

fieldset.trow1 textarea,
fieldset.trow2 textarea {
	background-color: #eeffe6;
}

fieldset.trow1 input.textbox,
fieldset.trow2 input.textbox {
	background-color: #eeffe6;
}

and change the colour to what works for you!
Use your web browser's development tools to select an element on the page to view the HTML source, styles applied, and source of style in the applicable css. You can change the style attributes in real time to get the look you want, then you can go in and edit the .css files as needed.

So many options there, you'll need to explore it. Whether you're using Chrome, Firefox or other browser, look for it under menu Tools / Browser Tools / Web Developer Tools in Firefox. It may be different in another browser.

Try Ctrl-Shift-I as a keyboard shortcut.
(2024-02-22, 02:16 PM)HLFadmin Wrote: [ -> ]Try Ctrl-Shift-I as a keyboard shortcut.

F12 Smile
Can't found from where can i change this areas: https://imgur.com/a/S9eZx9v