Background Image

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TXGunTalk
    Member
    • Feb 2008
    • 49
    • 3.6.x

    [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.
  • Grimster
    New Member
    • Nov 2009
    • 22
    • 4.0.0

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

    Comment

    • Grimster
      New Member
      • Nov 2009
      • 22
      • 4.0.0

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

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

      Comment

      • TXGunTalk
        Member
        • Feb 2008
        • 49
        • 3.6.x

        #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

        • fayax
          Senior Member
          • Dec 2009
          • 130
          • 4.0.0

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

          Comment

          • TXGunTalk
            Member
            • Feb 2008
            • 49
            • 3.6.x

            #6
            Originally posted by fayax
            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

            • fayax
              Senior Member
              • Dec 2009
              • 130
              • 4.0.0

              #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

              • fayax
                Senior Member
                • Dec 2009
                • 130
                • 4.0.0

                #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

                • Grimster
                  New Member
                  • Nov 2009
                  • 22
                  • 4.0.0

                  #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

                  • fayax
                    Senior Member
                    • Dec 2009
                    • 130
                    • 4.0.0

                    #10
                    Ah thanks Grimster! appreciate all the help.

                    Comment

                    • x626xblack
                      Senior Member
                      • Oct 2009
                      • 490

                      #11
                      Not working for me. Still white.



                      Comment

                      • j.d.p.
                        New Member
                        • Sep 2005
                        • 7

                        #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

                        • lisa3876
                          Member
                          • Apr 2007
                          • 37

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