Post by WaxedPerfection » Mon Nov 27, 2017 2:41 am

OC3.0.2.0

is it possiable to add >> class="img-responsive" << for all images on a default theme, via ccs or bootstrap, i know i can add it manually to images but can it added to already present code? im after it to only affect the image uploaded to information pages etc, if it can which file should i be looking at updating it in?

<img src="http://www.xxxxxxxx.co.uk/image/catalog ... -theme.jpg" style="width: 752px;" class="img-responsive">

in "bootstrap.min.ccs" is a matter of the following
From This
img{vertical-align:middle;}

to this?
img{vertical-align:middle;max-width: 100%;height: auto;}

Thank you for your time
Ste
Last edited by WaxedPerfection on Mon Nov 27, 2017 5:04 am, edited 1 time in total.

New member

Posts

Joined
Sun Mar 26, 2017 8:23 pm

Post by WaxedPerfection » Mon Nov 27, 2017 4:03 am

Sorry posted in bug area, should have been in general support

New member

Posts

Joined
Sun Mar 26, 2017 8:23 pm

Post by IP_CAM » Mon Nov 27, 2017 7:12 am

img{vertical-align:middle;max-width:100%!important;height: auto;}
should do better !
Ernie

Please don't send me OC Forum Personal Messages, just contact: jti@jacob.ch
---
OC 1.5.6.5 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 1.5.6.5 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'600+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by WaxedPerfection » Mon Nov 27, 2017 9:59 pm

Thank you Ernie, super star once again.

New member

Posts

Joined
Sun Mar 26, 2017 8:23 pm
Who is online

Users browsing this forum: No registered users and 4 guests