Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2010
    Location
    United Kingdom
    Posts
    46
    Plugin Contributions
    0

    help question Right column overlapping centre column?

    Hi folks,

    I've switched a box to the right column and doesn't seem to fit in the template, any ideas on how to fix it? I've done some searching and tweaking in the cms but to no avail!

    Site: cranbrookconserves DOT co DOT uk

    Cheers!

  2. #2
    Join Date
    Jan 2010
    Location
    United Kingdom
    Posts
    46
    Plugin Contributions
    0

    Default Re: Right column overlapping centre column?

    Also on a side note, the New Products sidebox shows three products, how can I limit that to only 1 product?

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Right column overlapping centre column?

    Quote Originally Posted by bertles86 View Post
    Hi folks,

    I've switched a box to the right column and doesn't seem to fit in the template, any ideas on how to fix it? I've done some searching and tweaking in the cms but to no avail!

    Site: cranbrookconserves DOT co DOT uk

    Cheers!
    The image is TOO WIDE for the centre column.

    You need to know the WIDTH of the centre column, and make sure that elements embedded within it are that width or smaller.

    The width of the centre column is caluclated:

    mainWrapper width MINUS (left column width + right column width + all related padding and margins that apply to main/left/center/right)
    20 years a Zencart User

  4. #4
    Join Date
    Jan 2010
    Location
    United Kingdom
    Posts
    46
    Plugin Contributions
    0

    Default Re: Right column overlapping centre column?

    Ah ha that would explain a lot, thanks schoolboy.

    Trouble is now I've got a fatal error stopping the entire site from loading!

    Fatal error: require() [function.require]: Failed opening required 'includes/templates/pure_red_free/common/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cranbroo/public_html/includes/languages/english/extra_definitions/fanbox_sidebox.php on line 19
    The result of trying to implement a facebook fan box in the right column, any ideas?

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Right column overlapping centre column?

    Quote Originally Posted by bertles86 View Post
    Ah ha that would explain a lot, thanks schoolboy.

    Trouble is now I've got a fatal error stopping the entire site from loading!



    The result of trying to implement a facebook fan box in the right column, any ideas?
    Is this something that is going to encourage or stimulate sales?

    Will customers fill their carts with products because of this feature?

    Does it add value to someone's purchasing experience?

    If not... why are you doing it?

    Clutter is one of the main reasons why sites are slowed down, and why customers get distracted and led out of a site.

    If your site is there to entertain people, then pepper it with junk like this. Make it look like a pinball machine on steroids if you want to.

    If your main objective is to sell goods, make a profit and earn a decent living, then everything on your site should be designed to encourage sales and draw in customers. Components that do not achieve this are superfluous and unnecessary. Be ruthless... focus on what is going to stimulate business.
    20 years a Zencart User

  6. #6
    Join Date
    Jan 2010
    Location
    United Kingdom
    Posts
    46
    Plugin Contributions
    0

    Default Re: Right column overlapping centre column?

    Hi schoolboy, thanks for the reply. I take your point, but in our case we are trying in the long run to effectively integrate Facebook with the website for both marketing and actual live sales. So yes excessive widgetry et al will slow down site performance however this one is deemed necessary (for us).

    In the meantime, I've taken your excellent advice and shrunk the main image resolution and brought the right column in properly, however the FB sidebox content now sits outside the sidebox border! Any tips? I followed this great tutorial here. Functionality is spot on, just need to tidy up that border. Oh and any ideas or tips on how to show only 1 or 2 products in the New Products sidebox?

    Thanks again.

  7. #7
    Join Date
    Jan 2010
    Location
    United Kingdom
    Posts
    46
    Plugin Contributions
    0

    Default Re: Right column overlapping centre column?

    Whoot found the amount of products in the sidebox here Configuration>Maximum Values>Random New Products for Sidebox

  8. #8
    Join Date
    Jan 2010
    Location
    United Kingdom
    Posts
    46
    Plugin Contributions
    0

    Default Re: Right column overlapping centre column?

    Okay well I seem to be working in the right direction with this, but would still greatly appreciate any nudges!

    I have shrunk the resolution of the main image, and that has brought the right column in, however there is still an uneven amount of white space between the centre column and right column that I'd love to minimise. You can see what I mean here:




    And I've tried to centre align the content of the two sideboxes in the right column by adding a class to stylesheet.css:

    Code:
     .centeredImage
        {
        text-align:center;
        margin-top:0px;
        margin-bottom:0px;
        padding:0px;
        }
    Then calling it in each definition of the sideboxes:

    Code:
    define('TEXT_FANBOX_SIDEBOX', '<p class="centeredImage"><fb:like-box profile_id="116954695015876" width="140" connections="4" stream="false"></fb:like-box></p>');
    Code:
    define('TEXT_BLANK_SIDEBOX', '<p class="centeredImage"><img src="/includes/templates/pure_red_free/images/payments.gif" alt="Payment Options"/></p>');
    But I still have excessive whitespace above/below the content in each sidebox.

    Any help at all would be amazing!

 

 

Similar Threads

  1. Space between left layout column and right content column
    By eazy in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Mar 2013, 02:16 AM
  2. Remove Left Column and add images on right column
    By steve Nezia in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 13 Jun 2011, 03:40 PM
  3. distance between center column and right column
    By alexdog1805 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Mar 2011, 04:50 PM
  4. Can I add Categoy links left and Right column around center column?
    By cshart in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Oct 2010, 06:06 PM
  5. Adding a Right Column to single column template
    By Delights in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 7 Sep 2010, 11:22 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