CSS in Theme

On , in , by Bouma

Home Forums RaidPlanner Discussions Bug reports CSS in Theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1421
    Bouma
    Member

    Hi,

    I am done with a Theme, but it seems that the class_icons are not displayed beside the character’s name, since the raidplanner_<theme>.css isn’t read in the Media folder/raidplanner/css/…

    From what I see, is that the Theme CSS isn’t read, so maybe no path is actually asking to get the info over there.

    I tried to add the css into the raidplanner.css, and all works fine. But of course, this is only to confirm that my code wasn’t the problem.

    Feel free to contact me via msn/skype : wiof@hotmail.com

    #1486
    Taracque
    Member

    There should be a loadCSS function in the theme-s php file like this:

    public function loadCSS()
    {
    $document = JFactory::getDocument();
    $document->addStyleSheet( ‘images/raidplanner/css/raidplanner_wow.css’ );

    return true;
    }

    That will load the css.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
 

Comments are closed.