Closed dannykorpan closed 3 years ago
Hi @dannykorpan, you can add the following lines:
figure > img {
height: 185px;
width: 473px;
}
to the file: /static/hugo-theme-console/css/console.css
Hi,
thank you. But every image has another dimension. It would be great if every image keeps it's original size.
Kind Regards, Danny
Hi @dannykorpan,
Please add the following lines:
img {
width:none;
}
to the file: /static/hugo-theme-console/css/console.css
Hi,
thank you for your help and quick response! But I have still the same problem.
Kind Regards, Danny
Update: Also the same issue with your second hint.
Hi,
are there any solution for my problem?
Kind Regards, Danny
Hi @dannykorpan,
You should add the line with img at the end of the file. After the }
.
}
img { width: none; }
Hi @mrmierzejewski,
thank you, but 'none' ist not working.
With 'unset' it work's now flawlessly.
Kind Regards, Danny
Hi @dannykorpan, thank you for the suggestion.
Hi,
if I include an image in a posting, images are always 100% in width, even I'm using the figure element
{{< figure src="./error.jpg" height="185px" width="473px" >}}
Is there any way to get a workaround or to solve this issue?
Kind Regards, Danny