Page 1 of 5 123 ... LastLast
Results 1 to 10 of 47
  1. #1
    Join Date
    Aug 2005
    Posts
    50
    Plugin Contributions
    0

    Default How do I change the appearance of one sidebox only?

    I want to begin customizing the columns and the sideboxes but I don't want a header and footer and the same appearance for all sideboxes. Initially I want to customize the categories sidebox.
    What do I edit to change one box in particular and not all sideboxes?

  2. #2
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: How do I change the appearance of one sidebox only?

    You can achieve this in the css.

    Whichever box you are working with (you say Categories so I'll use it), you will add the defines to your css to tell it to over ride the default when it displays the box. The elements you will want to define are :

    #categoriesHeading
    #categoriesContent
    (and maybe this - I added it on mine) if you are using a custom "bottom"
    #categoriesBottom

    Basically, what you want is totally achieveable in the Stylesheet.
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How do I change the appearance of one sidebox only?

    NOTE: on the View Source you will see the class and id ...

    This helps in customizing a given sidebox ... example for the Featured Sidebox to touch its class you see:
    class="leftBoxContainer" id="featured"
    That class leftBoxContainer is used by all sideboxes ... the id featured is only used by the Featured sidebox ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Aug 2005
    Posts
    50
    Plugin Contributions
    0

    Default Re: How do I change the appearance of one sidebox only?

    Yes but you are talking about defining CSS to apply to something. I need to know where I am applying the CSS. What file?

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How do I change the appearance of one sidebox only?

    Your stylesheets are in your:
    /includes/templates/your_templates_dir/css

    You would be editing or adding to that to make changes ...

    Usually for an id you are adding as the code is there for you ... but it is not defined separately unless you need to make changes for your personal site ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Aug 2005
    Posts
    50
    Plugin Contributions
    0

    Default Re: How do I change the appearance of one sidebox only?

    OK yes I know where the stylesheet is and how to edit it, I thought that I had to define in CSS and then apply to another file. I did not realize that defining as you said would make changes based on CSS assignments in the tpl files.

    I defined #categoriesContent and this working fine and I changed the border of the left sideboxes to '0' but there is still some padding between the edge of the categories content and the actual sidebox it is in. How do I get rid of that padding?

  7. #7
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: How do I change the appearance of one sidebox only?

    Robert - border, padding, and margin all define different things. Changing the border to 0 simply removes the color border - padding:0 will remove any padding (which I believe is what you are referring to) and Margin:0 will move the text/contents all the way to the "padded" edge.

    Hope that makes sense.
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  8. #8
    Join Date
    Aug 2005
    Posts
    50
    Plugin Contributions
    0

    Default Re: How do I change the appearance of one sidebox only?

    Thanks Tina,

    I do understand these things. I should really provide links so you can see what I am talkinag about as I try to figure these things out. I determined that what I was seeing could be controlled from within the Layout Settings. I had a 10px difference between the Left Box width and the left column width.

    I have defined the #categoriesContent and was able to change the background color and padding. I tried to define the #categoriesHeading but it did not change anything. If I change the .leftboxheading it changes all the headings but for some reason I can't take control of just the Categories heading.

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: How do I change the appearance of one sidebox only?

    Robert ... have you an URL we can peek at vs guessing here what your stylesheets are doing perhaps?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Aug 2005
    Posts
    50
    Plugin Contributions
    0

    Default Re: How do I change the appearance of one sidebox only?

    This is the link to my work-in-progress shop.

    http://tmrdesign.com/knotshop

    It changes constantly but as of right now it is as I described with the categories heading not changing and still under the control of the textboxheading class.

 

 
Page 1 of 5 123 ... LastLast

Similar Threads

  1. Want to Change Cart 'Quantity' Text on ONLY one Product. How?
    By Bronco78th in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 14 Apr 2015, 12:21 PM
  2. v150 Change appearance of Record Companies sidebox
    By doooomed in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Dec 2012, 03:59 PM
  3. Trying to change the header image in only one category
    By strugglingnovice in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Aug 2012, 08:59 PM
  4. Change the colours in SideBox Outside only please
    By Zook25 in forum Basic Configuration
    Replies: 10
    Last Post: 24 Aug 2009, 04:04 PM
  5. Change the search header appearance
    By LissaE in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 2 Dec 2008, 02:51 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