The website currently uses the Spacious theme, but you mentioned Kadience first. How did you activate and deactivate Gutenberg? Do you mean that you changed the theme? Or did you use a plugin for this?
Hi there
No my site uses the Spacious theme and the classic editor + advanced editor tools plugins and system. That of the friend I wanted to help with an unrelated issue, Kadence theme and the Gutenberg system. The problem of justify alignment for all content on a page is easily solved for someone NOT using the Gutenberg system, which I gather was making/makes each paragraph a block(!) requiring formatting each of them separately and that being something he wanted to avoid, but it seems it was also causing some layout issues.
I thought I would test for a possible solution first by just installing and activating Kadence on MY site, testing some additional, custom style BUT that did not work UNLIKE with my Spacious theme, making me speculate Kadence uses different selectors.
So later, I decided to just try deactivating the 2 editing plugins to see what MY site looks like under the Gutenberg system if you try to edit or create a page, but I did not just like the whole thing I was seeing how it rendered the site, etc. Without saving anything, I decided to just reactivate the 2 plugins, returned to Spacious I suppose then leaving the Gutenberg system and left it at that.
It was hours later that I noticed the whole sidebar and footer content of my site with its Spacious theme, which have for years been the same all gone and as mentioned only showing “Archives” & “Meta”, which was quite shocking.
As I had made no other changes to the site, not touched those particular sidebars/Footer literally for years, I thought that action above must have something to do with it.
So I was wondering if there is any simple action to get that content back, and i hope none of the actions mentioned above, involving Gutenberg editor appearing after I deactivated the the 2 plugins led to the deletion of any data, which would be terrible! I need to add I had not made a DB backup before that as I did not expect anything unusual with those specific actions.
Thank you!
-
This reply was modified 1 year, 2 months ago by
xprt007.
-
This reply was modified 1 year, 2 months ago by
xprt007.
Your attempted solution with the theme change probably also led to changes in the settings used by Spacious. That’s why you have this change in the sidebar output. Because what is displayed in the frontend is determined by themes – not by WordPress. WordPress only helps to generate the pages.
So there are 2 ways to solve the problem with your website:
- You use a backup that you have previously created of your project. This would restore the settings that Spacious has lost. If you do not have a backup available yourself, contact your hoster’s support.
- Alternatively, you can also contact the support of the Spacious theme: https://wordpress.org/support/theme/spacious/
Now to your friend’s problem: since he uses Kadience, I would recommend contacting their support forum for clarification: https://wordpress.org/support/theme/kadence/ – some themes offer global settings for individual blocks (which is already available in the site editor anyway through Gutenberg under Apperance > Editor > Styles > Blocks), which would make this possible without any individual CSS code. Enabling solutions without code is a goal of the Gutenberg project, which I think could easily be done here.
Hi there
Thank you very much for your response.
Briefly, I contacted Kadence support yesterday, but I have not yet heard from them. I will mention your suggestion to them.
Regarding my site, I have a backup but from last August, which would make me lose some content though. I will look into your suggestion and report back.
Thank you & kind regards.
Hi threadi
I discovered the changes to the sidebar/footer content had been because the temporary switch to the Gutenberg block system had led to their automatic deactivation. I was able to restore them manually again.
Regarding the Kadence-based site issue, unfortunately their theme support has not yet responded up to now.
Someone also suggested the following:
Please test the following CSS rule instead of the previous one, it should work for the paragraph blocks as well:
#content .entry-content, #content .entry-content p {text-align:justify;}
Another workaround might be using a plugin like Justify for Paragraph Block for adding the “Justify” button.
I am still waiting on the friend to test those solutions and give some feedback.
Regards