Announcement

Collapse
No announcement yet.

Background Image

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Background Image

    I've tried to convert the color into an image to no avail. I'm pretty sure I am not doing something correctly.

    Can someone give me a quick syntax for using an image in the background: http://www.mydomain.com/forums/images/image.jpg

    I am placing it in the "Image" portion of doc_background and it does not work. The file path is presumably my issue.

  • #2
    Same problem, background just appears white when applied, I'm using /images/customfolder/image.png

    Comment


    • #3
      Fixed - quick search here resulted in this syntax:

      url(images/customfolder/image.png)
      Last edited by Grimster; Mon 28th Dec '09, 6:25am.

      Comment


      • #4
        Cool, thanks. I had used that syntax before, but wasn't sure if it was still Kosher in the new version. I also had forgotten it.

        Comment


        • #5
          Does this mean there is supposed to be an actual folder called "customfolder" in the images folder?

          Comment


          • #6
            Originally posted by fayax View Post
            Does this mean there is supposed to be an actual folder called "customfolder" in the images folder?
            I have no idea, but mine is not setup that way. It might just be how he has his server side files organized.

            Comment


            • #7
              SO TX, did you get your background to work with and image?


              I remember making a post like this but kinda lost track of it..let me look for that too.

              Comment


              • #8
                http://www.vbulletin.com/forum/showt...ariable-called thats what I was trying to find out here also to be able to change the color or put an image and have it repeat x y.

                Comment


                • #9
                  I was literally saying that was the input, the customfolder thing is just part of the path to the image - replace with your path - thus:

                  Click image for larger version

Name:	image.jpg
Views:	1
Size:	33.1 KB
ID:	3677407

                  The "url" bit should stay where it is along with the brackets, just change your path to the image.

                  Comment


                  • #10
                    Ah thanks Grimster! appreciate all the help.

                    Comment


                    • #11
                      Not working for me. Still white.



                      Comment


                      • #12
                        Incidentally, I had a problem where vB was stripping out the background-image code.

                        Eventually I realized it was because I included ' characters inside the brackets.

                        Comment


                        • #13
                          Ahhh! Got it. Why doesn't VB tell you what syntax to use???? I was just adding the absolute URL and then I tried the relative. Who knew you had to use the actual CSS format! UGH!
                          http://www.WebsiteBabble.com
                          The place where Webmasters and Bloggers connect.

                          Comment

                          Related Topics

                          Collapse

                          Working...
                          X