Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Sep 2008
    Location
    Seatte, WA
    Posts
    47
    Plugin Contributions
    0

    Default Customizing Category Sidebox

    I'd like to change the Category Sidebox formatting, i.e. change the fonts, colors, separator widgets and so forth.

    Will I find all this in the stylesheet.css file?
    If not, where?

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

    Default Re: Customizing Category Sidebox

    You will find a lot of it already in your stylesheet. What is not there yet can be added. The /classic/ template has some selectors included that are not in the /template_default/ stylesheet.

    There are a number of settings in admin > Configuration > Layout Settings that you may want to change.

    You should get Firefox and its Web Developer extension to find out what classes & ids apply to what elements of your site. The Information > Display Element Information button is your friend, as is the CSS > Edit CSS button.

    A simple View Source in your browser will also be helpful in finding what tags are available.
    If you want further customization, Categories Dressing will give you a lot of options.

  3. #3
    Join Date
    Jun 2008
    Posts
    71
    Plugin Contributions
    0

    Default Re: Customizing Category Sidebox

    Hi there!
    I've been reading the readme page for the cat dressing but i'm a bit confused about how to prep the buttons images to use in this mod. I'm trying to substitute the text links with custom made buttons. they all have same background+category name in custom font.
    1) how shall i name my images? with the category name or with the Cpath #?
    2) should i create different buttons for hover, and visited links? so the visitors will have a visual response to their actions too? how shall i name them?
    Since I have submenus I will also create buttons for them (different background colors) same question about name.
    Thanks!

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

    Default Re: Customizing Category Sidebox

    "The image names should be in the form catimg3.gif or catimg21_57.gif, with the numbers matching the cPath for the category, and located in the /includes/templates/your_template/images/ directory."

    If you want a hover effect, you will need to use the background-image form of the mod instead.

    "The background image names should be in the form catbg3.gif or catbg21_57.gif, with the numbers matching the cPath for the category, and located in the /includes/templates/your_template/images/ directory."
    Name the files like catbg25.gif and catbg25hover.gif.

  5. #5
    Join Date
    Jun 2008
    Posts
    71
    Plugin Contributions
    0

    Default Re: Customizing Category Sidebox

    Thanks so much for the clarification!
    Are these changes going to change the categories links in the category tab menu?
    If not how do I customize the cat tab menu?

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

    Default Re: Customizing Category Sidebox

    No, the Categories Dressing code does not apply to the cat-tabs menu. The code for the two locations is different enough that it will be a job to get it transplanted.

  7. #7
    Join Date
    Jun 2008
    Posts
    71
    Plugin Contributions
    0

    Default Re: Customizing Category Sidebox

    Hi Glenn,
    i did follow all the instructions but now I have some big square boxes for images and my buttons do not display correctly.
    Can you please tell me what did i do wrong?
    my site is at:
    http://siteground227.com/~capoeir2/
    Thank you so much!

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

    Default Re: Customizing Category Sidebox

    I'm not sure what is wrong - you appear to have done things correctly in the stylesheet.
    Adding this to your stylesheet corrects the height issue, though I can't test the bg image position in Web Developer.
    Code:
    a.category-top img, a.category-subs img, a.category-products img {
        height: 30px;
        }

  9. #9
    Join Date
    Jun 2008
    Posts
    71
    Plugin Contributions
    0

    Default Re: Customizing Category Sidebox

    Yes, that helped. It has improved , but the images still are not displaying properly. It's like the buttons links behind are the right size, but the images don't align correctly vertically within each button.

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

    Default Re: Customizing Category Sidebox

    What are the pixel dimensions of the actual image files? Could there be some blank space around the image?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Customizing The SideBox
    By dragon03kf in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 24 Oct 2008, 08:32 AM
  2. customizing style of manufacturer sidebox
    By k4satin in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 12 Aug 2008, 11:18 PM
  3. Customizing Sidebox
    By saltandlight in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Feb 2008, 08:28 PM
  4. customizing manufacturer info sidebox
    By etoile03 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Oct 2006, 01:20 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