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

pamtbaau Legend

Grav Forum Moderators

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

Badges

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

Recent posts

  • Srcset not working in Chrome (but in Firefox and Safari) · 6 years ago

    @luap, It doesn't matter whether the <img> definition comes from content or Twig. It's only the generated <img> HTML in the resulting page that matters. Anyway... I have dropped your Twig

  • Disable plugin after first run · 6 years ago

    @ariel, I presume you mean the plugin doesn't need to run anymore for any request unless switched on again? When the variable "enabled" in the config file for the plugin is set to 'false', Grav will

  • Srcset not working in Chrome (but in Firefox and Safari) · 6 years ago

    @luap, Since I have been playing around with responsive images before and have found no issues using Chrome, I tried the code you posted. I did the following: Standard fresh Grav (v1.6) installation

  • Srcset not working in Chrome (but in Firefox and Safari) · 6 years ago

    @luap, What might be happening is the effect of <picture> on the way the browser selects the image. See MDN docs on <picture>. Quote from the docs: The browser will consider each child &

  • Can't install Hypertext v2.1.1 Theme · 6 years ago

    @chiappa, I cannot reproduce the issue... Please provide reproducible steps. I did: Openend admin Chose 'Themes' Chose 'Add' Filtered on 'Hypertext' Chose 'install' and 'continue' Theme is installed

  • Bricklayer starts with one column and than flashes/switches to two columns · 6 years ago

    @anderer, You're right, the images in your items are not the problem: They appear to be svg... And images resize to the width of the container... The real issue is the size of the titles (.tool-name

  • Resizing image to fit the screen · 6 years ago

    @oxide, Ouch, I forgot to cleanup the css since both selectors are the same. Replace all css with: .maxsize { max-height: 100vh; /* subtract height of fixed header if needed */ display: block

  • Resizing image to fit the screen · 6 years ago

    @oxide, OK, you can partly blame me... LOL... You included the comments from my example, which is invalid css. Remove the // and the remarks I will fix my example code... And you can blame yourself..

  • Resizing image to fit the screen · 6 years ago

    @oxide, Without knowing/seeing your site, the page layout and styling, "it's not working for me" is a bit uninformative to me... You might consider adding some clarity by: sharing your site showing s

  • Resizing image to fit the screen · 6 years ago

    @oxide, Using an inherited theme of Quark, I did the following. [Updated to cleanup code samples.] Created portrait version of image Copied both images into /pages/02.typography/ Added images to