Etienne ROSENSTIEHL
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twenty-One] Block editor style far different from siteThanks for this review
Forum: Themes and Templates
In reply to: [Twenty Twenty-One] Block editor style far different from siteHi Oliver,
Thank you for this first response.
As you say, it’s a bit too hacky. I understand that in both cases we have to copy any change in the style.css either in your code (your solution) or at the end of the style-editor.css file (my suggested solution).
I am quite sure something simpler could be feasible.Regards
EtienneForum: Themes and Templates
In reply to: [Twenty Twenty-One] Widget errorsBy the way, this bug was already reported in the Gutenberg Support.
Forum: Themes and Templates
In reply to: [Twenty Twenty-One] Widget errorsHi @macmanx ,
I’ll live without it.
Sorry for the burden and thanks again.Forum: Plugins
In reply to: [Gutenberg] Widgets destroyed and can’t save themI have the same kind of issue with themes 2020 and 2021. Widgets can’t be saved.
Forum: Themes and Templates
In reply to: [Twenty Twenty-One] Widget errorsForum: Themes and Templates
In reply to: [Twenty Twenty-One] Widget errorsHi @macmanx ,
Thank you for your immediate reaction.
I use WP 5.6 and 2021 version 1.1.
I now have Akismet, Hello Dolly, Healthcheck and Gutenberg as plugins.
Healthcheck tells me the imagick PHP component is not active, this is the only minor performance point it mentions (except unactivated plugins NexGen and NexGenPlus).I used the Twentytwentyone theme (without child theme). I added a paragraph in the widget area saying ‘Hello World’ and when saving there is a message on the bottom left side saying : there was an error [object Object] and the saving process doesn’t complete, I have to leave the page unsaved. Same thing on Twentytwenty without child-theme.
Thanks for your help.
Etienne RForum: Themes and Templates
In reply to: [Twenty Twenty-One] Menu layoutHi @gunivortus ,
May be worth trying this kind of additional CSS :
:root { --primary-nav--font-size: var(--global--font-size-lg); --primary-nav--font-weight: var(--heading--font-weight-strong); } @media only screen and (min-width: 482px) { .primary-navigation { position: relative; margin: auto; } }
Good luck
Etienne RMany thanks @domainsupport ,
It works great.Forum: Themes and Templates
In reply to: [Twenty Twenty-One] Make text and boxes smallerDear @gunivortus ,
Have a look at the style.css, you will find variables defined and many of them are related to the size of the characters.
In the Additional CSS of the theme customizer, you can change the values quite easily as follows ::root { --global--font-size-base: 1rem; /* instead of : 1.25rem; */ --global--font-size-xs: 0.75rem; /* instead of : 1rem; */ --global--font-size-sm: 1rem; /* instead of : 1.125rem; */ --global--font-size-md: 1rem; /* instead of : 1.25rem; */ --global--font-size-lg: 1.25rem; /* instead of : 1.5rem; */ --global--font-size-xl: 1.5rem; /* instead of : 2.25rem; */ --global--font-size-xxl: 2rem; /* instead of : 4rem; */ --global--font-size-xxxl: 3rem; /* instead of : 5rem; */ --global--font-size-page-title: var(--global--font-size-xxl); }
Forum: Themes and Templates
In reply to: [Twenty Twenty-One] Editing Menu Font SizeYou’re welcome
Forum: Themes and Templates
In reply to: [Twenty Twenty-One] Editing Menu Font SizeDear @charliehanger,
Your code looks good, it is exactlty what I would have done. It works fine both with a child theme and with the native Twenty twenty One.
Do you have the same problem on a mobile screen ? Did you look at the
--primary-nav--font-size-mobile:
May you could tell us the URL of the website you work on.Best
Etienne RForum: Themes and Templates
In reply to: [Twenty Twenty-One] Editing Menu Font SizeHi charliehanger,
I tried the following in the additional CSS and it works.
:root {
–primary-nav–font-size: 30px;
}Do you have the exact spelling. In your message, you have one dash instead of two in your variable names.
Hope this helps
Etienne RRegarding the size of the menu items :
.primary-menu li {
font-size: 24px; /* instead of inherit */
line-height: 1.25;
position: relative;
}I am not sure I can help. Regarding the background-color of the menu you can try this code in your child theme :
#site-header {
background: #94c83d; !important;
position: relative;
}