Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2005
    Posts
    21
    Plugin Contributions
    0

    Default Featured Products Border

    Hi,

    I couldnt find a thread that addressed this so here it goes.

    I am trying to remove the border that is around the featured products section on my main page.

    www.nsidecollectibles.com

    any help would be greatful.. i have been searching my css file and have not been able to find a fix.

    Thanks!!

  2. #2
    Join Date
    Dec 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: Featured Products Border

    I changed the .centerboxwrapper to no border but i was only hoping to change the featured products section not the new products section

  3. #3
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Featured Products Border

    Specificity is the word of the day. With a sufficiently specific reference you can style anything in Zen.

    If you look at Page Source in your browser, you'll see that the featured products are in a div with a class of...
    Code:
    class="centerBoxContentsFeatured centeredContent back"
    whereas the new products are in a div with a class of...
    Code:
    class="centerBoxContentsNew centeredContent back"
    And all of that is inside a larger div classed as centerboxwrapper. So when you change that one you change both. Instead, change (add it if it's not there) the class centerBoxContentsFeatured. Apply whatever styles you want to it, and different styles to centerBoxContentsNew and you should be fine.

    Note: the above will apply a style to each of the products independantly. If instead you want to style the block the featured products are in, all at once, there's an id you can use. The same div that is classed as centerboxwrapper is IDed as either featuredProducts or whatsNew, so you can apply your styles there to, for example, put a colored box around all the New products as a block, or a colored background behind all the Featured products as a block.

    HTH

    Rob

  4. #4
    Join Date
    Dec 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: Featured Products Border

    actually your note at the bottom is what i was trying to do. i was hoping to affect the block border. although i could not find a featuredproducts IDed.

    thanks

  5. #5
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Featured Products Border

    although i could not find a featuredproducts IDed.
    If it's not in your style sheet, you can add it as ...

    #featuredProducts {
    border: whatever;
    }

    There are many classes and IDs used in the Zen code which are not entered in the stylesheet. They're there for our use if we want them.

    Rob

  6. #6
    Join Date
    Dec 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: Featured Products Border

    fantastic. thanks all is well

  7. #7
    Join Date
    Apr 2009
    Location
    Portland, OR
    Posts
    106
    Plugin Contributions
    0

    Default Re: Featured Products Border

    Quote Originally Posted by rstevenson View Post
    If it's not in your style sheet, you can add it as ...

    #featuredProducts {
    border: whatever;
    }

    There are many classes and IDs used in the Zen code which are not entered in the stylesheet. They're there for our use if we want them.

    Rob

    Yah...it work for me!
    Thanks!

 

 

Similar Threads

  1. Border on New & Featured items pictures?
    By julieoolie in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 23 Apr 2008, 06:07 PM
  2. Add border to Featured Products box
    By mattys in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Jan 2008, 10:59 PM
  3. Featured Products - border round product
    By mattys in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 28 Nov 2006, 10:14 AM
  4. featured image border.....
    By khopek in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 28 Aug 2006, 11:26 AM
  5. Border around Featured Product Images
    By guscott in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Aug 2006, 12:44 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