Post by keithdarr » Thu Dec 07, 2023 9:07 pm

What is the trick to change the size of the image on the Contact Us page of the store? My image is a thumbnail sized picture on my Contact Us page.

I went into the admin/Settings and changed the Store Image Size x10 and all it did was affect the size of the downloaded image, not the displayed image.

I cleared cached after changing the admin, settings, images -store image size.
Last edited by keithdarr on Sat Dec 09, 2023 1:22 am, edited 1 time in total.

New member

Posts

Joined
Wed Nov 29, 2023 12:54 pm
Location - Minneapolis, Minnesota, US

Post by keithdarr » Thu Dec 07, 2023 11:47 pm

I know that this is the code that is where the image is. When I remove class="img-thumbnail" the image is moved to the right of the card and is large enough to see.

catalog/view/template/information/contact.twig

<div class="card">
<div class="card-body">
<div class="row">
{% if image %}
<div class="col-sm-3"><img src="{{ image }}" alt="{{ store }}" title="{{ store }}" class="img-thumbnail"/></div>
{% endif %}

New member

Posts

Joined
Wed Nov 29, 2023 12:54 pm
Location - Minneapolis, Minnesota, US

Post by keithdarr » Sat Dec 09, 2023 1:22 am

I messed with it for a while, but what ever changes I made to it resulted in layout problems. I even tried to set style="max-width:300;" and it looked bad.

So, I just made it a logo and made it a link.

It would be nice still if someone has a better solution.

New member

Posts

Joined
Wed Nov 29, 2023 12:54 pm
Location - Minneapolis, Minnesota, US
Who is online

Users browsing this forum: No registered users and 2 guests