matteoc
Forum Replies Created
-
That solved it. Thanks for pointing out the mistake.
- This reply was modified 2 years, 4 months ago by matteoc.
Forum: Fixing WordPress
In reply to: Firefox ignoring tags in Gutenberg paragraph blocksThanks! I will test it on another computer. I also tried in safe mode. Wondering how my FF installation got so specifically corrupted.
Forum: Fixing WordPress
In reply to: Firefox ignoring tags in Gutenberg paragraph blocksThanks for the reply!
Agreed. Strong should be font-weight: 700 on all browsers. But on Firefox it’s not working.
Please see screenshot below:
https://www.dropbox.com/s/l9yazmjtsfwwnfs/Screenshot%202022-12-18%20at%2016.30.34.png?dl=0I finally recruited the help of a brilliant front end developer and friend. He came up with the following CSS that solves a number of issues and inconsistencies with both Wabi and Gutenberg in general.
wp-site-blocks .wp-block-group { margin-top: 0 ; margin-bottom: 0; padding-top: 15px; padding-bottom: 15px; } .wp-block-column { margin-top: 0 ; margin-bottom: 0; padding-top: 10px; padding-bottom: 10px; } ul { padding-left: 1rem; } //* ul > li + li { margin-top: 0.25rem; } *// .wp-block-post-content > .wp-block-group { padding: 2rem !important; } p { margin: 0 !important; } * + p { margin-top: 1rem !important; } header .wp-block-image { margin: 0; margin-top: -3px; margin-bottom: 3px; } .wp-site-blocks > header + * { margin: 0; } .wp-block-columns:only-child { margin: 0; } .wp-block-column > * { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0; padding-bottom: 0; } .wp-block-column > * + * { margin-top: 1.5rem !important; // line-height: normal; } .wp-block-column > h4 + p { margin-top: 0.5rem !important; } @media screen and (max-width: 768px) { .wp-block-columns { display: grid; grid-gap: 1rem; } } .is-not-stacked-on-mobile { display: flex; } .is-stacked-on-mobile > * { margin: 0; } .is-stacked-on-mobile > * + * { margin-top: 1.5rem; } .wp-block-media-text { display: grid; grid-gap: 2rem; } .wp-block-media-text__media, .wp-block-media-text__content { padding: 0 !important; margin: 0 !important; } h2, h3, h4 { margin: 0; } h2 + *, h3 + *, h4 + * { margin-top: 1.5rem !important; } .wp-block-post-content .wp-block-group p + h2, body .wp-block-post-content .wp-block-group p + h3 { margin-top: 1.5rem !important; } .preshero-learn-more { display: grid; grid-gap: 1rem; } .preshero-learn-more > * { margin: 0 !important; } .preshero-learn-more > * .wp-block-button { width: 100%; } .preshero-learn-more > * .wp-block-button a { width: 100%; } @media screen and (min-width: 769px) { .preshero-learn-more { grid-template-columns: repeat(4, 1fr); } .preshero-learn-more > * { display: flex; flex-direction: column; height: 100%; } .preshero-learn-more > * .wp-block-buttons { margin-top: auto !important; } .preshero-learn-more > * .wp-block-buttons:before { content: " "; height: 0.5rem; } } .wp-container-9.wp-block-buttons { margin-top: auto !important; }Forum: Fixing WordPress
In reply to: Navigation Block on mobile has many issuesSolution!
Navigation Block on Mobile is *not* compatible with the Delay JavaScript Execution option on WP-Rocket.
Once you disable this option on WP-Rocket the menu works fine on mobile.
Now for me it’s on to the layout issues…
Forum: Fixing WordPress
In reply to: Navigation Block on mobile has many issuesI have reproduced the issue on a staging site: https://staging-phlandings.kinsta.cloud/presentation-public-speaking-coach/
It would be great if I knew how to control how much white space the header takes before the first block of the page. Right now both on mobile and on desktop I would greatly reduce that space.
Forum: Fixing WordPress
In reply to: Navigation Block on mobile has many issues@threadi so sorry about the link. This one should work: https://www.dropbox.com/s/sziy432f6ujuq3e/RPReplay_Final1649696008.MP4?dl=0
Forum: Fixing WordPress
In reply to: Navigation Block on mobile has many issuesAnother quick screencapture https://www.dropbox.com/s/q3ef0pzoa4mpo1r/RPReplay_Final1649696008.MP4?dl=0
Forum: Fixing WordPress
In reply to: Navigation Block on mobile has many issuesI just added the menu to other pages and is now showing the same behavior from my screen capture unfortunately. On some pages the script is malfunctioning and showing this:
https://www.dropbox.com/s/fq9qlwgl4oc3oqu/IMG_B73316D5C2D5-1.jpeg?dl=0All in all it seems that out of the box it does not work.
Moreover I would love to have more options to decide how high the header is, but I don’t know where to find the right instructions or if I should – as ever – take the CSS and edit manually.
Anyway I am deleting the menu from most pages waiting for the a fix. I can try and keep the error on a staging page if that helps. Let me know!
I’ve made some progress with alignments with simple CSS tweaks. Not happy with it, but it will have to do until I get some support here.
But color management is quite a mystery. See the video below:
Thanks Pawel,
I much appreciate you finding a solution to the issue. The page loads fine on mobile now.
Thanks for adding my ticket too. Gutenberg is a mess, but with full site editing it’s becoming the standard site builder. And right now all the form blocks created for Gutenberg are pretty terrible…
Best,
MatteoForum: Fixing WordPress
In reply to: How to remove spacing between blocks in GutenbergWonderful. Worked perfectly. I owe you a drink!
Forum: Fixing WordPress
In reply to: How to remove spacing between blocks in GutenbergThanks Alan! That sounds like a good workaround, but…
It looks like 5.9 and Twenty-Twenty-Two have gotten rid of the customizer. Any idea where I would add the additional CSS?
Forum: Plugins
In reply to: [Polylang] Draft preview causes redirect loopThank you. The new version solves the problem.
Drinks are on me if you’re ever in Berlin 🙂Forum: Plugins
In reply to: [Polylang] Draft preview causes redirect loopHi Chouby, thanks for the quick response.
Here is a screenshot of the settings:
http://postimg.org/image/bclj0d4qp/