Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2011
    Posts
    145
    Plugin Contributions
    0

    Default Help to move image up.

    Hello,
    I used to have a live chat link in an area of my website, which i no longer use.
    I have instead placed an image in the original place for our new freefone number.
    The problem is, i cannot get it too move up so it is more central (there is a white gap above the image)
    The code in question i have is in the includes/templates/my_template_design/common/tpl_main_page.php which is:

    // global disable of column_left
    $flag_disable_left = true;
    }
    if (!isset($flag_disable_left) || !$flag_disable_left) {
    ?>

    <div id="navColumnOne" style="width: <?php echo COLUMN_WIDTH_LEFT; ?>">
    <div id="livechat"><div align="center">
    <img src="http://www.cakekraft.co.uk/images/freefone1.jpg" width="200" height="120">
    </div>

    </div>
    <?php
    /**
    * prepares and displays left column sideboxes
    *
    */

    I have coloured the said part of code i placed in blue.
    When you look at my site at www.cakekraft.co.uk you will see that in the top left i have placed this picture (of a phone) and there is this white part / area i wish the picture to be more central with.

    I am looking at having it match the same height as the shipping logo on the right.
    I think it may be the lovechat div that is causing the problem, but when i remove it, my site contents disappear.

    Can anyone tell me where i am going wrong?

    Many thanks
    Nic

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: Help to move image up.

    Your site made my sweet tooth dance. yummie ...

    Find this:
    includes/templates/cake2/css/stylesheet.css

    Edith this below and Change the highlighted red font below to 0
    #livechat {
    height: 113px;
    padding: 35px 0 0;
    }
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  3. #3
    Join Date
    Jun 2011
    Posts
    145
    Plugin Contributions
    0

    Default Re: Help to move image up.

    ok, ill give it a go quickly, thanks.
    Nic
    P.s, you like cake then ;)

  4. #4
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: Help to move image up.

    She will work perfect ...

    Everyone loves cake ...
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  5. #5
    Join Date
    Jun 2011
    Posts
    145
    Plugin Contributions
    0

    Default Re: Help to move image up.

    ok, done that thank you.
    but what would i need to add to that line to make the "purple category" bar to be inline with the "baking for children banner (on the right as it was before)
    Thanks,
    Nic

  6. #6
    Join Date
    Jun 2011
    Posts
    145
    Plugin Contributions
    0

    Default Re: Help to move image up.

    It's ok, i am changing the height in the css file.
    Thanks for your help.
    Nic

  7. #7
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: Help to move image up.

    Oh i see the alignment issue now ... The cake got me off track .... :)

    #livechat {
    height: 113px;
    padding: 35px 0 0;
    }

    Change the highlighted red font above to something like this:
    Notice the four values below ...
    They correct the spacing from top, right, below, left ... In that order ...
    Padding: 0px 0px 33px 0px;
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  8. #8
    Join Date
    Jun 2011
    Posts
    145
    Plugin Contributions
    0

    Default Re: Help to move image up.

    Thanks, but before you posted i changed the height from 113 to 147 and seems ok.
    Cheers for you help at this time of night :)
    Nic

  9. #9
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: Help to move image up.

    Your most welcome and glad your delima is solved ...

    Nice site ...
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

 

 

Similar Threads

  1. Move title above image?
    By aunrea in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 Jan 2010, 05:41 PM
  2. Move Category Image to Header?
    By paranormallife in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Sep 2008, 05:51 PM
  3. Want to move the "Larger Image" image
    By canemasters in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Jun 2007, 10:29 PM
  4. Move image to the right?
    By julia44 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 18 May 2007, 05:53 PM
  5. How to move an image?
    By QueenKat in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 May 2007, 06:05 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
  •