Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • galbur Friend
    #719704

    Hi

    Is there a way to put body classes dynamicly to pages within fixel?
    I see there is a <body class=” “> Tag in the HTML Scource Code. But without classes.

    In this example from the JYAML-Template i have some classes:

    <body class=”is-homepage lang-de itemid-1229 option-com_content com_content-view-category com_content-category-336 category-336″>

    I just want to set some elements of the homepage display:hidden on specific Pages.

    Thank you
    Chris

    Ninja Lead Moderator
    #719877

    Hi Chris,

    Try adding the following code below

    Open templates/ja_fixel/tpls/home.php file

    find and change

    <body class="<?php echo $resClass ?>">

    to

    <body class="<?php echo $resClass ?> <?php $this->bodyClass(); ?>">

    Let me know if it helps

    Regards

    Ninja Lead Moderator
    #753173

    Hi Chris,

    Try adding the following code below

    Open templates/ja_fixel/tpls/home.php file

    find and change

    <body class="<?php echo $resClass ?>">

    to

    <body class="<?php echo $resClass ?> <?php $this->bodyClass(); ?>">

    Let me know if it helps

    Regards

    galbur Friend
    #719890

    Hi Ninja Lead

    That worked! Perfect.

    Thank you
    Chris

    galbur Friend
    #753186

    Hi Ninja Lead

    That worked! Perfect.

    Thank you
    Chris

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

This topic contains 5 replies, has 2 voices, and was last updated by  galbur 8 years, 7 months ago.

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