0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING JUNE 30, 2025. Read our  Farewell Blog Post  for more info.

Solved: Class view-frontpage not appearing on body tag

    • Ken's Avatar
    • Ken
    • Newbie
    • Posts: 4
    • Thanks: 0

    Solved: Class view-frontpage not appearing on body tag

    Posted 13 years 9 months ago
    • On my dev environment, the body tag is assigned the class view-frontpage on the homepage, which was great for some homepage css styling

      However, on my prod environment, the body tag is not given this class. I'm not sure where to start looking for the issue; can anyone point me in the right direction? The body tag in the template appears as:
      <body <?php echo $gantry->displayBodyTag(array('bodyLevel')); ?>>
    • Last Edit: 13 years 9 months ago by Ken.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29363
    • Thanks: 955
    • Volunteer

    Re: Solved: Class view-frontpage not appearing on body tag

    Posted 13 years 9 months ago
    • try to enable the page-suffix feature and see if that helps.
      Also be sure to use the latest version of gantry.
    • Ken's Avatar
    • Ken
    • Newbie
    • Posts: 4
    • Thanks: 0

    Re: Solved: Class view-frontpage not appearing on body tag

    Posted 13 years 9 months ago
    • Thanks, Henning! The page-suffix feature didn't do it (it added some stuff to every page, but not the view-frontpage tag I wanted) but upgrading Gantry from 3.1.4 to 3.1.15 brought the tag back. :)

Time to create page: 0.074 seconds