Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Feb 2011
    Posts
    1
    Plugin Contributions
    0

    red flag Re: Category Image Size

    Quote Originally Posted by ideasgirl View Post
    I've search, and search and didn't find this one.

    I have in my admin where to change my subcategories images size (width and height) but I don't find anywhere where I change the main page category image size. Where do I change this?
    the method i used modify the stylesheet_tm.css (or other files that is suite in your template for this) locate in includes/templates/theme345/css . Open and search for something like this:

    [QUOTE=.image span{ display:inline-block; position:relative; width:230px; height:130px;}[/QUOTE]

    and change the height to your desire, and also change

    [QUOTE=.image a{ padding:0; cursorointer; text-decoration:none !important; display:inline-block; width:230px; height:130px;}[/QUOTE]

    if u dont find this kind of code, maybe is diferent from template to template, open each file in your .css folder and search from some line of code including image and height and test some changes. best regards

  2. #12
    Join Date
    Mar 2011
    Posts
    2
    Plugin Contributions
    0

    Default Re: Category Image Size

    Hi ajose,
    somebody showed me this one, you can locate the file includes/templates/template_default/templates/tpl_product_info_display.php and comment out the line for display category icon.. All the best!

  3. #13
    Join Date
    Dec 2011
    Posts
    29
    Plugin Contributions
    0

    Default Re: Category Image Size

    Quote Originally Posted by MMN Maniac View Post
    well, i figured it out.. shoulda just tried figuring it out first before posting..

    Go to ADMIN > CONFIGURATION > IMAGES

    Look under:

    Subcategory Image Width 100 Info
    Subcategory Image Height 80

    Those are your max pixel limits. Adjust to your liking.

    Hope this helps!
    That pixel limit no longer seems to apply (It doesn't on my 1.54 cart) FWIW

  4. #14
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Category Image Size

    Hi I have v1.5.5f responsive installed and I am wanting to adjust the category image size by a percentage not pixels like in Admin. in stylessheet

    I tried this /* .categoryIcon {float:left;width:35%;} MAX Changes to center and 100% */
    .categoryIcon {float:center;width:100%;}, it did make it fill the half.

    I am missing what is restricting the top category image from going 100% across the page?
    https://www.uesakausa.com/index.php?...hgg29pkfv3qis2

    Any suggestions? Thanking in advanced!

  5. #15
    Join Date
    Feb 2009
    Location
    UK
    Posts
    551
    Plugin Contributions
    0

    Default Re: Category Image Size

    I think you can make this change to your stylesheet.css

    Code:
    .categoryIcon img {
        margin-bottom: 5px;
        width: 100%;
    }

  6. #16
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Category Image Size

    THANK YOU! I missed that, I didn't apply it to the image itself. Sometimes you just need a second set of eyes, thanks for your help LOL!

  7. #17
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Category Image Size

    I am having same issue with categoryImg or categoryImgListing but it is not coming up in stylesheet when I do a search. Any idea on this one?

    https://www.uesakausa.com/index.php?...hgg29pkfv3qis2

    Thanks!

  8. #18
    Join Date
    Feb 2009
    Location
    UK
    Posts
    551
    Plugin Contributions
    0

    Default Re: Category Image Size

    Sure, add this to your stylesheet

    Code:
    #categoryImgListing.categoryImg img {
        width: 100%;
    }
    Edit: should explain that if you find an element tag (id/class) in the HTML without a corresponding entry in the stylesheet then it's ok to just add a new stylesheet entry accordingly.
    Last edited by simon1066; 3 Apr 2018 at 08:37 AM.

  9. #19
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Category Image Size

    It worked. Thank You so much simon1066, and also for the editing! That really is a really helpful piece of information.

  10. #20
    Join Date
    Feb 2009
    Location
    UK
    Posts
    551
    Plugin Contributions
    0

    Default Re: Category Image Size

    No problem, glad to help.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Category image size
    By gprit in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 29 Aug 2011, 08:40 AM
  2. Image size by category.
    By Mudster in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Sep 2009, 07:13 PM
  3. Produc/Category Image - limiting image size and type
    By nigelt74 in forum Customization from the Admin
    Replies: 3
    Last Post: 13 Jul 2009, 03:08 AM
  4. Category image size
    By nerozero in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 29 Apr 2008, 10:02 PM
  5. Category IMage size
    By jazperson in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 29 Dec 2006, 08:09 AM

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