Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Jean PUJOL Newcomer

@oxide · Joined 6 years ago · 9 posts · 2 topics · 0 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Resizing image to fit the screen · 6 years ago

    Thx I did this, it's perfect.

  • Resizing image to fit the screen · 6 years ago

    @pamtbaau, well done it's working now ! To defend myself, the first time I put your code, I removed the // and remarks, but it was not working so I put it again... I installed lazysize to make some te

  • Resizing image to fit the screen · 6 years ago

    @pamtbaau thx for the capture tool. Here is my test page with 2 images. First one is landscape and second one is portrait. As you can see the behaviour is not like expected. My custom.css file looks

  • Resizing image to fit the screen · 6 years ago

    @pamtbaau, Thanks it's perfectly clear. I did exactly what you told, and it's not working for me. The portrait image is still fitting the width, and images keep there smaller size when I play with the

  • Resizing image to fit the screen · 6 years ago

    Thanks for the explanations. So I edited the mytheme/css/custom.css file to add hschneider code (there is only that code in the file) : .full-width { width: 100vw !important; position: relative !

  • Resizing image to fit the screen · 6 years ago

    I am using an inherited theme of Quark. (my problem doesn't concern the lightbox) I add the images in the page using markdown and Featherlight plugin like this : ![](myimage.jpg?lightbox) If it's a p

  • Resizing image to fit the screen · 6 years ago

    Thank you for the answer. Sorry for the noob question but where do i put this code? I tried to find in wich file but i am lost on this.

  • Resizing image to fit the screen · 6 years ago

    Hi, Grav sets the sizes argument to full viewport width by default. That makes my portrait images way to big to see it properly. I don't want to simply resize it, I want the image to be the bigger p

  • Random and filtered hero image · 6 years ago

    Hi to the Grav community, I started with Grav by creating an inerited theme of Qwark. I put the media files in user/pages/images with {% set my_image = page.find('/images').media['my-image.jpg'] %} .