When you’re done editing, press Esc to exit insert mode.
Type :wq and press Enter to save and quit.
(:w = write, :q = quit)
Other useful Vim commands
:q! → quit without saving
:w → save without quitting
/text → search for text inside the file
n → jump to the next search result
After editing
Go to Studio → Dashboard → Clear All Cache and click the Clear All Cache button.
Then refresh your website (Ctrl + F5) to see the change applied.
Also you can make the breadcrumb bar horizontally scrollable only on touch devices (phones and tablets),
hide the visible scrollbar, and keep everything clean in the Artificer template.
Step 1 — Edit the CSS file
Open:
modules/boonex/artificer/template/css/main.css
and add this code at the end of the file:
/* mobile breadcrumb scroll — only for touch devices */@media (hover: none) and (pointer: coarse) {
div.bx-base-general-breadcrumb {
width: 100%;
text-align: left;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
white-space: nowrap;
scrollbar-width: none; /* Firefox */
}
/* Hide scrollbar for Chrome, Safari, Edge */
div.bx-base-general-breadcrumb::-webkit-scrollbar {
display: none;
}
}
Explanation
The rule @media (hover: none) and (pointer: coarse) ensures this style applies only on touch-screen devices (mobile and tablets), not on desktop monitors.
overflow-x: auto + white-space: nowrap keeps the breadcrumb on one line and enables horizontal scrolling only when needed.
The scrollbar is completely hidden visually (scrollbar-width: none and ::-webkit-scrollbar { display: none; }),
but touch scrolling still works smoothly.
-webkit-overflow-scrolling: touch ensures smooth native scrolling on iOS.
Step 2 — Clear Cache
After saving the file, go to:
Studio → Dashboard → Clear All Cache,
then press Clear All Cache.
Finally, refresh your website (Ctrl + F5) to apply the changes..
Situation
You manually edited two UNA CMS files:
modules/base/general/template/breadcrumb.html
modules/boonex/artificer/template/css/main.css
If these files were edited using sudo or as the root user, their ownership may have changed meaning the web server (which runs under the www-data user) might not be able to read or update them properly.
Step 1 — Restore file ownership
To make sure everything works correctly, run the following commands from the root directory of your UNA installation
You can replace this line in UNA’s breadcrumb template:
class="bx-base-general-breadcrumb flex items-center">with this simpler version:
class="bx-base-general-breadcrumb">in the file:
Command
To make the change directly from the terminal, go to the una directory run:
sed -i 's/<div class="bx-base-general-breadcrumb flex items-center">/<div class="bx-base-general-breadcrumb">/' modules/base/general/template/breadcrumb.htmlThis command:
sed(stream editor),-iflag edits the file in place,flex items-centerclasses.Clear Cache
After making this change, you must clear UNA’s cache to see the results.
You can do this directly from the UNA Studio:
Go to:
Studio → Dashboard → Clear All Cache(press the Clear All Cache button).Then reload your website (Ctrl + F5) to confirm the update.
To restore the original line (if you don’t like the result)
Run the reverse command:
sed -i 's/<div class="bx-base-general-breadcrumb">/<div class="bx-base-general-breadcrumb flex items-center">/' modules/base/general/template/breadcrumb.htmlClear Cache
After making this change, you must clear UNA’s cache to see the results.
You can do this directly from the UNA Studio:
Go to:
Studio → Dashboard → Clear All Cache(press the Clear All Cache button).Then reload your website (Ctrl + F5) to confirm the update.
How to edit the file with Vim
ito enter insert mode.class="bx-base-general-breadcrumb flex items-center">class="bx-base-general-breadcrumb">Escto exit insert mode.:wqand press Enter to save and quit.:w= write,:q= quit)Other useful Vim commands
:q!→ quit without saving:w→ save without quitting/text→ search for text inside the filen→ jump to the next search resultAfter editing
Go to Studio → Dashboard → Clear All Cache and click the Clear All Cache button.
Then refresh your website (Ctrl + F5) to see the change applied.
Also you can make the breadcrumb bar horizontally scrollable only on touch devices (phones and tablets),
hide the visible scrollbar, and keep everything clean in the Artificer template.
Step 1 — Edit the CSS file
Open:
and add this code at the end of the file:
/* mobile breadcrumb scroll — only for touch devices */ @media (hover: none) and (pointer: coarse) { div.bx-base-general-breadcrumb { width: 100%; text-align: left; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; white-space: nowrap; scrollbar-width: none; /* Firefox */ } /* Hide scrollbar for Chrome, Safari, Edge */ div.bx-base-general-breadcrumb::-webkit-scrollbar { display: none; } }Explanation
@media (hover: none) and (pointer: coarse)ensures this style applies only on touch-screen devices (mobile and tablets), not on desktop monitors.overflow-x: auto+white-space: nowrapkeeps the breadcrumb on one line and enables horizontal scrolling only when needed.scrollbar-width: noneand::-webkit-scrollbar { display: none; }),-webkit-overflow-scrolling: touchensures smooth native scrolling on iOS.Step 2 — Clear Cache
After saving the file, go to:
Studio → Dashboard → Clear All Cache,
then press Clear All Cache.
Finally, refresh your website (Ctrl + F5) to apply the changes..
Situation
You manually edited two UNA CMS files:
modules/base/general/template/breadcrumb.htmlmodules/boonex/artificer/template/css/main.cssIf these files were edited using
sudoor as therootuser, their ownership may have changed meaning the web server (which runs under thewww-datauser) might not be able to read or update them properly.Step 1 — Restore file ownership
To make sure everything works correctly, run the following commands from the root directory of your UNA installation
This assigns both files to the correct owner and group used by the web server.
Step 2 — Clear UNA cache
After fixing permissions, log in to UNA Studio and go to:
Studio → Dashboard → Clear All Cache,
then click Clear All Cache.
Finally, refresh your site in your browser (Ctrl + F5) to see your latest breadcrumb and CSS updates applied correctly.