Avatar of Camillia
CamilliaFlag for United States of America

asked on 

Missing Image - but it's in the folder

I bought a template from here

http://demo.truethemes.net/Karma-Site-Template/

From "Pages", choose "homepage - jquery2". That's the design I'm implementing.

I uploaded it and the "TV" like image is not there. The image is "bg-home-banner.png" and I see it in the folder.

http://stagingbd.com

Why isn't it showing up??
CSS

Avatar of undefined
Last Comment
Rob
Avatar of OmniUnlimited
OmniUnlimited
Flag of United States of America image

Odds are your url for the image is incorrect.  I see you have it set up in style.css on line 655 as "images/_global/bg-home-banner.png".  You need to check and make sure that style.css is relative to the image using that path.

Also, not trying to insult you, but everyone makes mistakes, you are certain it is in the proper folder on the server (vs. on your local machine)?
SOLUTION
Avatar of Rob
Rob
Flag of Australia image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Camillia
Camillia
Flag of United States of America image

ASKER

Let me double check. Not insulted :)
ASKER CERTIFIED SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Rob
Rob
Flag of Australia image

That's what I was saying in my previous post that all urls should begin with the / not "images" or ".."
Um, tagit, not to be contrary, but I work heavily in WordPress.  Every image I use begins with just url("image/someimage.jpg"); or some variation of that.  The use or non-use of the leading "/" strictly depends on the design of the website.
Avatar of Camillia
Camillia
Flag of United States of America image

ASKER

This is a template I bought and all the images where "image/whatever.jpg"
Avatar of Rob
Rob
Flag of Australia image

That will only work where the images folder are in the same directory as the script running them. If the images are in the root of the sure then you'll always need to reference as from the root, ie /
Avatar of Rob
Rob
Flag of Australia image

OmniUnlimited, I agree and WordPress runs off a script in the root at all times which is why images/works
CSS
CSS

Cascading Style Sheets (CSS) is a language used for describing the look and formatting of a document written in a markup language. Usually used to change web pages and user interfaces written in HTML, it can also be applied to any kind of XML document. CSS is designed primarily to distinguish the content of a document from its presentation.

43K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo