background kleur wordt niet vertoond

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

Johannes davidian

johannes davidian

14/06/2017 13:28:38
Quote Anchor link
Hallo,
Ik had deze probleem eerder gehad nadat ik gebruik maak van bootstrap media query,nu het probleem komt weer te verschijnen.

deze is mij css code:

Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
@media (max-width: @screen-xs-max) {

.site-header
 {
border:0.0625em solid #074e68;
background-color:#074e68;
height:6em;
width:100%;

}



.site-title
 {
margin-top:-0.3em;
margin-left:-1.5em;
color:#f5f5f5;
font-size:1.4em;
font-weight:400;
}
.site-description
 {
margin-left:-0.1em;
margin-top:-1.2em;
color:#f5f5f5;
word-wrap:nowrap;
font-size:1em;
font-weight:400;
}

.site-header-advertentie
 
 {
margin-top:-4%;
color:#808080;
opacity:1.2;
font-size:1.2em;
font-weight:400;
margin-left:0.5%;

}

.site-header-advertentieV
 
 {
margin-top:-1.95%;
color:#808080;
opacity:1.2;
font-size:1.2em;
font-weight:500;
margin-left:-4.5%;

}


.site-header-image  {
width:100%;
margin-top:0em;
}



.site-image-board  {
border:0.0625em solid #074e68;
background-color:#074e68;
height:3em;
width:100%;
margin-top:0em;
}


.site-image-boardT1  {
color:#f5f5f5;
margin-top:-2em;
font-weight:400;
margin-left:
}
 .site-image-boardT2 {
color:#f5f5f5;
margin-top:-2em;
font-weight:400;
margin-left:10.5em;
}

.site-image-boardT3 {
color:#f5f5f5;
margin-top:-2em;
font-weight:400;

}
.entry-title {
display:none;
}


/*------------
Home page----------*/




/*----------------
footer en info----*/
.site-footer  {
border:0.0625 solid #074e68;
background-color:#074e68;
height:10em;
width:100%;
}

.site-info {
border:0.0625 solid #333333;
background-color:#333333;
height:4em;
width:100%;
}
.site-footer-section1 {
margin-top:1.5em;
color:#f5f5f5;

}
.site-footer-section2 {
margin-top:1.5em;
color:#f5f5f5;
margin-left:2em;
}

.site-footer-section3 {
margin-top:1.5em;
color:#f5f5f5;
}
.site-footer-section3C {

color:white;

}
.site-info-section2 {
margin-top:1.5em;
color:#9c9c9c;
opacity:1.2;

}

.site-info-section3 {
margin-top:1.5em;
color:#9c9c9c;
opacity:1.2;

}

}

@media (min-width: @screen-sm-min) and (max-width: @screen-sm-max) {

.site-header
 {
border:0.0625em solid #074e68;
background-color:#074e68;
height:6em;
width:100%;


}



.site-title
 {
margin-top:-0.3em;
margin-left:-1.5em;
color:#f5f5f5;
font-size:1.4em;
font-weight:400;
}
.site-description
 {
margin-left:-0.1em;
margin-top:-1.2em;
color:#f5f5f5;
word-wrap:nowrap;
font-size:1em;
font-weight:400;
}

.site-header-advertentie
 
 {
margin-top:-4%;
color:#808080;
opacity:1.2;
font-size:1.2em;
font-weight:400;
margin-left:0.5%;

}

.site-header-advertentieV
 
 {
margin-top:-1.95%;
color:#808080;
opacity:1.2;
font-size:1.2em;
font-weight:500;
margin-left:-4.5%;

}


.site-header-image  {
width:100%;
margin-top:0em;
}



.site-image-board  {
border:0.0625em solid #074e68;
background-color:#074e68;
height:3em;
width:100%;
margin-top:0em;
}


.site-image-boardT1  {
color:#f5f5f5;
margin-top:-2em;
font-weight:400;
margin-left:
}
 .site-image-boardT2 {
color:#f5f5f5;
margin-top:-2em;
font-weight:400;
margin-left:10.5em;
}

.site-image-boardT3 {
color:#f5f5f5;
margin-top:-2em;
font-weight:400;

}
.entry-title {
display:none;
}


/*------------
Home page----------*/




/*----------------
footer en info----*/
.site-footer  {
border:0.0625 solid #074e68;
background-color:#074e68;
height:10em;
width:100%;
}

.site-info {
border:0.0625 solid #333333;
background-color:#333333;
height:4em;
width:100%;
}
.site-footer-section1 {
margin-top:1.5em;
color:#f5f5f5;

}
.site-footer-section2 {
margin-top:1.5em;
color:#f5f5f5;
margin-left:2em;
}

.site-footer-section3 {
margin-top:1.5em;
color:#f5f5f5;
}
.site-footer-section3C {

color:white;

}
.site-info-section2 {
margin-top:1.5em;
color:#9c9c9c;
opacity:1.2;

}

.site-info-section3 {
margin-top:1.5em;
color:#9c9c9c;
opacity:1.2;

}

}

