Where do I upload CSS background-images? Options
Niels Erik
Posted: Wednesday, February 20, 2008 11:06:35 AM
Rank: Newbie

Joined: 2/19/2008
Posts: 7
Location: Hillerød, DK
Hi

Having the Wizard package I see the following example of a CSS reference in the wizard-stylesheet:

Code:

background-image:url(wizard/background_top.gif);


I have created my own Stylesheet and it works. But I can't get my own images to show up when referenced from the stylesheet.
Can't find a way to upload image-files when editing the stylesheet via the GUI-section (Settings). And FTP-uploading images into a created folder doesn't seem to help either.

What am I missing here, please?

I'm a newbie in web-design but enjoy (e)learning while working to build our church-website with Umbraco.
We are hosting it ourselves. So I have unlimited access to the site.

Thanks in advance
Niels Erik
Richard
Posted: Wednesday, February 20, 2008 5:27:01 PM
Rank: Enthusiast

Joined: 9/7/2007
Posts: 20
Location: UK

We use FTP to upload images for basic site design such as background images into /images directory, then reference them in the style sheet (Settings/Stylesheets) with:

Code:
background-image: url("../images/rightArrow.gif");
stephan@tewonder.se
Posted: Wednesday, February 20, 2008 6:57:41 PM

Rank: Devotee

Joined: 11/9/2006
Posts: 47
Location: Stockholm
Make a habit of using absolute references, i.e background-image:url(/images/yourBgImage.gif);

It's better practice, since you don't have to worry about directory structures that way.

//S
Niels Erik
Posted: Thursday, February 21, 2008 12:13:13 AM
Rank: Newbie

Joined: 2/19/2008
Posts: 7
Location: Hillerød, DK
Richard wrote:

We use FTP to upload images for basic site design such as background images into /images directory, then reference them in the style sheet (Settings/Stylesheets) with:

Code:
background-image: url("../images/rightArrow.gif");



Now I know I'm on the right track.
Tomorrow I must check if I have a file-permissions problem with my FTP upload.

Thanks a lot
Niels Erik
Niels Erik
Posted: Wednesday, February 27, 2008 11:20:52 AM
Rank: Newbie

Joined: 2/19/2008
Posts: 7
Location: Hillerød, DK
Hello

The problem was NOT with Umbraco - it was FTP related!

My FTP entry had been directed to a backup copy of our site.
Thus I was able to upload and create directories all right, but in the wrong place of course!

Pretty obvious looking back: Troubleshooting is hard indeed when you are looking at the "wrong site" :whistle:

Thanks again
Niels Erik
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.