markc
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Gallery block not supporting >2 columnsThank you for having a look @jordesign. As it turns out, I set up a fresh site and imported the content (not a backup) and sure enough the gallery started behaving itself! There are no plugins and the only difference I can see is that the faulty staging site had Settings -> Media set to Thumbnail size 384×0, Medium size 768×0 and Large size 0x0 because I would manually scale all images to a max w/h of 1536×2048 before uploading to reduce the number of copies created. Below is the pristine staging site with only imported content…
Doh yes, there was clearly a Comment block in the Pages template. Removed it, and that fixed the extra space at the bottom of the page. Another hour or so of tweaking and I have this prototype site looking pretty good and a lot of the block editor settings are starting to make sense and behave as I would expect. Thanks to @zoonini and @jordesign (yet again) for all your help 🙂
Hi @jordesign, when I check the Pages template, I can see there is a Post Content block that obviously shows the content of the page but it comes with a comment section underneath the page content and that’s what (I guess) is showing as a large space.
Oh! Do I need to remove that Post Content block, which comes by default with TT3, and replace it with a customised Query Loop perhaps?
Ah excellent. Thank you for the clear screenshot @zoonini. It’s kind of obvious when I check it out. I’ve now adjusted some other padding and margins to my preferences at https://temp.goldcoast.org, but there is a large area at the bottom of the Post Content block for comments. How would I remove or negate that large blank space?
Thank you for responding @zoonini. I’ve just created a new temporary TT3 site called https://temp.goldcoast.org and removed all margin and padding from the Header Group and Row. The top 48px is padding applied to the “.wp-sites-block” class, and that’s the part that I’m not sure how to get rid of. There is also the same page-wide padding at the bottom. You can contact me down the bottom RHS if you want login details.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Transparent nav with background imageRightio, I found a post that describes how to make a sticky nav header. Go to Appearance > Editor > Templates > (select template) then edit that template. Go to the List View, then select the purple “Header” area. In the three vertical dots’ dropdown menu, select “Group” so that a Group block wraps around the Header block. Now you can go over to the RHS Block tab and select the Position > Sticky option, and it will now stick on scroll.
This is NOT intuitive and took me weeks to discover!
Now that this part works, I have another problem. It starts off with a solid background colour then, when I scroll up, the menu sticks okay but with a transparent background. This is the exact opposite of what I want to achieve. I want to start with a transparent background and upon scroll up for the header area to take on a solid colour (and also shrink, but I understand that will take some custom CSS).
Would anyone have a clue how to apply Sticky to a grouped Header block such that it becomes transparent, and the page background shows through?
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Transparent nav with background imageWell, how about that. I manually added “position:fixed;top:0;” to the source in dev tools, and it does indeed become sticky with the cover block going right to the top of the page as I would expect. At least I know the Header area is indeed transparent by default. If the “html :where(.is-position-sticky)” CSS gets fixed with 6.3-ga, then that will solve a significant part of my design needs.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Transparent nav with background imageI just double-checked, yes, the Group block I am trying to make Sticky is the very first block in the template-parts header I am using. Must be a bug.
No icon block is strange, as I really expected there to be one by default.
WP 6.3 is such a major improvement that I wouldn’t even bother trying any earlier versions. Well, I did, but I ran away screaming and been looking into using Deno Fresh instead, but it’s got a long way to go before there is anything like WordPress functionality available for it.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Transparent nav with background imageYes, I realise that shrinking the header on scroll would require custom JS, but the ease of applying a transparent and/or sticky header (sticky hopefully fixed with the release of 6.3) is, to me, a guide as to how ready the block editor on its own is ready for prime time. It’s obviously not quite there yet without additional plugins and manual CSS/JS, but it is encouragingly close.
The parts lacking are the ability to apply negative margins (on any block), being able to import local fonts (maybe in 6.4), an icon block and a way to add Javascript easily similar to CSS (perhaps locked to only administrator access).
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Transparent nav with background image@jordesign, my staging site is on a local VM, so I could set up a proxy to it. If you email me (in my profile, I think it’s public) then I’ll set up a proxy and provide the login details if you care to poke around. The site I am trying to emulate is https://spiderweb.com.au and after that https://markc.blog (both rather neglected Kadence sites).
Forum: Themes and Templates
In reply to: [Twenty Twenty-Three] Transparent nav with background imageHey, thanks again @jordesign. I tried applying Sticky to each of the Groups and Rows I have in the Header, but none of them are sticky or fixed. I hope it’s a bug with 6.3-rc1 because I have done this with other themes in previous years, and it worked as I expect, or by applying a negative margin-top to the Cover block.
I need to apply some animated nav shrinking and color change on scroll to the header nav, so it looks like I will have to start applying some custom CSS and Javascript anyway. Actually, I have no idea how to add some JS in the block editor.
I didn’t expect converting a Kadence + Kadence Blocks theme would be all that easy, and it’s not. A day later and I have a half working nav and a hero section… no transparent and sticky nav yet… and certainly not animated.
Thanks @jordesign. I’m really trying to avoid plugin-hell for now, so I will go with “Inter” for consistent font rendering across browsers and cross my fingers that 6.4 provides inbuilt local font management. If I can’t survive that long without my preferred font(s), then I will certainly try the plugin you suggested.
I guess another option would be to copy how the Inter TTF font has been added to the 2023 theme and manually try to emulate that setup, but there is probably some hidden CSS involved, and I’m not sure if I want to dig that deep while I am learning how to use the 6.3 block editor.
Forum: Plugins
In reply to: [Breeze Cache] Breeze cause issue on first load.I would just like to report the same problem as @lousure. Every few weeks I find my site does not display correctly and the only thing I can think of is that it may be due to a Breeze auto update as that is the only change to my site that is in any way relevant. I’ll have to disable Breeze.
Forum: Plugins
In reply to: [Gutenberg Blocks Library & Toolkit - Editor Plus] Problems on WP 6.0.1I tried to follow the video tutorial and all was well until I got to the “Add to custom blocks” part, but it’s missing. Is that something to do with WP 6.0.1 and Editor Plus 2.9.10 perhaps? A very promising plugin, but the most important advertised part is missing. This should be part of Gutenberg core.
Forum: Plugins
In reply to: [External Login] Bulk transfer of all external usersGood to know and thanks for the reply. I want to integrate both email login tables and WHMCS billing users directly into WordPress so I can use Woocommerce to provide sales, billing and make it easier for customers to manage their email, and other, settings. I think I’ll have to write some custom scripts to import and merge TWO systems into WP.