0

I am using magento 1.9 for learning purpose. On category page i want to increase product view dimension and make the changes in list.phtml file. Also change the column count 3 in place of 4, But on category page my product image height changed according to changes i have made in list.phtml file and width remains same. screenshot of my category page

my previous product image dimension is 270px, 414px and new dimension is 370px, 514px. In google inspect it is showing the new dimension but product width remains same. Please guide me how can i change the product width.

5
  • the width of the element containing the image needs to be changed. In css the image width is 100% of its container. If no width is explicitly set on its parent keep going up the DOM until you find out where its being set in css
    – jscar
    Commented Jul 27, 2018 at 9:16
  • Where i can change the image container width?
    – Vibha
    Commented Jul 27, 2018 at 9:28
  • in css - probably styles.css looking at your screenshot. Please do this on a development site first
    – jscar
    Commented Jul 27, 2018 at 9:35
  • Checked in css and and changed and make the changes but not working
    – Vibha
    Commented Jul 27, 2018 at 9:48
  • This is nothing to do with Magento, its an css issue, please try to give width:100%,and hieght:100%
    – Duke
    Commented Jul 29, 2018 at 5:45

1 Answer 1

0

Anyone please guide me where i can edit red highlighted dimension. enter image description here

4
  • Please don't ask questions as answers
    – Duke
    Commented Jul 29, 2018 at 5:43
  • Sorry i am new with this forum. Actually i need to attach a screenshot. Can you please suggest me how can i attache a screenshot in comment box.
    – Vibha
    Commented Jul 30, 2018 at 7:53
  • You can't can't have images on the comments, but a link to image will be fine. But if you have more screenshots about your question, feel free to edit the question and add as many related images you want.
    – Duke
    Commented Jul 30, 2018 at 9:55
  • Thanks Rinto for your explain. For future edits i will do the same.
    – Vibha
    Commented Aug 1, 2018 at 7:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.