Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Using CSS over-rides with sideboxes...

    Ok, I've managed to use (what I call a CSS over-ride) on the categories and manufacturers box, but cannot apply it to custom boxes.

    All boxes are formatted with the sideboxContent CSS code. I have added the following code to my CSS file to 'over-ride' the sideboxContent for the categories sidebox...

    Code:
    #categoriesContent {
      padding-left: 6px;
    }
    This works fine. I've also used the same technique for the manufacturers box.

    However, I'm trying to apply this same technique to a custom box (search by price range). As you can probably guess, I've had no luck getting this to work so far.

    Anyone able to help, please?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Using CSS over-rides with sideboxes...

    Unbelievable. If you are refering to the Quick Price Sidebox, then while you were struggling to style it, I was busy upgrading it to v1.3 standards. It should appear in the downloads section within the next few days.

    Unless there is a version out there of which I am unaware, this sidebox was designed for use in version 1.2 of Zen Cart. It can be used in version 1.3, but doesn't quite conform to the normal sidebox layout, though it's very close.

    If you are using the stand-alone Quick Price Search sidebox, rather than the combined box, then you would need to apply your styling to
    #search_pricerange
    If you were to post a link to your site, it would be much easier to be definitive about this.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Using CSS over-rides with sideboxes...

    Thanks for the reply. I'll look forward to the 1.3 Quick Price Searchbox.

    At the moment I've not got my site online. I'm building it on my dev machine, which isn't public. Guess I could upload a demo copy sometime.

  4. #4
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Using CSS over-rides with sideboxes...

    kuroi - Any news about the new sidebox?

  5. #5
    Join Date
    Mar 2006
    Posts
    919
    Plugin Contributions
    2

    Default Re: Using CSS over-rides with sideboxes...

    Ok, I actually found that changing the padding under "#searchbypricerangeContent" in my css file did the trick! :)

 

 

Similar Threads

  1. Random loading of Over-rides
    By borillion_star in forum General Questions
    Replies: 4
    Last Post: 30 Dec 2010, 03:58 AM
  2. Another ? With page over rides
    By TinaS in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Sep 2006, 10:46 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