I want Change my website background color | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

I want Change my website background color

Hello anyone here who can help me to change the background color of website registration area. Because I think I am missing something here it's not showing the of I am agree here is the picture https://prnt.sc/qq4g1r

20th Jan 2020, 8:41 AM
Olivia Mikayla
Olivia Mikayla - avatar
12 Antworten
+ 4
background-color : (Put any color you want to be in your back.) ; Use this property in CSS. Take the W3X Front-End Developer program to become a master in front-end web.
20th Jan 2020, 10:19 AM
KStYLeD_
KStYLeD_ - avatar
+ 2
I am sorry, but you really need to learn more about CSS. Everything related to styling is done using CSS. From what I can see, you haven't even got the basics of css (where you can also find background-color), so you'll have to start there first before we can help you. It will only take few days to grasp the fundamentals of CSS, please do so before asking such questions next time. EDIT: If you have already tried using the background-color property, but it didn'r work, then share a link to your code here, so we can take a look at it.
20th Jan 2020, 8:49 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
20th Jan 2020, 10:58 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 2
Olivia share you code so we can take a look at it.
20th Jan 2020, 11:06 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
Aymane Boukrouh [INACTIVE] I am sorry I actually I lost my I am trying to find the background color but I am struggling 😔
20th Jan 2020, 10:53 AM
Olivia Mikayla
Olivia Mikayla - avatar
+ 1
KStYLeD_ hi but it's not working for me I trying a lot
20th Jan 2020, 11:04 AM
Olivia Mikayla
Olivia Mikayla - avatar
+ 1
Aymane Boukrouh [INACTIVE] but it's not helpful I already know yet
20th Jan 2020, 11:05 AM
Olivia Mikayla
Olivia Mikayla - avatar
+ 1
Aymane Boukrouh [INACTIVE] {include file="header.tpl"} <div class="hero" style="padding:14px 0 10px!important;"> <div class="main"> <div class="col100 left" style="padding:44px 0 20px!important;"> <h1 style="text-align:center;width:100%;color:#29BAE8;font-weight:400;">Registration.</h1> </div> </div> </div> } </div> <div style="clear:both;"></div> <div class="main" style="min-height:43vh;width:700px;padding-bottom:100px;padding:0 0 44px;"> <div class="log-form"> {if $deny_registration} We are closed for new registrations now. {elseif $settings.use_referal_program && $settings.force_upline && !$referer && !$settings.get_rand_ref} You do not have a upline. Our system require a upline for each user. {else} {literal} <script language=javascript> function checkform() { if (document.regform.fullname.value == '') { alert("Please enter your full name!"); document.regform.fullname.focus(); return false; } {/literal} {if $settings.use_user_loca
20th Jan 2020, 11:06 AM
Olivia Mikayla
Olivia Mikayla - avatar
+ 1
Use CSS body{ background-color:#000000; } In this case the background colour should be black
22nd Jan 2020, 1:53 AM
Shushu
Shushu - avatar
+ 1
Olivia first the code you wrote here i dont see any tag or container or div its background, atleast to know the problem follow these steps: 1 = to see a div or container the div must have these css property ( width, height and background). 2 = its good for you to use external css. 3 = know which tag like div or class or id does not exist its background.
22nd Jan 2020, 7:34 AM
A̳X̳M̳E̳D̳ ̳Y̳A̳R̳E̳
A̳X̳M̳E̳D̳ ̳Y̳A̳R̳E̳ - avatar
+ 1
in the desired selector write the following tag background-color: and then write the color name or a HEX value - like "#ff0000" an RGB value - like "rgb(255,0,0)"
23rd Jan 2020, 10:10 AM
Azeem Sarwar
Azeem Sarwar - avatar
0
Where is your code for background ? I cant find it here
21st Jan 2020, 6:22 PM
Yash Verma
Yash Verma - avatar