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: 148
Size:  57.1 KB

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

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    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

  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
    Location
    Arizona
    Posts
    27,761
    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

  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
    Location
    Arizona
    Posts
    27,761
    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

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    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

  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. v150 How do I align the Product Price Block to the right of the Main Image ?!?!
    By jnb41578 in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 8 Feb 2014, 08:08 PM
  2. Need help placing logo in the main page
    By Arunachala in forum Addon Templates
    Replies: 12
    Last Post: 14 Jan 2012, 10:20 PM
  3. 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
  4. Placing a link directly on the Main Page
    By wwwursa in forum General Questions
    Replies: 6
    Last Post: 1 Aug 2008, 12:45 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR