XF 1.x More notices - Gamer Time

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

  • notice5.png
    notice5.png
    86.6 KB · Views: 14

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
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.