Responsive template - cannot resize image?

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

Moderator: mikey

Post Reply
Nicky
Posts: 145
Joined: Sun Feb 08, 2009 9:50 am
Location: Antwerp, Belgium

Responsive template - cannot resize image?

Post by 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: 13313
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: Responsive template - cannot resize image?

Post by 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

lck
Posts: 1976
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: Responsive template - cannot resize image?

Post by 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!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Nicky
Posts: 145
Joined: Sun Feb 08, 2009 9:50 am
Location: Antwerp, Belgium

Re: Responsive template - cannot resize image?

Post by Nicky » Fri Jun 19, 2020 6:03 pm

Sorry to come back again on this topic.

Changing the css code to
img {
max-width: 100%;
height: auto;
/* width: auto; */ /* comment this out or delete it */

did not work.

The pool player picture cannot be resized by dragging corners or editing image and setting other dimensions.

Feel free to check, (the template is originally from oldnema template named 'romantic' I think..).

Login is the standard password http://walhalles.be/pizza

Tata
Posts: 3176
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: Responsive template - cannot resize image?

Post by Tata » Fri Jun 19, 2020 8:12 pm

There was also the line #4 in the stylesheet with the "width:auto".
Now it's removed.
Change the password IMMEDIATELY!
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

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

Re: Responsive template - cannot resize image?

Post by cmb » Fri Jun 19, 2020 8:47 pm

Nicky wrote:
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.
You mean you could interactively resize the image without resizing the browser window?
Tata wrote:
Fri Jun 19, 2020 8:12 pm
Change the password IMMEDIATELY!
I strongly recommend that as well.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply