Archived topic
default title in search widget is unstyled - why ?
6 replies · Started by Jacob on June 8, 2022
Been wanting to ask for some time. Why is the default title in search widget unstyled ?
Hi Jacob,
To clarify, are you referring to this widget?: https://share.getcloudapp.com/p9uO5ylA
If so, this is a WordPress Block. You would need to use custom CSS to style that.
GP has a search functionality which can be enabled through Appearance > Customize > Layout > Primary Navigation.
With regards to the site speed, here are the results I got from your website.
Mobile: https://share.getcloudapp.com/6quzLp02
Desktop: https://share.getcloudapp.com/qGuOD8gR
Are you getting low scores? Can you try testing again?
Hope to hear from you soon.
Thanks for the quick response, Fernando. First off, no I am getting the same scores as you posted. I just wanted to show you how good gp is, haha :).
But, to the question - so it is a wordpress-thing ? But so are the other widgets - Recent posts or Recent Comments ? Why the inconsistency ? Anyways, not a big thing - just weird - I have not seen this in any other theme I believe.
And yes, That is the widget I am referring to you posted a screenshot of.
Oh I see. :)
Yes, it’s a WordPress thing. These are default WordPress Blocks.
These widgets have a different structure.
The search label has a <label> tag whereas the other two are <h2>.
By default, there font-size and font weight are different, however you can change this through Dynamic Typography: https://docs.generatepress.com/article/dynamic-typography-overview/
Side note: If you download free GenerateBlocks plugin, you’ll be to add Blocks which are easily customizable for future use.
Here’s a sample video of GenerateBlocks in use: https://www.youtube.com/watch?v=R7fwJECtgSg
Hope this clarifies!
Ok. Thanks. I have GenerateBlocks. Not sure I fully understand how to use it properly yet. It does not seem intuitive enough yet. I just saw the Dynamic Block and know that WP Show Posts is coming up next. I will have a look.
Thanks Fernando. Have a great day.
You’re welcome Jacob!
WP Show Posts has been merged with GenerateBlocks version 1.5.0 which will be released soon but the beta version can be downloaded here: https://generateblocks.com/generateblocks-1-5-dynamic-data-query-loops-image-blocks/
Have a great day as well!