... just add the following CSS rule via the Custom CSS tool:
.gallery__item {
flex-grow: 0 !important;
}Wie(so) habe ich denn diese Seite gefunden?
Tipps

... just add the following CSS rule via the Custom CSS tool:
.gallery__item {
flex-grow: 0 !important;
}Create an override theme folder (https://getpublii.com/dev/theme-overrides/). Copy the config.json file into it.
Open the config.json file in your override folder using your preferred editor. Look for “postConfig” and edit the “featuredImageWidth” section so that it looks like this:
"postConfig": [
{
"name": "featuredImageWidth",
"label": "Featured Image Width",
"value": "post__image--wide",
"type": "select",
"options": [
{
"label": "No Image", "value": "post__image--none" },
{
"label": "Normal", "value": "post__image--normal" },
{
"label": "Wide", "value": "post__image--wide" },
{
"label": "Full", "value": "post__image--full" } ] },The essential part is { “label”: “No Image”, “value”: “post__image–none” }.
Next, you need to add custom CSS in the Publii app (Tools & Plugins > Custom CSS):
.post__image--none { display: none; }Once you’re in the post editor, you’ll see an option for the Featured image to display “None” images

If you are creating a custom theme for Publii, you might want to list all posts with a specific tag on a dedicated page. Here's how to do it:
First, create an override folder as described here: https://getpublii.com/dev/theme-overrides/
For the Mercury theme, the folder would be named mercury-override.
Then, copy the config.json file from the original theme folder into the override folder and add the following:
"postTemplates": {
"portfolio": "portfolio filter"
},Replace the word "portfolio" with the tag you want to filter by. For example, if you have multiple posts tagged as 'Mallorca,' it would look like this:
"postTemplates": {
"mallorca": "mallorca filter"
},
Note the use of lowercase letters.
A detailed guide can be found here:
https://cv.domagic.site/posts/alternative-post-template-with-filter-for-publii-cms
Now duplicate the index.hbs file and move the copy to the previously created override folder. Rename the file to post-newname.hbs. In this example, the file should be named post-mallorca.hbs.
Further details can be found here: https://getpublii.com/dev/how-to-create-custom-templates/
In the file, locate the {{#each post}} helper and replace it with:
{{#each @website.contentStructure.tags}}Then, add the following code:
{{#checkIf this.name '==' 'TAGNAME'}}
{{/each}}
{{#if this.postsNumber}}
{{#each this.posts}}Replace TAGNAME with the desired tag (the name, not the slug). In this case, use 'Mallorca' instead of 'mallorca.'
Finally, locate the closing {{/each}} helper (from the original {{#each post}}) and insert the following code just before it:
{{/each}}
{{/if}}
{{/checkIf}}Additional information on this topic can be found here:
https://getpublii.com/dev/how-to-display-posts-connected-with-a-specific-tag-name/
The post-newname.hbs file is now available as a post template. See the screenshot below. Create a new post and select this template:

For the masonry effect, ensure that in the footer.hbs, the script functionality is extended to the new template. In this case, add 'post-mallorca' as follows:
{{#is "index,tag,tags,author,post,post-mallorca"}}
<script defer src="{{js "isotope.pkgd.min.js"}}"></script> Put the footer.hbs in the override folder in a sub folder partials.
If you don't want the posts in this collection to appear on the homepage, mark them in Publii as "Exclude from homepage."

By default Live preview in Brackets is set to Google Chrome Browser. To change this
- Go to Debug
- Open Preferences file and
- change this line from “livedev.multibrowser”: false to “livedev.multibrowser”: true.
Close the Brackets App and open it again.
Clicking on “Live Preview” should now start in your default browser (like Safari or any other browser).

1. Godzilla (1954)
2. Godzilla Raids Again (1955)
3. King Kong vs. Godzilla (1962)
4. Mothra vs. Godzilla (1964)
5. Ghidorah, the Three-Headed Monster (1964)
6. Invasion of Astro-Monster (1965)
7. Ebirah, Horror of the Deep (1966)
8. Son of Godzilla (1967)
9. Destroy All Monsters (1968)
10. All Monsters Attack (1969)
11. Godzilla vs. Hedorah (1971)
12. Godzilla vs. Gigan (1972)
13. Godzilla vs. Megalon (1973)
14. Godzilla vs. Mechagodzilla (1974)
15. Terror of Mechagodzilla (1975)
16. The Return of Godzilla (1984)
17. Godzilla vs. Biollante (1989)
18. Godzilla vs. King Ghidorah (1991)
19. Godzilla vs. Mothra (1992)
20. Godzilla vs. Mechagodzilla II (1993)
21. Godzilla vs. SpaceGodzilla (1994)
22. Godzilla vs. Destoroyah (1995)
23. Godzilla 2000: Millennium (1999)
24. Godzilla vs. Megaguirus (2000)
25. Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack (2001)
26. Godzilla Against Mechagodzilla (2002)
27. Godzilla: Tokyo S.O.S. (2003)
28. Godzilla: Final Wars (2004)
29. Shin Godzilla (2016)
30. Godzilla: Planet of the Monsters (2017)
31. Godzilla: City on the Edge of Battle (2018)
32. Godzilla: The Planet Eater (2018)
33. Godzilla: King of the Monsters (2019)
34. Godzilla vs. Kong (2021)