Page 1 of 4 123 ... LastLast
Results 1 to 10 of 31
  1. #1
    Join Date
    Aug 2011
    Location
    Near Ottawa, Ontario, Canada
    Posts
    321
    Plugin Contributions
    0

    Default moving sideboxes around

    Hi.

    I recently installed crafty syntax and it's working well so far. I'm just wondering how to change the position of the sidebox.

    I've read various posts on it but I can't seem to find a specific explanation/tutorial on how to position sideboxes in places other than their defaults. It would be nice to know for future reference. But in this case I want the box to go from the left column up by the shipping ad / currency boxes.

    some bg info:

    ZC 1.3.9h
    CSLH 2.14.6

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

    Default Re: moving sideboxes around

    The layout boxes controller in the admin under Tools will help you maneuver the boxes. Just change left, right, or sort order as needed.

  3. #3
    Join Date
    Aug 2011
    Location
    Near Ottawa, Ontario, Canada
    Posts
    321
    Plugin Contributions
    0

    Default Re: moving sideboxes around

    Yeah. I've already played with those...I can move the box by reordering with the numbers and do left/right but I want it up in the header beside the shipping and currency.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

    Default Re: moving sideboxes around

    Perhaps a link to your site could help find an answer. Something like yoursiteDOTcom if you don't want the search engines to pick it up.

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: moving sideboxes around

    One way to place a sidebox in the header is to use absolute positioning. You can't change the width of that sidebox from the width of the others in that column, though.

  6. #6
    Join Date
    Aug 2011
    Location
    Near Ottawa, Ontario, Canada
    Posts
    321
    Plugin Contributions
    0

    Default Re: moving sideboxes around

    I read that somewhere but didn't understand which css file to edit and how to apply it in the div.

  7. #7
    Join Date
    Aug 2011
    Location
    Near Ottawa, Ontario, Canada
    Posts
    321
    Plugin Contributions
    0

    Default Re: moving sideboxes around

    I think the width limitation won't be a problem for this particular box.

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: moving sideboxes around

    If the sidebox has (or can have) its own rule in the stylesheet, it would go something like this:

    #sideboxname {position: absolute; left: XXpx; top: YYpx; }

    where XX is the number of px from the left side of the header and YY is the number of px from the top of the header.

    A link would let us advise more specifically.

  9. #9
    Join Date
    Aug 2011
    Location
    Near Ottawa, Ontario, Canada
    Posts
    321
    Plugin Contributions
    0

    Default Re: moving sideboxes around

    Yeah. That's about where I'm at. I can't figure out if that box can have an entry and in what file it would be called from.

  10. #10
    Join Date
    Aug 2011
    Location
    Near Ottawa, Ontario, Canada
    Posts
    321
    Plugin Contributions
    0

    Default Re: moving sideboxes around

    I found this in the tpl_craftysyntax_sidebox.php file. Would this be where I'd refer back to the css?

    --More--
    /div
    ...skipping
    $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="craftysidebox">';
    $content .= '<script type="text/javascript" src="' . $cs_link . '"></script>';
    $content .= '</div>';
    ?>

    Sorry, this might be completely clueless of me...even after years of hacking around various sites I still don't get web design very much...

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Moving images around
    By plsony in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Mar 2010, 10:03 PM
  2. How to add border around sideboxes???
    By neighbornick in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Mar 2009, 05:11 PM
  3. moving directories around
    By whiteboxer in forum Basic Configuration
    Replies: 13
    Last Post: 7 Jul 2006, 12:29 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR