• Hi there
    I have an awkward problem on my site, probably related to a solution I was trying to find for a friend using the Gutenberg Editor, something I am not conversant with.
    This guy uses that Gutenberg block editor & Kadence theme and I was trying to check out if his problem with setting automatically the paragraph content on a page, which I first heard in this system is each its own “block!” all to Justify alignment, which is very easy with classic & advanced tools editors could be reproduced on my site, which uses them and see if I could solve it as using custom styles.
    So I went to my existing site and switched briefly to the Gutenberg editor and to understand what it is, etc but the #content .entry-content {text-align:justify;} … did not help and I did not immediately see what I could do.
    I switched back to my custom classic editors. Today I was shocked to find all my sidebar widgets content missing and only “Archives” & “Meta” there, both of which were not there before. I certainly did not manually touch those settings.
    Was this done by this brief switch to the Gutenberg block system and (if so) is there any way to restore the rightful content which was there before, or one has to just re-do the widgets?
    I must admit I have never liked the Gutenberg system, ever since it appeared as it seems to complicate too many things.

    Thank you in advance.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator threadi

    (@threadi)

    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?

    Thread Starter xprt007

    (@xprt007)

    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.
    Moderator threadi

    (@threadi)

    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.

    Thread Starter xprt007

    (@xprt007)

    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.

    Thread Starter xprt007

    (@xprt007)

    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

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Sidebars/widget content has disappeared only leaving Archives and Meta’ is closed to new replies.