Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #20085

    Hi all,

    I’ve just bought Coherence theme and I have a big problem…

    When I want to join a dynamic template to a page I have an error showing at the top of the page.

    > You can see the problem here http://www.expedit51.com/site

    Thank you for your help !

    Regards,

    Thibault

    #106246

    Hey!

    seems a function got lost with the latest update. we will add it again with the next update, meanwhile just open your functions.php file and add:


    if(!function_exists('avia_dynamic_body'))
    {
    function avia_dynamic_body($classes)
    {
    $classes[] = 'dynamic-template';
    return $classes;
    }
    }

    that should fix the error ;)

    #106247

    Oh Great it works !!

    Thank you very much Kriesi !

    Have you got any idea how i can change the “active” link color of my menu ?

    > http://www.expedit51.com/site I want the link “HOME” in white and other link in grey.

    Thank you very much for your help, your themes are awesome !

    Regards,

    Thibault

    #106248

    Hey!

    This should highlight the active link of the main menu. the others will stay grey ;)


    #top .main_menu ul:first-child > li.current-menu-item > a, #top .main_menu ul:first-child > li.current_page_item > a {
    color:#fff;
    }

    Best regards,

    Kriesi

    #106249

    Perfect !

    Thank you very much !

    Regards,

    Thibault

    #106250

    Glad Kriesi could help :)

    Let us know if you have any other questions or issues.

    Regards,

    Devin

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

The topic ‘PHP Error with Dynamic Template’ is closed to new replies.