Page 143 of 227 FirstFirst ... 4393133141142143144145153193 ... LastLast
Results 1,421 to 1,430 of 2267
  1. #1421
    Join Date
    May 2010
    Posts
    10
    Plugin Contributions
    0

    Default Language Options

    Is it possible to have different categories images for each language? Like the buttons in language packs.

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

    Default Re: Language Options

    Yes. All images that are likely to include text are stored in /includes/templates/your_template/buttons/your_language/, and you can make a set for each language you use (in fact, you need to have a full set of them in each language folder).

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

    Default Re: Language Options

    corditreasures -
    In #categories ul a {/*top categories*/
    change display: list-item;
    to display: block;
    and add your background styling.

  4. #1424

    Default Re: Categories Dressing

    wow! That works wonder! Thank you very very much!

    I think this is better to make it a background rather than list?

    well anyway if someone is looking for this here's what i've done.

    this is my old code

    Code:
    #categories ul a {/*top categories*/
        display: list-item;
        list-style: disc inside url(../images/point.gif);/*change to list-style: none; to remove bullet*/
        background: no-repeat;
        border: none;
        margin: 0;
        padding: 0;
        }
    here's my new code

    Code:
    #categories ul a {/*top categories*/
        display: block;
    background-image: url(../images/point.gif);
    background-repeat: no-repeat;
    background-position: center left;
    }
    again, thank you....

    Regards

  5. #1425
    Join Date
    May 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: Language Options

    Quote Originally Posted by gjh42 View Post
    Yes. All images that are likely to include text are stored in /includes/templates/your_template/buttons/your_language/, and you can make a set for each language you use (in fact, you need to have a full set of them in each language folder).
    I have both sets of language buttons stored in their respectives languages buttons directories.

    But I came up with a problem. Since I'm using buttons with hover effects, I have to "declare" them in the stylesheet_categories_dressing.css file, and specify the path and names where the images are stored as explained in the help file. As a result, only one language directory can be specified, leaving the other language directory not specified in the stylesheet.

    What is the solution for this?

  6. #1426
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Re: Categories Dressing

    autoace - Categories Dressing will affect the categories sidebox on every page unless you add special rules to limit it.


    gjh42 - via category_dressing_defines, right?

    Could you give me a simple example for the product listing page? Like only the 'active' category and its sub cats being displayed.

    Your mod has awesome scope, still trying to get my head wrapped around ALL of it.
    Thank you,
    autoace

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

    Default Re: Categories Dressing

    Cheo - You can have separate stylesheets for each language.

    autoace - The rules would generally be in a stylesheet, not a PHP file. In short, you can add #indexBody in front of a copy of any style rule, and the different properties in that (like "display: none;") will apply only to "index" pages like category and product listings.

    You could also modify the function cat_active_level_manage() in categories_dressing_functions.php.

  8. #1428
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hello,

    Glenn, how do I add links below the subtext? Is that possible?
    And can I add a border to just 1 link? For example, the last link in the category box. I need to add a border-bottom without affecting the other links.

    Thanks

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

    Default Re: Categories Dressing

    You can add links as part of the subtext content, and use <br /> to put them on a new line. I've recently been trying to help someone who has put 20 or 30 links as "heading" content above one category.

    You might need to do the "special category" mod to tpl_categories.php that is described in comments inside that file (part of the stock content). Then you can style this category with a border-bottom.

  10. #1430
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Glenn, I think that might have been me who has put 20+ links above one category. I reinstalled Zen-Cart so doing things from scratch again. Decided to just stick the category links in the category sidebox so no more hardcoded links there.

    Ok, I have Category 21, and below this I have a Subtext that is acting as a Heading (I dont know other ways to have a heading below a category and I wont have any categories below so a Heading is not possible). Below this subtext, I would like to add some links that I can style using the stylesheet. I did what you said with the <br> but the links are just part of the whole subtext so I cant style them.

    Also, I dont quite get what you mean about the special category mod. There are no other files. Im using version 2.7.3

 

 

Similar Threads

  1. categories dressing
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Nov 2010, 09:29 PM
  2. Categories Dressing
    By wotnow in forum Addon Sideboxes
    Replies: 10
    Last Post: 7 Apr 2010, 03:06 AM
  3. Categories Dressing issue
    By Maynards in forum Addon Sideboxes
    Replies: 0
    Last Post: 13 Mar 2010, 10:51 PM
  4. Categories Dressing
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2010, 11:05 PM
  5. Categories Dressing
    By PGlad in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Aug 2007, 07:05 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR