Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2007
    Posts
    32
    Plugin Contributions
    0

    Default Center Image on Main Page

    I've been trying to add an image to the front page. Found a tutorial and have done multiple searches, I did this

    .centerBoxWrapper {
    border: 1px solid #006699;
    height: 1%;
    margin: 1.1em 0;
    padding-bottom: 20px;
    background-image: url(../images/fourpictures.png);
    background-position: bottom center;

    background-no-repeat;
    }


    iun my style sheet to no avail. It is not even showing that a picture/image has been added (for instance, no red X). Image is in my images folder.

    Do I need to change this elsewhere too? Any help would be appreciated!
    Kathy

  2. #2
    Join Date
    Sep 2007
    Location
    Somewhere in Southern Cal
    Posts
    330
    Plugin Contributions
    0

    Default Re: Center Image on Main Page

    Hello Kathy:
    Here is what you need to do.
    1. you will need to use a FTP in order to change the permission for define_main_page.php which is located at
    includes/languages/english/html_includes/define_main_page.php
    change this to 777. Make sure you write down what the permission set was before you change it.
    2. Next goto admin>Tools>Define Page Editor
    Next select a file to edit menu and select define_main_page.php
    3. You will also see TEXT EDITOR and a box next to it Select HTMLarea

    Here is where you can add text or images (you can center the text or image)
    Click save, review you site to make sure yoy like it. if so then go
    back to your ftp and change the permission back to it org setting.

    You might need to replace your stylesheet.css.

    nomad
    Last edited by nomadrw; 17 Oct 2007 at 07:55 PM.

  3. #3
    Join Date
    Oct 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: Center Image on Main Page

    Nomad, thank you for the response!
    I've changed permissions, gone to the area, and see the wysiwig but when I try to upload an image into the editor all it allows me to do is search for a url for the image, not search my documents for where it is located on my cmoputer. Also can't copy and paste into the wysiwig. Any ideas?

    Thank you again! Do you always need to change [permissions to change the php?

  4. #4
    Join Date
    Oct 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: Center Image on Main Page

    aha, got a red X so I'm getting somewhere

  5. #5
    Join Date
    Sep 2007
    Location
    Somewhere in Southern Cal
    Posts
    330
    Plugin Contributions
    0

    Default Re: Center Image on Main Page

    I think I know what you are asking.
    When you load a file I would save your image in the image folder.
    You can make a new folder for that image.
    Make sure you write down or copy the path because you will need it.
    Lets say its something like this you (need to add your domain name) so
    http://www.yourdomain/images/foldern...urpictures.png. Place your image in that folder.
    Once that is done go back to the define_main_page.php and open it again. Click on the icon that looks like a frame. A Insert Image window will open paste or type the path in the of the Image URL:
    http://www.yourdomain/images/foldern...urpictures.png.
    Click the Preview Button it should show your image if it does not then the path is not right.
    Finish the rest of the info.
    that's it

    Your second question all the define pages need to be change to 777 in order to make changes. You need to reset the permission once you have complete or update those files. If you do not it will allow other to hack.

    hope that helps you
    nomad

  6. #6
    Join Date
    Sep 2007
    Location
    Somewhere in Southern Cal
    Posts
    330
    Plugin Contributions
    0

    Default Re: Center Image on Main Page

    You path is just wrong.
    Look a my thread above and you should get it.

    good luck
    nomad

  7. #7
    Join Date
    Oct 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: Center Image on Main Page

    Ah Nomad you ROCK! I got it, thanks so much

    Kathy

  8. #8
    Join Date
    Sep 2007
    Location
    Somewhere in Southern Cal
    Posts
    330
    Plugin Contributions
    0

    Default Re: Center Image on Main Page

    you are welcome.

    Happy Zenning.
    nomad

 

 

Similar Threads

  1. Replacing Main Page Center Define Area Image
    By appals in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Aug 2011, 04:53 AM
  2. How do I add Banner (Image) in the center column on the main page?
    By kubio in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Mar 2009, 06:59 PM
  3. Center Text under image on main page?
    By HIJACKER in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Nov 2007, 11:11 PM
  4. Random Image on Main Page Center Column
    By bekinky in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Nov 2007, 05:01 AM
  5. how do you place a image in the center of main page
    By graphx in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 Mar 2007, 03:02 AM

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