Some Volt Qs

The local Blocs project export newer includes the _cms folder. Maybe this will change in the future during a closer Blocs integration.

Maybe your FTP app was configured to delete not locally existing files and folders on the server, which would erase the _cms folder on the server in this case.

Always a good idea to keep a local backup, though any half decent web host would also maintain regular backups that can be obtained through the control panel. From that perspective your _cms folder and contents should always be recoverable or at least a recent version within the last few hours.

Regarding FTP, the folder was deliberately called _cms, so that it would go to the top of any file list ordered by name, indicating that it should not be touched and separated from normal page folders. I do this with my other remotely hosted folders as well like _images or _video. Any folder with an underscore means do not delete.

One thing not found in Forklift that I miss from Yummy FTP is the ability to slap a big red do not touch label on a file or folder. Professional FTP apps generally include an option to exclude specific files or folders when making updates. One slight apprehension I have about Blocs starting to handle FTP is that users may end up deleting files and folders in error.

When you are tired and working on more than one project it is far too easy to delete something in error, so you need a methodical workflow in place to limit the chance of mistakes.

There are times at 2.00am when I might just become a little confused over what I am doing during a site update and find myself closing the FTP app to start again. I am also a little old fashioned in that I prefer to manually delete everything, then upload everything fresh. It takes a little longer, but ensures everything on the server is correct and not a mishmash of old & new.

2 Likes

@Jannis
Please clarify - and the margin indents through the shift in the blocs 4, we can not add? Only through classes?

I am not able to identify what you’re in detail wishing for.

Volt Content div areas do all have the class volt-content assigned. You’re able to target everything based on this.

I have, for example, h3 - the title, which I want the user could change without me. In the screenshot it is displayed, but I will remove it before uploading the site.
But h3 has a margin of 20 so that it looks good.
How can I make it so that when I add content through Volt - margin 20 was the same?

And the second question - is there any way to fill in the content for the Volt content directly in Blocs 4?

CSS:

.volt-content h3 {
    margin: 20px;
}

Or margin-bottom, whatever you need.

Same is possible with adding this through the class manager.

Not in Blocs 4 currently.

Blocs 5: maybe.

1 Like

And this class with margin needs to be applied in the block with volt content in block 4 itself?
Or through the volt editor when adding text to a hosted site?

Just add above CSS in the Code Editor → Additional CSS, and it’s always available for all h3 headers in Volt Content area automatically.

1 Like

Basically, you can copy whatever the settings are on the existing areas to your new Volt additions when you’re constructing the page.
Volt just deals with the content inside of those areas, any margins or padding are done within the page construction with classes etc.

1 Like