@media (min-width: @screen-md-min) and (max-width: @screen-md-max)  {

.site-header
 {
border:0.0625em solid #074e68;
background-color:#074e68;
height:6em;
width:100%;

}


.site-title
 {
margin-top:-0.3em;
margin-left:-1.5em;
color:#f5f5f5;
font-size:1.4em;
font-weight:400;
}
.site-description
 {
margin-left:-0.1em;
margin-top:-1.2em;
color:#f5f5f5;
word-wrap:nowrap;
font-size:1em;
font-weight:400;
}

.site-header-advertentie
 
 {
margin-top:-4%;
color:#808080;
opacity:1.2;
font-size:1.2em;
font-weight:400;
margin-left:0.5%;

}

.site-header-advertentieV
 
 {
margin-top:-1.95%;
color:#808080;
opacity:1.2;
font-size:1.2em;
font-weight:500;
margin-left:-4.5%;

}


.site-header-image  {
width:100%;
margin-top:0em;
}



.site-image-board  {
border:0.0625em solid #074e68;
background-color:#074e68;
height:3em;
width:100%;
margin-top:0em;
}


.site-image-boardT1  {
color:#f5f5f5;
margin-top:-2em;
font-weight:400;
margin-left:
}
 .site-image-boardT2 {
color:#f5f5f5;
margin-top:-2em;
font-weight:400;
margin-left:10.5em;
}

.site-image-boardT3 {
color:#f5f5f5;
margin-top:-2em;
font-weight:400;

}
.entry-title {
display:none;
}


/*------------
Home page----------*/




/*----------------
footer en info----*/
.site-footer  {
border:0.0625 solid #074e68;
background-color:#074e68;
height:10em;
width:100%;
}

.site-info {
border:0.0625 solid #333333;
background-color:#333333;
height:4em;
width:100%;
}
.site-footer-section1 {
margin-top:1.5em;
color:#f5f5f5;

}
.site-footer-section2 {
margin-top:1.5em;
color:#f5f5f5;
margin-left:2em;
}

.site-footer-section3 {
margin-top:1.5em;
color:#f5f5f5;
}
.site-footer-section3C {

color:white;

}
.site-info-section2 {
margin-top:1.5em;
color:#9c9c9c;
opacity:1.2;

}

.site-info-section3 {
margin-top:1.5em;
color:#9c9c9c;
opacity:1.2;

}

}

