It seems the latest version of this plugin is not working. I don’t see the Custom CSS panel on the sidebar
]]>If I create a column and add css to the Custom CSS window, “selector {float:right},” ticss-blahblahblah is added to Additional CSS classes. If I duplicate the column, both of those are also duplicated but it won’t float:right no matter what I do. I’ve deleted each of them, both of them, started over, nothing will make the duplicated column float:right, If I delete the ticss-blahblahblah, it floats right on the admin side but not on the front end. I’ve cleared all the caches, so I don’t think it’s that.
]]>Hi there,
Firstly, thank you for using Blocks CSS: CSS Editor for Gutenberg Blocks.
Below, you will find some info about the support we provide via this forum.
Expectations
Before Posting a new topic
Thank you!
]]>I have some css like below. I am getting a “Expected RBRACE AT” and the ‘1’ in the 1fr. I believe this is correct syntax, am I wrong?
@media screen and (max-width: 768px) {
selector {
grid-template-columns: repeat(4, minmax(0, 1fr));
grid-template-rows: repeat(1, minmax(0, 1fr));
}
}
I have a gutenberg core grid. It has 4 columns. I am trying the below, but it is modifying e.g. the left side bar in the backend, and a lot of the right sight bar. So from this i infer the selector is not narrowing it.
How would I go about using the selector to match the sub-blocks in a grid?
selector > :nth-child(8n-0), :nth-child(8n-1),:nth-child(8n-2), :nth-child(8n-3) {
background: #a4f4f4;
}
Hi, this plugin is working great, but I did have one issue when using it with the Sensei LMS plugin, although it does seem to be an issue with their plugin. Basically when both plugins are installed, the lessons page keeps updating over and over again (I did also raise the issue with them, and I see they had the same issue with other plugins too).
What would be great would be the option to disable this plugin for certain post types. Maybe a filter that you could pass an array of the post types that you don’t want to enable Blocks CSS for.
]]>You can add custom css to a block that’s found on a page or post.
But if you edit a template, say the header or sidebar, it just doesn’t work. It saves the CSS in the Editor UI, but it’s not reflected in the front-end.
Hope you can fix this in a future update!
I’m not sure which is the issue. If blocks-css is loaded, my uagb/forms block (which is in a synced pattern) is updated for each and every keystroke in any paragraph (ones not in the sync’d block). This makes the backend very slow. I found this by using ‘monitorEvents(window);’ in the console.
I also reported the issue here, https://www.ads-software.com/support/topic/constant-update-of-uagb-forms-performance-issue-backend/
since i’m not sure which owns the issue.
]]>Updating the plugin from 2.5.2 to 2.6.0 modifies only one file:
blocks-css.php
It’s a one line change
- * Version: 2.5.2
+ * Version: 2.6.0
I tried updating the plugin with both WP CLI and the typical WordPress updater.
]]>Hello,
I would like to conditionally hide your Custom CSS block panel from Gutenberg, depending on user roles.
I could easily do this myself with conditionally enqueued CSS if your panel only had a unique CSS class attached to it. Unfortunately it doesn’t at the moment.
Could you take a look at this and possibly just add a simple static CSS class to the panel you add to the Gutenberg block settings to enable this kind of customization?
(For example the WP-default Advanced block panel has the CSS class block-editor-block-inspector__advanced
in addition to the generic components-panel__body
)
Thanks ??
]]>The plugin’s homepage lists blocks from Otter Blocks, and the language files have lines for those blocks.
To translate the Blocks CSS plugin into my language, I needed to translate over 90% of the strings, most of which are not used by the plugin. I installed Otter Blocks – it doesn’t use those strings either.
Translators for other languages will face the same problem.
]]>Hi,
I have tried custom css block on header template part and its working fine on home page. But when I am seeing other inner pages its not working.
See this is home page https://uniquesweb.co.in/template3/ – here custom css added is working
This is an inner page https://uniquesweb.co.in/template3/home/ – here custom css code is not working
Can you please look into this issue?
]]>Plugin seems to not work on widgets using block editor.
And also in the theme customizer
It works on pages and post though.
]]>I installed and activated the plugin. It does work on the Block Editor, it does render my css styling live, but when I go to visualize my page, the custom css for the block is gone. No trace of it ??
It seems like the custom css didn’t make it through to the final render of the page. Am I missing something?
I’m using a child theme based on Twenty-twenty-three.
]]>Hey!
The technical CSS class is displayed in the “ADDITIONAL CSS CLASS” field. This looks wrong: I, as a user, did not enter it there. Image
CSS is added when writing custom CSS.
]]>Hey!
I have found a bug in the plugin. To reproduce the issue,
So overall conclusion is that when a not working reusable blocks found on the page, the custom css blocks function also stop working. It shouldn’t be dependent on other things on the page.
]]>Thanks for the plugin!
I would like to report that the plugin does not consider CSS variables as valid strings. Photo: https://ibb.co/KwMgv7s
(the “Override” button helps).
]]>Hi!
I noticed that no styles are added on Archive and Single Pages for Custom Post Type (only classes are added to blocks). Here is an example for Archive Page (ticss-5f321c7a
class) and Single Page (ticss-5dd97fbb
class).
In the Site Editor it works but not in the frontend.
Thanks!
]]>Really good plugin , but finding when we use the built-in block field for ‘additional css classes’ , these class names get prepended to the ‘selector’ string in the custom css textarea
So say we add an additional css class to a block called ‘hide-on-desktop’ , in the custom css textarea we end up with all our custom styling getting brocken as the css classnames become –
.hide-on-desktopselector{
margin-bottom: 3rem;
}
It is really hard to fix as well via different css class positioning , etc
Is this a common issue and anything we can do to fix?
]]>Hi,
This video shows the problem.
Thanks.
]]>Hi,
I noticed a problem with removing unnecessary classes. Is there any way other than deleting the block?
Thanks!
]]>First of all thank you for this amazing Plugin! It helps me a lot.
I just realized that when I am using Crocoblocks JetThemeCore Plugin and create Theme Templates, the CSS is working in the Gutenberg block editor, but not on the actual page. Is this an issue you have to look into or what can I forward to Crocoblocks support to solve it?
Thanks
]]>Hi!
Below is one example:
selector {
--font-size: 5rem;
}
Thanks!
]]>Hello!
Im trying to edit my pages, but when i try to load any of them i only get a blank page, they only work when i turn the Blocks CSS Plug in Off.
as soon as i turn off the plug in i can edit my pages again, i want to know how to keep using the plug in while being able to edit the pages.
thank you
]]>Thanks for the plugin, it’s very useful.
But There’s a problem with the main page, I’m using Astra theme (I have the same problem with another older theme). I’m using full content in the main page with read more button (not excerpt).
All styles that are applied to blocks are working in single pages, but styles are missing in the main page (and category and tag pages too).
It also doesn’t work in search pages if there are more than one result.
Could you fix this bug?
?? This plugin works great on posts and pages, but when I’m in the template editor (under Appearance > Editor on WP 6.0) the “Custom CSS” tab does not appear. Is there a way to implement this plugin for the template editor as well?
]]>Hi, When I try to put grid related css for example
selector {
display:grid;
gap:30px;
grid-template-columns: 1fr 1fr 1fr;
}
Its not working and showing error
Attention needed! We found following errors with your code:
Expected RBRACE at line …
Why its not expecting fr as unit as its a valid css? Its only happening in the latest version of your plugin, you should provide to overide your errors, your plugin is not supporting
]]>At one point, this plugin successfully output customCSS
in the JSON API as part of the post it was pulling, but now it comes back as null
.
Hey, just to inform you that we had a critical error on some pages created with WP Bakery on our site. After some troubleshooting, I found that rolling back the Blocks CSS plugin back to 1.75 solved the problem.
As far as I’m concerned this is pretty much problem solved. We’re working on a new site (without WP Bakery) to replace this one, so that feels like a better direction of my energy than trying to work out exactly why the newer version of this plugin causes us this problem or removing all our CSS from blocks.
But I thought you might like to look into this to avoid this happening on other people’s sites.
]]>