AbanteCart Development > Customization help
Change image width from fixed to percentage?
(1/1)
Old-Paul:
In my attempts to make my cart more mobile friendly I want to adjust image widths to percentage as opposed to fixed hard coded width. Is there a way to change that configuration?
isaachackett:
With a simple CSS update, you may convert the picture width from a fixed amount to a percentage. Set the width to a percentage (e.g., width: 100%;) rather than a fixed value (e.g., width: 300px;). By doing this, the images will become responsive and change to fit the size of the screen. For the percentage to function properly, just make sure the parent container has a specified width. Have fun with your coding!
Navigation
[0] Message Index
Go to full version