- Joomla! 1.5 Templates Cookbook
- Richard Carter
- 346字
- 2021-08-05 16:14:03
Editing CSS in the administration panel
Joomla! also allows administrators of their website to edit the CSS files associated with their Joomla! templates from the administration panel.
Getting ready
Navigate to the Template Manager feature in the administration panel. From here, select the theme that is currently the default. For this example, we'll assume it's the rhuk_milkyway template again.
How to do it...
- Select the Edit CSS option at the top-right of your screen. You'll be presented with a list of the CSS files associated with the current template:
- Select a CSS file by selecting the radio button next to the CSS file's name, and click on the Edit button at the top-right of the screen. You will then be presented with the CSS to edit:
- Once you have finished editing, click on Save or Apply or simply click on Cancel to negate any changes that you've made to the file.
How it works...
When you edit a CSS file from your Joomla! template in the administration panel, Joomla! overwrites the relevant CSS file with the changes that you've made, so long as the file is writable.
There's more...
There is one common problem that you may face when trying to edit your template's CSS files via the administration panel. You may find that the CSS files for your template are not writable from the administration panel.

To rectify this problem, navigate to the \templates\rhuk_milkyway\css
directory where you have Joomla! installed. Select all of the CSS files you wish to be able to edit from the administration panel, right-click, and select File permissions:

When changing the permissions to allow access to the template's params.ini
file, you need to allow Write permission for Group and Public:

Tip
Don't allow execution for security
Generally, it's wise to prevent execution of files unless explicitly required, as this can prevent a security risk to your Joomla! website.
Once you refresh the page in the administration panel you should now be able to edit the CSS files associated with the template.
See also
- Editing the HTML template in the administration panel
- 云化虛擬現(xiàn)實(shí)技術(shù)與應(yīng)用
- 中文版Maya 2012實(shí)用教程(第2版)
- AutoCAD 2019中文版從入門到精通
- Photoshop 平面廣告設(shè)計(jì)從入門到精通
- Mastering phpMyAdmin 3.3.x for Effective MySQL Management
- UG NX 完全實(shí)例解析
- Instant MuseScore
- 皮膚鏡圖像分析與識別
- 說服力:工作型PPT該這樣做(第2版)
- Designing and Implementing Linux Firewalls and QoS using netfilter, iproute2, NAT and l7/filter
- Photoshop+CorelDRAW平面設(shè)計(jì)案例實(shí)戰(zhàn):從入門到精通(視頻自學(xué)全彩版)
- Flash CS5動畫設(shè)計(jì)教程
- SolidWorks 2017基礎(chǔ)與實(shí)例教程
- Hello HarmonyOS!:鴻蒙應(yīng)用開發(fā)從入門到精通
- 選擇的藝術(shù):Photoshop圖像處理深度剖析(第3版)