Hi all,
If I have a site in VM v2.0 and want to upgrade to the latest version of VM will the css style changes I have made, will they be over ridden by the upgrade and style changed back to the default VM styling?
Thanks in advance.
- Yes. If the file has been modified directly.
- No. If the file has been modified by creating template override.
More information about Joomla! template override: http://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core
Thanks for that
cheers
Just thinking about that, the css file is: vmsite-ltr.css which is quite separate from the Joomla template files. Do I still need an template override?
If I was to duplicate the Joomla template and name it something different wouldn't it then be safe from being overwritten?
cheers
I see some confusion here. If you have only made edits to vmsite-ltr.css rather than make css overrides (different from template overrides) then the easiest way to keep those style changes is to make a copy of your edited css file, rename it (I use custom.css) and edit the Joomla template index.php file to load that file as the last event in the head area. This will then override the new vmsite-ltr.css that will be created in an upgrade, and any fine tuning can be made within the custom.css file.
I use a custom.css file in just about every Joomla site I build.
Many thanks, I understand what I've got to do now.
cheers