Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2011
    Posts
    93
    Plugin Contributions
    0

    Default image background for the define main page

    I had this working a couple of times but when I try and edit the define main page it just drops the code for the background image. Can't figure why it worked a couple of times then just drops it.

    Here is the code I'm trying to use in the define main page in the html editor
    Code:
    <div style="background-image: url("http://xxxxxxxxxx/images/parchment.png");">
    <br />
    I guess I should be using css for this but couldn't figure out what to edit for it
    Best Regards,
    Scott
    My test site

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: image background for the define main page

    Better to do it in the stylesheet:

    #indexDefault {background-image: url(../images/yourimage.jpg);

  3. #3
    Join Date
    Jul 2011
    Posts
    93
    Plugin Contributions
    0

    Default Re: image background for the define main page

    Better to do it in the stylesheet:

    #indexDefault {background-image: url(../images/yourimage.jpg);
    I can't find #indexDefault anywhere in the stylesheet. Do you mean for me to put that in? Wouldn't that make it a background for the whole page? I am just trying to get a background image for the area that the define main page area covers
    Best Regards,
    Scott
    My test site

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: image background for the define main page

    Yes, add it to the stylesheet.

  5. #5
    Join Date
    Jul 2011
    Posts
    93
    Plugin Contributions
    0

    Default Re: image background for the define main page

    Thanks, that did it.
    Best Regards,
    Scott
    My test site

 

 

Similar Threads

  1. Seamlessly Match the Colored Background Image onto the "Define Main Page" Area
    By cleverpork in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Aug 2011, 12:32 AM
  2. Background image in the main page section
    By reneet in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Mar 2010, 10:35 PM
  3. Apply a different image background for the home page only?
    By arniesbarmyarmy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Nov 2009, 07:36 PM
  4. How to determine maximum width for background image on main page
    By bobguindon in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 May 2007, 07:26 PM
  5. This is the main define statement for the page for english when no template defined f
    By ginginca in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Nov 2006, 08:15 PM

Posting Permissions

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