Results 1 to 11 of 11

Thread: Static Background
      
   

  1. #1
    asirimarco's Avatar
    asirimarco is offline Brigadier General
    Join Date
    Jun 2006
    Location
    Indiana
    Posts
    1,207

    Default Static Background

    I would like to put a background on my index page that doesn't move when scrolling through the page - my pages are PHP
    I followed these directions I found in the forum but they are not working for me - any suggestions?

    Enter the code below into the page properties html area under "Between the head tag" replacing the part in red with your own image that you will of uploaded to your image directory & removing the part in blue if you want a single image that is repeated on the whole page.

    <body style="background: url('http://www.collectors-info.com/images/Collector-bird-jackdoor.gif') no-repeat center fixed;">

    My image has been uploaded to FTP - I put code in correct area - I want to use a faded photo jpg that I've reduced in size.

  2. #2
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,612

    Arrow Re: Static Background

    Which site - what URL??

    Myself not a "coder," I would think that as a CSS 'Style' this method needs to have you add your background in the normal manner via PROPERTIES for this defined Style to be applied to, so if you have not added your background image in the normal manner, try doing so, and see if the newly defined Style properly presents.
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

  3. #3
    asirimarco's Avatar
    asirimarco is offline Brigadier General
    Join Date
    Jun 2006
    Location
    Indiana
    Posts
    1,207

    Default Re: Static Background

    the url is http://www.woodspiritsandleatherartstudio.com its the index page
    I've added the background image in the normal manner and and tried without adding it - works neither way. with the image as background it tiles and doesn't do what I want it to so.
    and now I have another problem there is a line of code at the very top of the page that I don't know how to get rid of.

  4. #4
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,612

    Default Re: Static Background

    The code is from improperly establishing your h1 tag (<h1>, </h1>).... most likely you either did not include a symbol, or accidentally deleted the prefacing "<" of the following ">" in the scripted H-Style code.

    Apparently pasting in code and getting things to work the way you want is frustrating you more than it seems to be worth --- at this point. You may wish to remove all your advanced formatting and start again from the beginning.

    Like I say .. not being a coder, I can't pinpoint the Static Background solution for you, since it seems to have worked for others quite well. Maybe Gen. Naval will visit this and offer some asistance, or you could leave a PM for him with a link to the thread to get his attention ....
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

  5. #5
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Static Background

    Did you try simply Page Properties -> Formatting -> Background: Fixed Background ?

    Of course must also set to No Repeat and the image must be large enough to covr the page.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  6. #6
    asirimarco's Avatar
    asirimarco is offline Brigadier General
    Join Date
    Jun 2006
    Location
    Indiana
    Posts
    1,207

    Default Re: Static Background

    Thank you both - I finally figured it out then deceided not to do it. but here it is on a throwaway page http://www.woodspiritsandleatherarts...om/aboutus.php
    Put code in"between the head tag"
    <body background="url of image" style="background-attachment: fixed">
    Vasili - I just redid the page to get rid of the unwanted coding. It was good to walk away from it for awhile and come back fresh.
    again thanks for the help on what will probably be the first of many questions - now I have to figure out the contact us form........

  7. #7
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Static Background

    You don't need to add any code! BV will do it for you if you select "Background fixed".

    That is, IF you ever decide to have a static background.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  8. #8
    asirimarco's Avatar
    asirimarco is offline Brigadier General
    Join Date
    Jun 2006
    Location
    Indiana
    Posts
    1,207

    Default Re: Static Background

    I must be having a brain fa*t - cause I can't find "Background fixed" I go to page properties> formatting> background - and all I see is color gradient color gradient style and image what am I missing? below this is links and fonts
    if I put an image in I still don't see a way to make it fixed
    help!!!

  9. #9
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: Static Background

    Sorry, you are right, I was looking at a next-to -come version (not available in public) and got confused.

    The code you used (posted above) is fine, it is the same that BV will be adding when this future version becomes available.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  10. #10
    asirimarco's Avatar
    asirimarco is offline Brigadier General
    Join Date
    Jun 2006
    Location
    Indiana
    Posts
    1,207

    Default Re: Static Background

    thank you thought I was going nuts

  11. #11
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    13,612

    Default Re: Static Background

    Was hoping someone else would step up to point that out ... Glad it has been finally resolved!
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49