@media (min-width: 1200px) {

.site-header
 {
border:0.0625em solid #074e68;
background-color:#074e68;
height:6em;
width:100%;

}


.site-title
 {
margin-top:-0.3em;
margin-left:-1.5em;
color:#f5f5f5;
font-size:1.4em;
font-weight:400;
}
.site-description
 {
margin-left:-0.1em;
margin-top:-1.2em;
color:#f5f5f5;
word-wrap:nowrap;
font-size:1em;
font-weight:400;
}

.site-header-advertentie
 
 {
margin-top:-4%;
color:#808080;
opacity:1.2;
font-size:1.2em;
font-weight:400;
margin-left:0.5%;

}

.site-header-advertentieV
 
 {
margin-top:-1.95%;
color:#808080;
opacity:1.2;
font-size:1.2em;
font-weight:500;
margin-left:-4.5%;

}


.site-header-image  {
width:100%;
margin-top:0em;
}



.site-image-board  {
border:0.0625em solid #074e68;
background-color:#074e68;
height:3em;
width:100%;
margin-top:0em;
}


.site-image-boardT1  {
color:#f5f5f5;
margin-top:-2em;
font-weight:400;
margin-left:
}
 .site-image-boardT2 {
color:#f5f5f5;
margin-top:-2em;
font-weight:400;
margin-left:10.5em;
}

.site-image-boardT3 {
color:#f5f5f5;
margin-top:-2em;
font-weight:400;

}
.entry-title {
display:none;
}


/*------------
Home page----------*/




/*----------------
footer en info----*/
.site-footer  {
border:0.0625 solid #074e68;
background-color:#074e68;
height:10em;
width:100%;
}

.site-info {
border:0.0625 solid #333333;
background-color:#333333;
height:4em;
width:100%;
}
.site-footer-section1 {
margin-top:1.5em;
color:#f5f5f5;

}
.site-footer-section2 {
margin-top:1.5em;
color:#f5f5f5;
margin-left:2em;
}

.site-footer-section3 {
margin-top:1.5em;
color:#f5f5f5;
}
.site-footer-section3C {

color:white;

}
.site-info-section2 {
margin-top:1.5em;
color:#9c9c9c;
opacity:1.2;

}

.site-info-section3 {
margin-top:1.5em;
color:#9c9c9c;
opacity:1.2;

}

}


deze is mij header.php code:

Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<div class="container-fluid">
 <div class="row">  
<div class="site-header col-sm-12 col-md-12 col-lg-12 col-xl-12 ">
            

 <div class="row">



  <div class="site-title col-sm-4 col-md-4 col-lg-4 col-xl-4">
<h5>David's APK Station</h5>
               <div class="row">
                          <div class="site-description text-nowrap col-sm-4 col-md-4 col-lg-4 col-xl-4">
<h5>Reparatie & Onderhoud<br> Alle Merken Auto's </h5></div>  </div>  </div>                                                              
                                                                        
                                              
            <div class="site-logo col-sm-4 col-md-4 col-lg-4 col-xl-4">  </div>        
                        
                      
                       <div class="site-header-tekst col-sm-4 col-md-4 col-lg-4 col-xl-4"><h5>   </h5>       </div>
        </div> </div>  </div>
 <div class="container-fluid">
<div class="row">                            
<div class="site-header-image">
        <?php
echo do_shortcode('[smartslider3 slider=157]');
?>

 </div> </div> </div>
<div class="container-fluid1">
<div class="row">
<div class="site-image-board">  


<div class="row">
<div class="site-image-boardT1 text-nowrap  col-sm-4 col-md-4 col-lg-4 col-xl-4">
<h6> Welkom bij David's Auto Service</h6></div>
<div class="site-image-boardT2 text-nowrap  col-sm-4 col-md-4 col-lg-4 push-lg-3 col-xl-4">
<h6>40 jaar vaak ervaring </h6></div>

<div class="site-image-boardT3 text-nowrap col-sm-4  col-md-4   col-lg-4 push-lg-8 col-xl-4">
<h6>BMW Specialist(25 jaar ervaring)</h6></div>

</div>  </div> </div> </div>


deze is mij footer.header code:

Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<div class="container-fluid2">
<div class="row">                  
<div class="site-footer">
                            
           <div class="row">
                  <div class="site-footer-section1 col-sm-4 col-md-4 col-lg-4 col-xl-4">Je krijgt altijd vooraf een<br>
 prijsopgave, dus geen verrassingen<br>
 achteraf.  </div>
                  
                  <div class="site-footer-section2 col-sm-4  col-md-4  col-lg-4 col-xl-4">Gecertificeerde eerste monteur<br>
                                                                    Keurmeester(25 jaar ervaring)  </div>
                      
                             <div class="site-footer-section3 text-nowrap  col-sm-4 col-md-4 col-lg-4  col-xl-4"> David's Apk Station <br>
                                                                 Klompenmakerstraat 123<br>
                                                                  3194 DD Hoogvliet RT<br>
                                                                  010-2160660
                    <div class="row">
                  <div class="site-footer-section3C col-sm-4 col-md-4 col-lg-4 col-xl-4">                                                              Email:[email protected]    </div> </div>  
          


  </div> </div> </div> </div>
                  
                
 
        
<div class="container-fluid1">
              <div class="row">
<div class="site-info">
 <div class="row">
               <div class="site-info-section1 col-sm-4 col-md-4 col-lg-4 col-xl-4">  </div>

                 <div class="site-info-section2 col-sm-4  col-md-4  col-lg-4 col-xl-4">40 jaar vaak ervaring </div>

        <div class="site-info-section3 col sm-4 col-md-4 col-lg-4 col-xl-4">BMW Specialist(25 jaar ervaring)</div>
   </div>
      </div> </div>    </div>


ik heb van alles geprobeerd maar ik kunde het probleem niet oplossen. ik heb ook via inspect bekijken maar ik kunde zelf niets vinden.

mij url is :http://webdesignleren.net/

wat kan het probleem of het oorzak zijn dat het background kleur wordt niet vertoond?

Dank U Wel
johannes

Edit:
Titel kort en bondig gemaakt. Hele zinnen zijn niet nodig.
Gewijzigd op 17/06/2017 22:31:14 door - Ariën -
 
PHP hulp

PHP hulp

29/03/2024 01:49:38
 
Jan te Pas

Jan te Pas

16/06/2017 22:39:15
Quote Anchor link
Ik zie dat je de kleur #074e8 als background color gebruikt. En die kleur zie je dus ook. Dus als je een andere kleur wilt hebben, moet je in de header en de andere locaties background-color: veranderen. Succes.

Toevoeging op 16/06/2017 22:43:51:


Ik zie dat je de kleur #074e8 als background color gebruikt. En die kleur zie je dus ook. Dus als je een andere kleur wilt hebben, moet je in de header en de andere locaties background-color: aanpassen. Kijk in de css.
 
Johannes davidian

johannes davidian

17/06/2017 22:28:17
Quote Anchor link
Dank U Wel,
ik heb deze codes buiten media query van bootstrap gezet en doordat het gelukt,
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.site-header {
background-color:#074e68;
border:0.0625em solid #074e68;
height:6em;
}
.site-image-board {
border:0.0625em solid #074e68;
height:3em;
background-color:#074e68;
margin-top:0em;
}
.site-footer {
border:0.0625 solid #074e68;
height:10em;
background-color:#074e68;

}

.site-info {
border:0.0625 solid #333333;
height:4em;
background-color:#333333;

}


maar ik begript niet waarom deze codes (background kleur en height) werkt niet onder media query van bootstrap

johannes
 
Danny von Gaal

Danny von Gaal

18/07/2017 22:42:38
Quote Anchor link
Je media query's worden alleen gebruikt wanneer de pagina een bepaalde grootte heeft.
Kleiner dan 1024px breed bijvoorbeeld of 800px hoog.

Als je wilt dat de background-color altijd die kleur toont dan moet je dit daar buiten plaatsen zodat het altijd gebruikt wordt.
 
Johannes davidian

johannes davidian

19/07/2017 10:31:25
Quote Anchor link
dank u Wel,
U hebt gelijk.
johannes
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.