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

pamtbaau Legend

Grav Forum Moderators

@pamtbaau · Joined 8 years ago · 3183 posts · 17 topics · 1019 reputation

Badges

Grav Core Team ModSquad Team Member ✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • How to set lazy loading in Twig template · 5 years ago

    @pilot23 As said... You still might see no effect depending on the size of the page and the position of the images. Lazy loading is a browser feature. Once the attribute loading="lazy" has been se

  • Having issue with grav update · 5 years ago

    @ldm, This is an error which has been reported a few times before. Please check if any of these reports might help you. On Discourse: https://discourse.getgrav.org/search?expanded=true&q=trying%2

  • How to set lazy loading in Twig template · 5 years ago

    @pilot23, Adding ** (bold) doesn't really work in block-quotes... ;-) Your first try is really off as you've noticed. The second try is close and I can see why it has "no effect". In you current code,

  • How to set lazy loading in Twig template · 5 years ago

    @pilot23, When asking questions on forums it is often a good habit to show what one has tried already including the results that were obtained. This demonstrates that you’ve taken the time to try to

  • After update images with @3x are displayed too large · 5 years ago

    @madu, Nice! You may then mark the post as solved by ticking the 'solution' icon in the lower right corner of the reply that led to the solution.

  • Apply featherlight lightbox to all images · 5 years ago

    @jbd, That’s actually very similar to editing the functions.php theme page in Wordpress. Barely a week member of the Grav community and already insulting... 🙄 I thought there would be some solutio

  • Apply featherlight lightbox to all images · 5 years ago

    @jbd, If you like programming, you could create a little plugin that uses preg_replace() to alter the Markdown image definition. Something like: public function onPageContentRaw(Event $event) { /**

  • After update images with @3x are displayed too large · 5 years ago

    @madu, It seems you've now added width: 100% to user/themes/bauhygiene/css/main.css at line 767 and the images look ok to me now. By the way, it seems the English and French translations are broken, b

  • After update images with @3x are displayed too large · 5 years ago

    @madu, Before delving into your css snippets, did you try my suggestion? Why are you setting font styles on an image? What's the use of figure if the img is not inside a figure?

  • After update images with @3x are displayed too large · 5 years ago

    @madu, Could it be you have changed some css earlier... Try adding the following to user/themes/bauhygiene/css/main.css : img { width: 100%; } or something similar to suit your needs...