Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • olgabad10 Friend
    #155458

    Hi,

    I’m trying to edit one article css styling. I need to use the page class sufix. as I’saw in this tutorial:http://docs.joomla.org/Tutorial:Using_Class_Suffixes_in_Joomla!_1.5#Page_Class_Suffix, I went to menu administration->main menu-> select the item pointing to an article, and set in parameters-system the page class sufix ” carta”. the problem is that in the firbug the only preprogramed class that takes this subclass is the contentheading because the contentpaneopen standard joomla class is overrided by the template and instead there is article-content which doeas not take the sub class .carta, so I can’t edit this only page style. How can I fix this?
    thanks.

    aman204 Friend
    #359909

    Go to ::

    templates/ja_nickel/html/com_content/article/default.php file and change this::

    <div class=”article-content”>
    <?php if (isset ($this->article->toc)) : ?>

    to

    <div class=”article-content<?php echo $this->escape($this->params->get( ‘pageclass_sfx’ )); ?>”>
    <?php if (isset ($this->article->toc)) : ?>

    Now, You can add css attribute like this and update properties accordingly::

    .article-contentcarta{font-size:9px;color:#000;}

    olgabad10 Friend
    #359922

    thank you so much.namaste

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

This topic contains 3 replies, has 2 voices, and was last updated by  olgabad10 14 years ago.

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