Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Posts
    48
    Plugin Contributions
    0

    Default Whats New Sidebox

    Hello ,

    I want to customize the "Whats new?" products sidebox.... i want the box to be certain height and width... and want there to be a background image behind the links. I want the new items to display with certain size font and would like custom set margins in between the products and also on the sides of the links... I want the sidebox to only display the 6 most recent additions. Can anyone provide some guidance on how to do this? Thanks! -Aaron

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

    Default Re: Whats New Sidebox

    Sounds like you need to get FireFox with the Firebug add-on to help you with CSS changes.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Whats New Sidebox

    Quote Originally Posted by aaronjmorgan View Post
    i want the box to be certain height and width
    You can set the height and width via your stylesheet.css file

    div#whatsnew.leftBoxContainer {
    height:XXXpx!important;
    width:XXXpx!important;
    }

    replacing XXX with desired width and height

    Quote Originally Posted by aaronjmorgan View Post
    and want there to be a background image behind the links.
    div#whatsnew.leftBoxContainer a {
    background-image: url(../images/YOUR_IMAGE);
    }

    replacing YOUR_IMAGE with image name
    ../images/ indicates YOUR_TEMPLATE/IMAGES folder

    Quote Originally Posted by aaronjmorgan View Post
    I want the new items to display with certain size font and would like custom set margins in between the products and also on the sides of the links
    fonts, padding, margins can also be added to the div#whatsnew.leftBoxContainer CSS rules

    Quote Originally Posted by aaronjmorgan View Post
    I want the sidebox to only display the 6 most recent additions
    admin > Configuration > Maximum Values > New Product Listing - Limited to ...

    will limit new products added within a certain time frame

  4. #4
    Join Date
    Mar 2013
    Posts
    48
    Plugin Contributions
    0

    Default Re: Whats New Sidebox

    thanks for your help. Rather than having the whatsnew sidebox limited to "7 days" is there a way to modify the script to allow an option to display for only the 6 most recent items?

  5. #5
    Join Date
    Mar 2013
    Posts
    48
    Plugin Contributions
    0

    Default Re: Whats New Sidebox

    Also- i was trying to apply the CSS stylesheet settings u mentioned up above and for some reason the entire whatsnew sidebox will not show no matter what I do... any ideas what may have caused this to happen?

  6. #6
    Join Date
    Mar 2013
    Posts
    48
    Plugin Contributions
    0

    Default Re: Whats New Sidebox

    disregard previous comment about the sidebox not displaying... it is displaying now... the problem of the 6 most recent items.... is still on my priority list. I also do not want to display the product images in this area...

    my background image is not displaying correctly for this sidebox. as you can see on my page https://www.toyzeum.com/store/ the background image in the whatsnew sidebox is displaying behind the product text and not for the actual sidebox itself.

    Also- the CSS code modification for this sidebox on the style sheet is not creating new size for this sidebox... it needs to be 293 x260 px


    #whatsnew {border: none;}

    #whatsnewHeading {display: none;}

    #whatsnew.rightBoxContainer a {
    background-image: url(https://www.toyzeum.com/store/images...finds_bg.jpg);
    height:260px;
    width:293px;
    }

  7. #7
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Whats New Sidebox

    Quote Originally Posted by aaronjmorgan View Post
    disregard previous comment about the sidebox not displaying... it is displaying now... the problem of the 6 most recent items.... is still on my priority list. I also do not want to display the product images in this area...

    my background image is not displaying correctly for this sidebox. as you can see on my page https://www.toyzeum.com/store/ the background image in the whatsnew sidebox is displaying behind the product text and not for the actual sidebox itself.

    Also- the CSS code modification for this sidebox on the style sheet is not creating new size for this sidebox... it needs to be 293 x260 px


    #whatsnew {border: none;}

    #whatsnewHeading {display: none;}

    #whatsnew.rightBoxContainer a {
    background-image: url(https://www.toyzeum.com/store/images...finds_bg.jpg);
    height:260px;
    width:293px;
    }
    original request
    Quote Originally Posted by aaronjmorgan View Post
    and want there to be a background image behind the links.
    just remove the a

    #whatsnew.rightBoxContainer {
    background-image: url(https://www.toyzeum.com/store/images/main/rightsidebar_latestfinds_bg.jpg);
    height:260px!important;
    width:293px!important;
    }

    !important after the width and height forces width and height

    As far as only pulling the (6) most recent NEW Products, it is doable and I have the code somewhere in my sandbox, give me a few to find it if not I will re-write at my earliest convenience.

 

 

Similar Threads

  1. How to toggle between Whats New Box and Whats New on Main page?
    By Asdesign in forum Basic Configuration
    Replies: 0
    Last Post: 12 Aug 2009, 06:37 PM
  2. Sidebox - Whats new
    By noisebug in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 12 Jan 2008, 11:18 PM
  3. Whats New Sidebox Problem
    By Winks in forum Basic Configuration
    Replies: 1
    Last Post: 23 Apr 2007, 05:19 PM
  4. whats new sidebox
    By g0d4lm1ty in forum Basic Configuration
    Replies: 2
    Last Post: 15 Dec 2006, 08: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