Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • Menalto Friend
    #129737

    If you get a error when you gonna edit the css file for the template you can do the following.
    Open up the css folder of the template and change name on the template.css file to:


    template_css.css

    Then open up the index.php and find this code here:


    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />

    And change it to:


    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template_css.css" type="text/css" />

    Then rename the template.css file to template_css.css, you find that file in the css folder of the template

    cgc0202 Friend
    #258927

    <em>@Menalto 59398 wrote:</em><blockquote>If you get a error when you gonna edit the css file for the template you can do the following.
    Open up the css folder of the template and change name on the template.css file to:


    template_css.css

    Then open up the index.php and find this code here:


    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />

    And change it to:


    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template_css.css" type="text/css" />

    Then rename the template.css file to template_css.css, you find that file in the css folder of the template</blockquote>

    Hi Menalto,

    I do not experience the problem possibly because I have been doing it via FTP. My more important question though is why the need to change to

    change name on the template.css file to:


    template_css.css

    and then changing all those other places?

    Why did template.css not work, in the first place?

    Cornelio

    Menalto Friend
    #258931

    Joomla 1.0.xx reads template_css.css from the backend and if you try to edit the the css file from the backend you get a error message.
    So to be able to edit the css file from the backend(only in Joomla 1.0.xx version) you need to change the name and change this marked in red to template_css.css in the index.php file for the template:
    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />
    If you rename the file name from template.css to template_css.css and not change it in index.php you will not have any css file included to the template and no styling will show up.

    cgc0202 Friend
    #258957

    <em>@Menalto 65498 wrote:</em><blockquote>Joomla 1.0.xx reads template_css.css from the backend and if you try to edit the the css file from the backend you get a error message.
    So to be able to edit the css file from the backend(only in Joomla 1.0.xx version) you need to change the name and change this marked in red to template_css.css in the index.php file for the template:
    <link rel="stylesheet" href="<?php echo $tmpTools->templateurl(); ?>/css/template.css" type="text/css" />

    If you rename the file name from template.css to template_css.css and not change it in index.php you will not have any css file included to the template and no styling will show up.</blockquote>

    Let me rephrase this then Menalto, for me to understand it better:

    If you edit a css file using FTP, which is my preference, you do not have to do any of the above, modifications?

    When I was new using Joomla, I used to edit the css using the backend, until I realized, it is much easier to do it via FTP. But, even then, I recall having encountered this issue. That is why I am puzzled when people talk about template_css.css, and I do not have any of those in my installations.

    Cornelio

    Menalto Friend
    #258966

    Correct, if you use FTP no need for the above changes, only if you get an error editing when using the administrator panel of Joomla

    cgc0202 Friend
    #258971

    <em>@Menalto 65536 wrote:</em><blockquote>Correct, if you use FTP no need for the above changes, only if you get an error editing when using the administrator panel of Joomla</blockquote>

    Thanks for explaining Menalto. I do not want to change anything, unless I understand why.

    Cornelio

    esterlizia Friend
    #268188

    Hi,

    I have this problem, but I can’t neither erase, upload a new css file, nor rename, nor edit… nothing. I’m using all ways, from Joomla backend, my hosting control panel, and http://FTP... nothing works…

    I’m starting to wonder WHY this problem only happens with JA templates. I’ve using many many many many templates for years, then one day I liked one template from JA, bought membership and now I’m stuck with this one template wasting hours and hours… and now what?

    Why am I reading now that I shouldn’t use Joomla Administration backend? Why this only happens with JA templates? What can I do now?

    :((

    BTW I’m using Joomla 1.0.15 and the css template already is named template_css.css

Viewing 7 posts - 1 through 7 (of 7 total)

This topic contains 7 replies, has 3 voices, and was last updated by  esterlizia 16 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum