Post by pietnlindy » Sun Jul 28, 2019 7:28 am

Hi all,

Thanks in advance for helping a newcomer.

I am setting up a store using the default store template in opencart 3.0.3.2 and am finding my images I put in the description do not resize when viewed on a mobile.
Is the default template mobile responsive?

Is there a way to make the images responsive? (If so please tell me in noob talk lol)

Regards
Pieter
Last edited by pietnlindy on Sun Jul 28, 2019 4:10 pm, edited 1 time in total.

New member

Posts

Joined
Thu Jul 25, 2019 4:06 pm

Post by by mona » Sun Jul 28, 2019 8:51 am

You can add the css class="img-responsive” that is already set up by bootstrap.

Open the editor in code view
1.jpg

1.jpg (32.76 KiB) Viewed 463 times

BEFORE
3.jpg

3.jpg (39.42 KiB) Viewed 463 times

AFTER
4.jpg

4.jpg (41.57 KiB) Viewed 463 times

you can / should add titles and alts - google likes them - (apparently) but whilst you are there no harm in getting a bit of SEO in ..

You can right click your browser window on - for example the category thumbs - you will find the code there
You can take a look at why it works there if your interested ..

AND I nearly forgot - I removed the style=“width:600px;” - that is important

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: Baidu [Spider], JessiesBoutique, pprmkr and 512 guests