Tim Nicholson
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Flat Blocks] Removing line below headerHi, you can remove the border line on the fixed header through the Site Editor without adding any CSS. that’s because the theme is enabled for full site editing.
If you do want to do it through CSS for some reason, here’s how you would do it:
.wp-block-group.is-style-fixed-header { border: none; }
- This reply was modified 6 months ago by Tim Nicholson.
Forum: Themes and Templates
In reply to: [Flat Blocks] Mobile menu and regular tabsWhat do you mean by “clicking any of the 3 tabs”?
The main navigation menu defaults to being right-justified but you can use the Editor to edit the menu and justify it left or center.
Forum: Themes and Templates
In reply to: [Flat Blocks] Insert image behind logoDo you mean you want the header to have a background on it plus the header also has a logo image in it? If so, I think you want the header to use the Cover Block and set it to the image you want for the background. Then within the Cover Block, you can specify the Logo block, Title Block, etc. on top of it.
Forum: Themes and Templates
In reply to: [Flat Blocks] “Critical Error” when I want to customize themeInteresting, so it seems that block-based themes are all experiencing the crash, while older non-block-based themes aren’t. This theme and TwentyTwentyThree are completely block-based, also referred to sometimes as “Full Site Editing”.
I for sure can’t get an error like this to come up with any themes on any of my websites running all of my various themes. I’m going to go ahead and mark this as “resolved” (not a theme issue), but will continue to monitor it and respond here.
Forum: Themes and Templates
In reply to: [Flat Blocks] “Critical Error” when I want to customize themeThat is a very strange error. That is core WordPress itself crashing. It’s trying to load your user profile to see if you have the ability to preview a theme and it’s crashing on its own call to wp_get_current_user().
The theme doesn’t ever call that function and this crash is before it even shows the theme. I.e. WordPress can’t determine if you are allowed to preview a theme.
Can you preview other themes? Both core WordPress TwentyTwentyThree and other themes downloaded from www.ads-software.com?
Forum: Themes and Templates
In reply to: [Flat Blocks] “Critical Error” when I want to customize themeSorry to hear you are having an issue. Can you tell me if you are on the latest version of Flat Blocks which is now 1.3.9? WordPress v6.3 had some really extensive changes, especially in the Site Editor and I fixed issues as I ran into them with quick updates to the theme. v1.3.9 should be stable.
If you are still experiencing the issue on v1.3.9 can you please turn on debugging on your site and copy in the more detailed error here (set WP_DEBUG to true in wp-config.php)?
Forum: Themes and Templates
In reply to: [Flat Blocks] Contact Form requirementsI think you probably have multiple issues going on. Have you been able to get the form Submit to work on the home page of the Twenty Twenty Three theme? If not, I’d work with your hosting provider to get that working. That theme is the default WordPress theme and if it has issues, then you know its a problem with core WordPress (or hosting configuration related to that). Try the form both on the Home page and on another page, maybe call it Contact Us.
As far as the Flat Blocks theme goes, it looks like you have your home page setup the way you want.
Forum: Themes and Templates
In reply to: [Flat Blocks] Contact Form requirementsHi, thanks for sharing this. While WP-CLI must be doing some odd stuff, like specifically NOT including the theme’s function.php file which is the main one that controls the theme.
However, I don’t want to contribute to it crashing, so I updated the code in the sample page patterns to specifically check that the function exists or it just skips pulling in that content.
So WP-CLI shouldn’t crash, but if it’s trying to create the theme patterns, they won’t be complete. When you are running the theme on your website, both as admin and on the front-end of the site, the patters will still work fine.
Look for an update to Flat Blocks v1.2.13.
Forum: Themes and Templates
In reply to: [Flat Blocks] Contact Form requirementsI think you are saying the form doesn’t work on your home page (default page, i.e. the site “root”), but it DOES work when the form is on other pages on your site?
When I hit Send on your form, the URL changes to something very odd. This probably has something to do with it. So I would check your Apache rewrite rules.
https://thewisecity.org/#contact-form-block-template-part-flat-blocks//content-home-top
Also, the only other page I see on your site is your Privacy Policy and that URL is odd too: https://thewisecity.org/?page_id=3. This could be unrelated, but usually it would be something like this: https://thewisecity.org/privacy/
Forum: Themes and Templates
In reply to: [Flat Blocks] Contact Form requirementsNo form plugin is needed. The contact form is in the Jetpack plug-in.
Can you try your site with the delivered Twenty Twenty Three theme and see if it works? If it does, then I’d contact Jetpack support.Forum: Themes and Templates
In reply to: [Flat Blocks] Contact Form requirementsHi, there isn’t anything in the theme that manipulates the contact form. The theme only applies some CSS to the buttons.
I did try the contact form on your site and it definitely isn’t working. When I hit Submit, it just returns me to the form with the same information filled in.
I added a contact form to my test site and tried it and it worked fine.
Your site looks really good, though! I like the blue you chose and how your profile section looks.
Forum: Themes and Templates
In reply to: [Flat Blocks] Tag overview 4 columnsGo into the Site Editor and then to Template Parts and then Query. Select the Query Loop and in the settings on the right will be the number of columns.
Forum: Themes and Templates
In reply to: [Flat Blocks] Tag overview 4 columnsI haven’t provided a block pattern for 4-column query, but you can go into the existing Query Loop and just set the columns from 2 to 4. I tried it on my test site and it worked.
Forum: Themes and Templates
In reply to: [Flat Bootstrap] Previous and Next Post menuHi, thanks for pointing this out. I never really use those post navigation links on my sites, but totally understand why you would want them. I’ll include them in the next version of the theme. I can just remove them from my website if I want.
In fact, I already have the code there in case someone wanted this. It’s in content-post-nav.php. However, I’m not calling that code at the bottom of single.php and single-fullwidth.php, which are the two templates you’d want to edit.
It’s great that you are already using a child theme. For now, just copy down single.php and single-fullwidth.php and edit them. You only need to add one line of code. Where you put it depends on whether you want the links to appear before or after the comments. I’m going to be putting them after the comments in the next version.
Here is the line of code:
<?php get_template_part( 'content', 'post-nav' ); ?>
Forum: Themes and Templates
In reply to: [Spot] Colors and CodexHi, I just released Flat Bootstrap v1.9 and updated its included child theme to load the parent’s stylesheet via PHP instead of using @import in the CSS. I’ve already worked this into the next update of Spot (and my other child themes). You can check that out if you want to add it to Spot now. The next version will have it.
As to the colors, since this question comes up a lot, let me provide you some background information and general guidance and then specifically how to address what you are asking for.
Here’s how they work (and this changed in v1.9 from the prior version you were looking at)… Theme-wide link and hover colors are now set right in the custom bootstrap.css that ships with my themes. It still is that same green color. Then my color palette overrides the font color, link, and hover colors depending on the background color used. Those are housed in theme-flat.css. The colors in the footer and after-footer (site credits and bottom nav) are set in each child theme’s CSS (style.css) if they differ from that of the parent, Flat Bootstrap (style.css).
In general to get rid of the green link colors, simply set a link color and hover color using the normal CSS
a
anda:hover
selectors. That won’t cause problems with the changed colors in our background color palette, so everything should look good.To just change the link and hover colors in the sidebar (I assume you mean the typical right sidebar as opposed to the other widget areas), you can do it like this. I’d use #secondary as that is the most outer class on that sidebar and is very specific, so won’t impact other things.
#secondary a { color: #3498db; /* blue */ } #secondary a:hover, a:focus { color: #34495e; /* midnight blue */ }