Announcement

Collapse
No announcement yet.

Company Logo Image

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Company Logo Image

    Hello. I'm making my first website using V8 and I've been having a bit of trouble with the position of the company logo image at the top of the page. The image looked fine in the design mode yet when I go to preview it the logo doesn't center above the rest of the website in my web browser.

    The coding in design mode I currently have is:



    I assume it needs a piece of coding to get it to centralise but I am not sure what this should be or where it should go. Can anybody tell me what I need to do to get this to align correctly please?

    Thank you, Nathan

    #2
    Welcome to the forum Nathan.
    Try a web page preview and see it it centers then.

    Comment


      #3
      Looking at the code, the BrochureLogoImage and the img src (lines 1 &2) are outside ofthe <HTML> tags (line 4). I would expect this to give unpredicable results

      Comment


        #4
        Thank you for the welcome Mr. Rounding

        I have just tried relocating lines 1 and under line 4 in the code with no change in results.

        This is what happens when i preview it in web page layout:

        Full screen view




        Window view

        Comment


          #5
          What Jo mentioned above is the problem.

          Copy from BrochureLogoImage to .jpg"/>
          and place it further below, below the start of the body tag. Look for something like this:
          <body onload="PreloadImages">
          and then add your ealier code:
          BrochureLogoImage......jpg"/>

          In fact you should only need BrochureLogoImage not the other <img....> tag.

          Comment


            #6
            Right, firstly I tried removing the tag and moving the BrochureLogoImage below <body onload="PreloadImages"> This however, once I had applied my changes meant my image didn't load at all.

            Screenshot:



            So I tried adding the img tag back in and it came back in the same position as it started in and when I tried the preview again it still acted the same way.

            Screenshot:



            Any other ideas? suggestions?

            Comment


              #7
              You need to take more care about where you are placing the image in the code.

              Take a proper look at the CSS and how it postions stuff on the page.

              ie class page_header
              class page_header_content
              class page_header_logo_container

              Don't forget there are 2 sets of page layouts, one for the main shopping pages the other for what we call brochure pages.

              Without seeing all of your screen dumps it seems to be you are hacking a brochure image variable into the shopping layouts.

              The reason I think this is the table definition containing CompanyLogoImage inside the classes I listed above.

              The solution could be as simple as giving CompanyLogoImage a value ie company-logo-4.jpg and ditching the BrochureLogoImage.

              But in all honestly you should go back to read the manual and work through the getting started guides, as you have abit of a dogs dinner there.

              I notice you have used the variable BrochureLogoImage and you have img src = Frame Me By Rod/not catalog/comany logo4.jpg. Check out current threads on having all your images in thesite one folder as refering back to not catalog will cause you allsorts of problems in the long term.

              Something is not correct as you have 3 images defined but only one showing which is some acheivement.

              Comment


                #8
                Nathan.
                Can I suggest that you attach the pics of the pc-screen to the thread rather than embed them into the actual message - one of the pics alone is 155k and if your'e on a dial up facility or WAP - thats a lot of data being streamed.

                its easy to click on the attached file if you want to look at the pic.

                Comment


                  #9
                  My apologies. I didn't realise the images were soo big until now.

                  Pinbrook: Only just realised I was in the wrong section I have now sorted that.

                  In the site options menu I set what the company logo image and brochure logo image were meant to be but the images stopped working as soon as I applied it and that was where my problems began (before i added the img tag).

                  However I think you are right. I am off to do some testing now and I will let you know how I get on.

                  Comment


                    #10
                    Fixed, thanks everyone

                    Comment

                    Working...
                    X