Results 1 to 9 of 9
  1. #1
    Join Date
    Jul 2009
    Posts
    5
    Plugin Contributions
    0

    Default Placing an image on the main page wont align correctly

    version 1.3.8a

    testing on a localhost


    I am trying to edit the main page via the admin panel to place an image with text wrapped around it but whenever there is no text below the image, the image flows into the section ("feature products") below.

    Name:  main_page.jpg
Views: 101
Size:  57.1 KB

    Why does this happen? and how can i fix it?

  2. #2
    Join Date
    Aug 2005
    Posts
    26,012
    Plugin Contributions
    9

    Default Re: Placing an image on the main page wont align correctly

    You are going to have to upload this to a host so that we can access it
    Zen-Venom Get Bitten
    Get Your Business Found

  3. #3
    Join Date
    Jul 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Placing an image on the main page wont align correctly

    ok

    here you go

    uploaded it to a host and its the same no matter the template I use.

    You can see that the header for the "new product for July" dont seem to see the image, and the image overlaps the header/separator. If I place enough text to fill below the image then everything looks normal, but shouldnt it format correctly even if just the image file is there?

  4. #4
    Join Date
    Aug 2005
    Posts
    26,012
    Plugin Contributions
    9

    Default Re: Placing an image on the main page wont align correctly

    Because you have used <p> tags you will have to correct this and/or add <br/> between para's
    Then add and adjust the following entries to your stylesheet
    Code:
    #indexDefaultMainContent {
    clear: both;
    height: 370px;
    }
    #indexDefaultMainContent p {
    float: right;
    text-align: left;
    width: 90px;
    }
    Zen-Venom Get Bitten
    Get Your Business Found

  5. #5
    Join Date
    Jul 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Placing an image on the main page wont align correctly

    I have made the adjustments you suggested. You can see the result by clicking the link again.

    here

    not pretty

    i have played with the number for the width, and that will fix the present problem but leaves a lot of white space on the right.

  6. #6
    Join Date
    Aug 2005
    Posts
    26,012
    Plugin Contributions
    9

    Default Re: Placing an image on the main page wont align correctly

    Did you add <br/> between paragraphs???
    Zen-Venom Get Bitten
    Get Your Business Found

  7. #7
    Join Date
    Aug 2005
    Posts
    26,012
    Plugin Contributions
    9

    Default Re: Placing an image on the main page wont align correctly

    Change the following:
    Code:
    #indexDefaultMainContent p {
    float: left;
    text-align: left;
    width: 360px;
    }
    Zen-Venom Get Bitten
    Get Your Business Found

  8. #8
    Join Date
    Jul 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Placing an image on the main page wont align correctly

    I have tried what you suggested but still unsatisfactory result.

    I am very disappointed in the editing and formating tools in this editor.

    plus I dont think this home page area has been handled properly.

    I would expect it to behave like a frame but it doesnt seem to.

    I want to have a well defined space in which i can control the text flow, the margins, and how the text flow around images. The frame should restrict the image size so even if it is increased it should not flow outside the frame, might only display a part of the image but that's better than having it ruining the site formatting.

    Can this be done?

  9. #9
    Join Date
    Jul 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Placing an image on the main page wont align correctly

    I have discovered that many of the issues were related to the template I was using. I have found a template that handles this area a little better.

    ps: adding a few <br/> at the end of the text also helped. You just have to add enough to push the text area below the bottom of the image.

 

 

Similar Threads

  1. Placing an image on my contact me form page
    By buildingblocks in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Mar 2009, 01:31 AM
  2. Placing a link directly on the Main Page
    By wwwursa in forum General Questions
    Replies: 6
    Last Post: 1 Aug 2008, 12:45 PM
  3. Unable to display main page correctly
    By ronalgoh in forum General Questions
    Replies: 2
    Last Post: 12 Mar 2008, 05:34 PM
  4. Categeries wont display on main page
    By Kruna in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Feb 2008, 03:23 AM
  5. Heeelp! Main page align
    By it_maniac in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 15 Sep 2006, 02:40 AM

Bookmarks

Posting Permissions

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