Announcement

Collapse
No announcement yet.

Product Image on centered on top of page

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

    Product Image on centered on top of page

    I am going to be using one product per page and want to have the image centered on top of the description instead of to the left or right. Anybody have an idea on how to do this?

    Niels

    #2
    you will need to edit the html of the productline template you are using

    ie productline.html

    or create a new template based on one of the exsisting productline templates

    Comment


      #3
      I have everything centered under the picture like I want it.
      The only thing I cannot figure out is how to center the picture onto the page, it is on top but still justified to the left.

      Any code/help would be appreciated

      Here is my act_productlinecenter that I have (how do I get the picture centered on top?

      <!-- ProductLine HTML begin -->
      <!-- Insert HTML for the top of the individual product -->
      NETQUOTEVAR:INCLUDE Act_ProductSeparator.html
      NETQUOTEVAR:ENDSEPARATOR
      NETQUOTEVAR:PRODUCTFORMBEGIN
      <tr>
      <valign="TOP" align="CENTER">
      NETQUOTEVAR:TEMPLATEBEGINXML NETQUOTEVAR:PRODUCTIMAGE </td>
      </TR><TR><TD ALIGN="CENTER" VALIGN="TOP">
      <a name="NETQUOTEVAR:PRODUCTANCHOR"><span class="actregular"><b>NETQUOTEVAR:PRODUCTNAME</b></span></a>
      <span class="actxsmall">NETQUOTEVAR:PRODUCTREF <br>
      NETQUOTEVAR:PRODUCTDESCRIPTION&nbsp;NETQUOTEVAR:EXTINFOLINK</span>NETQUOTEVAR:EXTINFOBUTTON
      <br>
      <span class="actxsmall">NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTLINKTEXTNETQUOTEVAR:PRODUCTENDLINK
      NETQUOTEVAR:PRICEEXPLANATION </span><br>
      <b>NETQUOTEVAR:PRODUCTPRICE</b>
      <span class="actxsmall">NETQUOTEVAR:OTHERINFOPROMPT </span>
      <span class="actxsmall">NETQUOTEVARATEPROMPT </span>
      </td>
      </tr>
      <tr>
      <td align="center" colspan="2"><span class="actxsmall">
      NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY<br>
      <Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS>
      </span>
      NETQUOTEVAR:TEMPLATEENDXML
      </td>
      </tr>
      NETQUOTEVAR:PRODUCTFORMEND
      NETQUOTEVAR:NEXT
      <!-- Insert HTML for the bottom of the individual product -->
      <!-- ProductLine HTML end -->

      Comment


        #4
        After a little trial and error I got it.

        Thanks

        Niels

        Comment


          #5
          ahem lol - check your code - you should have:

          <tr>
          <td valign=top align=center>

          or in the image tag put an: align=center

          Have to laugh because you can look at code until your eyes go square and still not see a problem that is obvious
          That should do it.

          Also consider as a matter of course and for search engine placments to include:

          border=0 and if you can the infamous ALT tag for a description (possibly not in this case as NETQUOTEVAR call) - always helps
          ## Community is communication in unity ##

          Comment

          Working...
          X