Responsive template - cannot resize image?

Please post the URLs to pages, where you've made a CMSimple template available for download

Moderator: mikey

Nicky
Posts: 94
Joined: Sun Feb 08, 2009 9:50 am

Responsive template - cannot resize image?

Postby Nicky » Tue May 09, 2017 7:11 pm

I'm trying out Oldnema's Ferrariclub, the 'normal' behaviour in most templates is that you can add an image, take the corners and resize it to the wanted dimensions.

With the responsive Ferrari template however, this doesn't work.

Must be something in the stylesheet?

Thx in advance for info/tips!

cmb
Posts: 11568
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Responsive template - cannot resize image?

Postby cmb » Wed May 10, 2017 8:55 am

In Oldnema's responsivehtml template there is:

Code: Select all

img{max-width:100%;height:auto;width: auto;}
I presume that something like this is also part of the Ferrariclub template.
Christoph M. Becker –Plugins for CMSimple_XH, but not for CMSimple 4+

lck
Posts: 878
Joined: Wed Mar 23, 2011 11:43 am
Location: Germany
Contact:

Re: Responsive template - cannot resize image?

Postby lck » Wed May 10, 2017 8:59 am

stylesheet.css line 35

Code: Select all

img {
    max-width: 100%;
    height: auto;
    /* width: auto; */ /* comment this out or delete it */
}
Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig ;)       ► CMSimple_XH Templates & OnePage-Templates ◄


Return to “Templates”

Who is online

Users browsing this forum: No registered users and 1 guest