Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 31
  1. #11
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: moving sideboxes around

    Probably. The class is craftysidebox, so the rule would be .craftysidebox {etc.}

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

    Default Re: moving sideboxes around

    Well, if you're stating that on the basis of what I pasted then possibly not...I added the class thinking It wouldn't be so hard to find the css to call it from. Unfortunately, I never did find the correct file.

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

    Default Re: moving sideboxes around

    A link to the site would make it easy to figure out.



    For future reference, install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

    Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

    Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

    Some prefer Firebug, which does much the same thing.

    (If you're using Firefox 4, you'll need to remap the editor shortcut, since Firefox has appropriated Ctrl-Shift-E for an internal function - I use Ctrl-Shift-Q.)

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

    Default Re: moving sideboxes around

    Sure. I'm just hesitant about the link because I don't want it out there since the site isn't going to reside at that URL. On that note, please don't copy or redirect anyone to this URL.

    familynowDOTcaSLASHshop

    So to reiterate, I'm trying to find a way to get the crafty syntax sidebox up by the currency/cart/shipping boxes _with_ disrupting the rest of the template.

  5. #15
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: moving sideboxes around

    Add to the bottom of your stylesheet_tm.css:

    #craftysyntaxsidebox {position: absolute; top: 100px; right: 46%;}

    Adjust to taste.
    You can also adjust the width of the sidebox by adding to that rule

    width: 123px !important;

    Again, adjust to taste.

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

    Default Re: moving sideboxes around

    Perfect! Now I can just plant it wherever I want....Awesome.

    Thanks to everyone who helped. I appreciate it very much.

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

    Default Re: moving sideboxes around

    As it turns out the positioning only works perfectly for Chromium(I'm on Linux).

    If I load up the page in FF or IE it's not in the same place at all.

    Would it make a diff if I used % instead of px? ...What am I doing wrong?

  8. #18
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: moving sideboxes around

    % for height would probably not be a good idea, as the screen or page height will change. Your reference container is currently the entire window, so the horizontal position and possibly the vertical position are dependent on the browser. If you give #mainWrapper position: relative; the sidebox absolute position will be relative to the borders of that, and possibly more uniform in behavior.

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

    Default Re: moving sideboxes around

    Like this?

    /* ============== Crafty Syntax Sidebox =============================*/
    #craftysyntaxsidebox {
    position: absolute;
    top: 45px;
    right: 725px;
    width: 130px !important;
    }

    #mainWrapper {position: relative;}

    #craftysyntaxsidebox .box-head {display: none;}

  10. #20
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: moving sideboxes around

    That's right:)
    You will need to adjust the top and right values to match the new container.
    Last edited by gjh42; 26 Aug 2011 at 02:30 AM.

 

 
Page 2 of 4 FirstFirst 1234 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

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