bosss

Registered
Hello

i tried add 5 notices to my Gamer time - but 5th notice is just blank picture. i Uploaded notice5.jpg and made notice 5 - just like 1, 2, 3 and 4th.

Must i change something in extra css - mean this code:

.gtNotice5
{
background: url(@imagePath/xenforo/sources/notice5.png) no-repeat center center;
background-size: cover;
}

And what is notice5.png? There is nothing like that in url(@imagePath/xenforo/sources/

regards

bosss
 

Attachments

bosss

Registered
Title = 5

html is:
<div class="gtNotice gtNotice5">
<div class="noticeMessage">
<h4>Media - Arcade - Libar</h4>
</div>
</div>
 

bosss

Registered
Just tested to put my image like notice1.jpg and same result - blank notice - picture.
Uploaded my image - 1117-228 jpg - 56kb and works not.

regards bosss
 

Russ

Pixel Exit Staff
You're loading a .png in the CSS when it's .jpg

your css:

Code:
.gtNotice5 {
    background: url(styles/gamertime/xenforo/sources/notice5.png) no-repeat center center;
    background-size: cover;
}
needs to be notice5.jpg
 

bosss

Registered
But it was in instructions - png - and worked with png - mean 4 images but not 5 th.
will test

regards

bosss
 

Russ

Pixel Exit Staff
Now works - :):)
The instructions are just general ones, you're still calling a background image so if your image is a jpg/png/gif whatever you need to update the CSS accordingly.

Let me know if you have any further questions.
 

bosss

Registered
You mean that we should have 5 codes in extra css - if we have 5 notices?

mean those codes:

.gtNotice5 {
background: url(styles/gamertime/xenforo/sources/notice5.png) no-repeat center center;
background-size: cover;
}
 

Russ

Pixel Exit Staff
You mean that we should have 5 codes in extra css - if we have 5 notices?

mean those codes:

.gtNotice5 {
background: url(styles/gamertime/xenforo/sources/notice5.png) no-repeat center center;
background-size: cover;
}
No I mean that if your image is not a png format and is a jpg, you can't set .png in the css, you need to set .jpg.
 

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.