Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Dec 2011
    Posts
    7
    Plugin Contributions
    0

    Default SideBoxes / Categories

    On my website at www.anhcreations.com running latest version. You will notice my categories sidebox has the purple header? How do i add that to all side boxes? I have this template but cant figure it out?

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

    Default Re: SideBoxes / Categories

    You have stylesheet rules for .category-sidebox-header-left {} and h3.category_sidebox_header_right {} which give the parts of the image and other styling. This styling should be applied to generic selectors, not specific ones. Style these:

    .sidebox-header-left {}
    .leftBoxHeading {}

    and similar rules for right sideboxes.

  3. #3
    Join Date
    Dec 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: SideBoxes / Categories

    I havent messed with style sheets much. Im not one that made the template here is the snippet of the section your talking about just confused what is leading what right here.

    /*sideboxes*/
    .columnLeft {}

    h3.leftBoxHeading, h3.rightBoxHeading, #manufacturersHeading label, #manufacturersHeading label {
    color: #000;
    text-align: left;
    }
    #manufacturersHeading, #currenciesHeading, #musicgenresHeading, #recordcompaniesHeading, #searchHeading, #search-headerHeading {
    color: #000;
    }
    h3.leftBoxHeading a,
    h3.rightBoxHeading a{
    font-size: 0.8em;
    color: #000;
    text-align: left;
    }


    .leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
    margin: 0em;
    background-color: #abbbd3;
    padding: 0.3em 0.2em;
    }

    .leftBoxContainer, .rightBoxContainer {
    margin: 0em;
    border: none;
    margin: 0 0 1.5em 0;
    }
    .sidebox-header-left, .centerBoxWrapper{
    background: url("../images/left_sb_bg.gif") no-repeat top left;
    padding: 0 0 0 4px;
    }
    .sidebox-header-left{
    height: 23px;
    }
    .category_sidebox_header_left{
    background: url("../images/left_c_sb_bg.gif") no-repeat top left;
    padding: 0 0 0 4px;
    height: 23px;
    }
    .sidebox-header-left h3, .centerBoxWrapper h2 {
    background: url("../images/right_sb_bg.gif") no-repeat top right;
    }
    h3.category_sidebox_header_right{
    background: url("../images/right_c_sb_bg.gif") no-repeat top right;
    }
    .sidebox-header-left h3, .centerBoxWrapper h2, h3.category_sidebox_header_right, .sidebox-header-left label, .sidebox-header-right label{
    line-height: 1.917em;
    padding: 0 0 0 2px;
    }
    h3#categoriesHeading{
    color: #fff;
    }
    .sideBoxContent {
    background-color: #ffffff;
    padding: 0.4em;
    }

    h3.leftBoxHeading a:hover, h3.rightBoxHeading a:hover {
    color: #000;
    text-decoration: none;
    }

    .rightBoxHeading a:visited, .leftBoxHeading a:visited, .centerBoxHeading a:visited {
    color: #000;
    }

    .centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
    text-align: center;
    }
    .sideBoxContentItem{
    padding: 0 0 15px 0;
    }
    #bestsellers .wrapper {
    margin: 0em 0em 0em 1.5em;
    }

    #bestsellers ol {
    padding: 0;
    margin-left: 1.1em;
    }

    #bestsellers li {
    padding: 0;
    margin: 0.3em 0em 0.3em 0em;
    }

    #bannerboxHeading {
    background-color: #0000CC;
    }

    #upProductsHeading {
    text-align: left;
    }

    #upDateHeading {
    text-align: right;
    }

  4. #4
    Join Date
    Dec 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: SideBoxes / Categories

    Well to add to my list now all of sudden this page is all out of whack? Havent changed anything?

    http://www.anhcreations.com/index.php?main_page=contest

  5. #5
    Join Date
    Dec 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: SideBoxes / Categories

    Anyone have suggestions it is doing it on the following pages now..

    Featured Products
    Specials Page
    Contest Page

  6. #6
    Join Date
    Nov 2011
    Location
    UK
    Posts
    5
    Plugin Contributions
    0

    Default Re: SideBoxes / Categories

    I know it's not related to your question but do you really need the music playing on your site?
    My store is at www.potsofceramics.com

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

    Default Re: SideBoxes / Categories

    I'd like to help, but I can't stay on your site long enough to check things out, thanks to that awful noise.

  8. #8
    Join Date
    Dec 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: SideBoxes / Categories

    Music was supposed to disabled that was for testing. I appoligize for that guys. Main thing is the pushing it all out of alignment. I haven't changed anything and just all of sudden started this?

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

    Default Re: SideBoxes / Categories

    The left column width is set in admin, and apparently the way it is output is not behaving as desired. View source shows
    <td id="navColumnOne" class="columnLeft" style="width: 150">
    but when I change it in Firebug to
    <td id="navColumnOne" class="columnLeft" style="width: 150px">
    it goes to the proper width.

    Change your setting in Configuration > Layout Settings > Column Width Left - Global to 150px.

    Undefined table cell widths default to fitting comfortably, and if the main column content is not wide enough to occupy all but 150px, it will only take as much as it needs.
    CSS style rules require explicit units on nonzero dimensions, whereas old HTML behavior defaults to pixels. (Thus the style="width: 150" is undefined.)

    <td id="navColumnOne" class="columnLeft" width="150">
    would have worked.

  10. #10
    Join Date
    Dec 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: SideBoxes / Categories

    Well i noticed i don't have PX at the end of them i added that to the end and that worked. Another question is what is the difference between :

    Column Width - Left Boxes
    Column Width - Right Boxes
    Column Width - Right
    Column Width - Left

    Should these all be set to the same size?
    Also now that i added the PX to the end i notice the headers are actually gray thats funny.

    Now i just have to figure out how to fix the purple header of each other box to match category box.
    Last edited by anhcreations; 12 Dec 2011 at 10:29 PM.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. categories in alternate sideboxes
    By jenesaisquoi in forum Addon Sideboxes
    Replies: 1
    Last Post: 28 Mar 2011, 05:04 PM
  2. Display categories in 2 sideboxes
    By CoolCarPartsOnline in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 29 Apr 2008, 07:38 PM
  3. Split categories in 2 sideboxes
    By rramirezb in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 8 Nov 2007, 05:56 PM
  4. Sideboxes based on categories
    By dhermanus in forum General Questions
    Replies: 0
    Last Post: 12 Oct 2006, 04:05 PM
  5. Categories Sideboxes
    By dhermanus in forum Basic Configuration
    Replies: 2
    Last Post: 3 Oct 2006, 12:49 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