Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Jul 2006
    Location
    Perth Australia
    Posts
    30
    Plugin Contributions
    0

    Default Re: Main page background image problem!

    I haven't scaled the dimensions properly yet but instead of using a small strip and repeating, I wanted to just plonk the largescale image in there

    The image is here : http://goodair.com.au/includes/templ...ge/testbox.gif

    btw do you have msn messenger ?

  2. #12
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Main page background image problem!

    Consider that the content is dynamic and can change in amount based upon several things and why a fluid layout is preferable...

    But to insert this image: find this in your css
    Code:
    .centerColumn, #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix {
    	padding: 0.8em;
    	}
    and change to this
    Code:
    .centerColumn {
    	background-image: url(../images/main_page/testbox.gif);
            background-repeat: none;
    	border: 1px solid;
    	border-color: #000000;
    	margin: 3em;
    	padding: 0.8em;
    	}
    
    #bannerOne, #bannerTwo,  #bannerThree,  #bannerFour,  #bannerFive,  #bannerSix {
    	padding: 0.8em;
    	}
    Adjust the margins & padding to acheive the placement that you want, you can also use/add margin-left or right or top & bottom for more precise placement

    Then enter this in the admin > tools > define page editor > main_page.php file
    Code:
    <img src="includes/templates/gloss_blue/images/main_page/box1.gif">
    <img src="includes/templates/demo/images/welcome.png">
    <img src="includes/templates/gloss_blue/images/main_page/summerspecials.gif">
    <img  src="includes/templates/gloss_blue/images/main_page/exdemo.gif">
    <img  src="includes/templates/gloss_blue/images/main_page/contact.gif">
    Add styling...or use the html editor and the place image function

    No messenger but email at my signature

  3. #13
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Main page background image problem!


    Scrap this part of define main page code
    Code:
    <img src="includes/templates/demo/images/welcome.png">

  4. #14
    Join Date
    Jul 2006
    Location
    Perth Australia
    Posts
    30
    Plugin Contributions
    0

    Default Re: Main page background image problem!

    Thanks kobra!

    It worked :) I was just looking at that section thinking it had to be here being labelled the centercolumn, just don't have enough experience to work out. I'm usually learning by modifying existing code so not really sure yet how to add new things in.

    About the tables, at the moment I'm using tables just to position the images etc around the page. I understand css is more efficient your replacement code just shows, but how do I go about positioning items? Is it to do with padding?

    And is there some information somewhere on this website that talks about padding and how to manipulate it?

    Thanks Kobra,

    Appreciate the time you've spent helping out.

  5. #15
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Main page background image problem!

    The items in the defines editor can be colored, font changed etc by using the html editor. place line spaces, left align center or right align,,,like a word processor of sorts. Or you can hand code it.

  6. #16
    Join Date
    Jul 2006
    Location
    Perth Australia
    Posts
    30
    Plugin Contributions
    0

    Default Re: Main page background image problem!

    Got it,

    cheers (Y)

  7. #17
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Main page background image problem!

    If you manually do the

    img.....
    img..../><br>
    img...

    As long as there is space. the first 2 will be inline(same line). add the /><br> to the tail/end of the second img and the next will be below

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Background image not showng on main page
    By HeyIts007 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 5 Dec 2011, 01:37 PM
  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. Background Colour/Image Main Page
    By gee38l in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 9 Jan 2009, 03:25 PM
  4. Background image on main page
    By johnagr in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Aug 2008, 01:49 AM
  5. Background image on main page
    By JHouston in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2008, 08:24 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