Visual Composer for Wordpress CSS Revisions - css

I am creating a project for work using Visual Composer for WordPress. My co-worker was messing around while I was in the middle of making changes and updated the page with old CSS, removing everything I had done for the entire day.
I noticed that WordPress has a revisions link, but it seems to only change the layout and not the 'Custom CSS' that was added. Before I give up and redo the entire thing, is there any way to go back?
Thanks.

Related

Elementor ruins page layout

I use Astra (latest version) and Elementor 3.64, tried to switch off every plugin, clear cache, restore CSS and change CSS setting to external file, nothing helps.
I have some products in my catalog, and those product posts that I have created previously seem to have no problem with CSS.
But when I create a new product, the page has no margins or paddings whatsoever. The most interesting thing is that when I start editing previous product posts, the margins and paddings also disappear there. That's why I try not to change other "healthy" posts with Elementor, because it ruins them.
I tried looking at the CSS code through F12, it shows that CSS codes for ast-separate-container and ast-woocommerce-container simply disappear and I have no clue why that happens. Other pages that I haven't opened with Elementor have these code lines with all margins and paddings. Somebody help?
Normal page: https://atomycatalog.kz/product/atomi-centella-nabor/
Ruined page:
https://atomycatalog.kz/product/atomi-dorozhnyj-nabor-6-dlya-ochishcheniya/
Have you tried updating Elementor to version 3.7.0 before?
I've got news from some friends that there is a bug in version 3.7.0 which makes some layouts messy, they say downgrading still doesn't change anything.
The only way they fix the messy layouts problem is with restore the database if you have any backup for the version on date where you feel everything is still fine.
Elementor developer team will work hard to fix this bugs in the next update. I am sure of it
If this doesn't help you, come back and ask again:)

Search plugin breaking parts of theme

I've been asked to add a search function to a website. I'm trying this out on a testing site at http://www.somethingchronic.org.uk (the password to view is Entrand0s1).
I've installed a search plugin which works on all pages except the home page. On that page it clashes with the script in the slider plugin and when I tried deactivating the slider plugin I also lost the four large buttons at the bottom of the page which are part of the theme itself. Both the slider plugin and the theme are old but I'm hoping to keep the site going for a little while longer if I can. I asked for advice from the search plugin developer who said it's to do with the slider loading an older version of the jQuery library. I searched on here for jQuery library conflicts - one answer linked to the learn.jquery website with a list of options for avoiding library conflicts. There were a number of options for adding code - I tried adding some of these to the header.php document but each time the site broke completely and truth is I don't know enough about jQuery to know which is the correct piece of code to try. Any advice appreciated - would be great to know if there is a way to get the search plugin to also work on the home page whilst keeping the current slider. Many thanks

Custom theme showing a white page in ASP.NET Zero

I am currently working on a project in the ASP.NET Zero framework and I am trying to create a custom Metronic theme. I started by copying an existing theme and used the documentation to add a new version of that theme but with a different name.
I followed every step in the documentation and I have also searched in the whole project for the places where the themes get implemented. Everything after this looks ok and I can see the theme in my theme selections.
But the problem is when I chose the theme and save it, then the page won't show anything. I only see a white page. The settings, however, get updated with the correct theme and if I inspect the network tap in the browser, then I see that everything is loaded without problems. There are also no errors to be found. I don't understand what I am doing wrong here.

Link blocks to composer in Concrete5

I'm just playing about with an offline copy of Concrete5 and was wondering if there is any way to link blocks to the composer system to make them work? I made a page template hoping I could just click 'new page' and select my template to add it to the right area of my test site, but it won't show up. I then tried to edit a preset page template from my theme, and that worked fine... except it still populates the new page with the original blocks.
It seems like a total nightmare to do anything in this system. Should I be using a different one if I can't even do this?
I am not sure I fully understand your question but have you had a look at this tutorial? It might help https://documentation.concrete5.org/tutorials/setup-a-simple-blog-within-concrete-5-7

Style.css mysteriously turned into one line

I'm developing a site using the Divi WP theme, using a child theme. I had a style.css that I was working with in Sublime Text 2.
After making a change and reloading the css, it all got turned into one line, instead of being multiple lines down the page. I can unminify using a tool online and a bunch of manual editing, but I'm afraid this will happen again.
There are no "automatic" minifying plugins in use or any other thing that should cause this.
I've never had this happen before.
What can I do to keep it from happening again?
Thanks.

Resources