Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19
  1. #11
    Join Date
    Jun 2008
    Location
    USA
    Posts
    204
    Plugin Contributions
    1

    Default Re: Layout Customization

    Ahh..

    I see.

    Try putting clear:left; on the banner.


  2. #12
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Layout Customization

    my suggestion would be to create a <div></div> tag in your footer where you want your SSL images to appear. currently images are applied directly into body tag .

    make sure you also add ID as well
    <div id = "footerLogo"></div>

    this way using CSS you can control position of your images without effecting other elements such as your banner .

  3. #13
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Layout Customization

    Hi,

    I'm no expert here but I took a quick look at your page source and I see you're using a few position: absolute commands.... Those are no good for you as the position of the object will change from screen size to screen size.

    On my 24" monitor, your footer banner is aligned way off your main page to the left.

    Try replacing the word 'absolute' with 'relative' and then re-postion the coordinates.

    I'm not sure why you're using a position command to control your banner though? Why not wrap it in <center></center> tabs?

    This is my tpl_footer.php file for limelites.co.uk which achieves what you're looking for:
    PHP Code:
    <!--bof- site copyright display -->
    <div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY?> Designed by <a target="_blank" href="URL_TO_YOUR_HOMEPAGE">YOUR_STORE</a></div>
    <!--eof- site copyright display -->

    <!--bof- CARDS display -->
    <center>
    <a href="URL_TO_PAYMENTS_PAGE"><?php echo zen_image(DIR_WS_TEMPLATE.'images/YOUR_CARDSIMAGE.jpg'); ?></a>
    </center> 
    <!--eof- CARDS display -->
    Last edited by limelites; 17 Mar 2009 at 10:52 PM.

  4. #14
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Layout Customization

    Quote Originally Posted by Meshach View Post
    Ahh..

    I see.

    Try putting clear:left; on the banner.
    I have put this clause in my css stylesheet as below,
    #bannerSix (
    clear:left;
    )

    But it still can't work. HELP~~~~

  5. #15
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Layout Customization

    Quote Originally Posted by limelites View Post
    Hi,

    I'm no expert here but I took a quick look at your page source and I see you're using a few position: absolute commands.... Those are no good for you as the position of the object will change from screen size to screen size.

    On my 24" monitor, your footer banner is aligned way off your main page to the left.

    Try replacing the word 'absolute' with 'relative' and then re-postion the coordinates.

    I'm not sure why you're using a position command to control your banner though? Why not wrap it in <center></center> tabs?

    This is my tpl_footer.php file for limelites.co.uk which achieves what you're looking for:
    PHP Code:
    <!--bof- site copyright display -->
    <div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY?> Designed by <a target="_blank" href="URL_TO_YOUR_HOMEPAGE">YOUR_STORE</a></div>
    <!--eof- site copyright display -->

    <!--bof- CARDS display -->
    <center>
    <a href="URL_TO_PAYMENTS_PAGE"><?php echo zen_image(DIR_WS_TEMPLATE.'images/YOUR_CARDSIMAGE.jpg'); ?></a>
    </center> 
    <!--eof- CARDS display -->

    Hi,

    I tried to set all to "relative" eventually it messed up all the position and still, the third image (SSL logo) is not appearing!

  6. #16
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Layout Customization

    Quote Originally Posted by tony_sar View Post
    my suggestion would be to create a <div></div> tag in your footer where you want your SSL images to appear. currently images are applied directly into body tag .

    make sure you also add ID as well
    <div id = "footerLogo"></div>

    this way using CSS you can control position of your images without effecting other elements such as your banner .
    Hello,

    I put all these 3 objects (paypal logo, bannersix & ssl logos) in tpl_footer.php as below,

    PHP Code:
    <!--bof paypal image display -->
    <img src="images/paypal_horizontal.gif" border="1" width="155" height="66" alt="paypal solution" align="left" valign="center">
    <!--eof paypal image display -->

    <!--bof-banner #6 display -->
    <?php
      
    if (SHOW_BANNERS_GROUP_SET6 != '' && $banner zen_banner_exists('dynamic'SHOW_BANNERS_GROUP_SET6)) {
        if (
    $banner->RecordCount() > 0) {
    ?>
    <div id="bannerSix" style="position:absolute; left:420px; width:468px; height:60px;" class="banners"><?php echo zen_display_banner('static'$banner); ?></div>
    <?php
        
    }
      }
    ?>
    <!--eof-banner #6 display -->

    <!--bof SSL logo display -->
    <html>
    <IMG STYLE="position:absolute; left:893px; width:85px; height:46px; border:1px;" SRC="images/ssl.gif" ALT="SSL Secured Site"></html>
    <!--eof SSL logo display -->
    Is there anyway to improve this? Sorry, I am really new and not familiar with all these codings. Whenever I need a code, I just google it then paste to my file. I don't understand them well and that's why I kept asking stupid question!

  7. #17
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Layout Customization

    Hi,

    BTW, I found out that I can't navigate to the link of my first item appeared at my left Category Box in Firefox. No matter which item (Categories_Products or any sideboxes) move to the top, it will not show the link in Firefox, when the mouse move over, it will not show the hover color either.

    Any idea how to to fix this bug?

  8. #18
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Layout Customization

    Quote Originally Posted by faithtong View Post
    Hi,

    BTW, I found out that I can't navigate to the link of my first item appeared at my left Category Box in Firefox. No matter which item (Categories_Products or any sideboxes) move to the top, it will not show the link in Firefox, when the mouse move over, it will not show the hover color either.

    Any idea how to to fix this bug?
    One thing at a time FaithTong, let's fix your footer first :-) Can you copy and paste your entire tpl_footer.php file code here? This should be relatively simple to fix first.

  9. #19
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Layout Customization

    Dear all,

    Thanks for your help and replies, my problems are solved! I don't know how I can express my thankfulness to all of you, especially Tony! Thank you so much, may God bless all of you abundantly!!!!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. page layout customization contractors?
    By gbfaber in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Apr 2010, 06:10 PM
  2. Layout box customization..
    By nekosgrace in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 21 Oct 2006, 01:43 PM

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