0
Welcome Guest! Login
0 items Join Now

"Page Class Suffix"

  • "Page Class Suffix"

    Posted 13 years 5 months ago
    • Is it possible that someone can explain this field to me? What is it, what does it do, is there a list somewhere of options for this? I am using the Momentum Template and see "oct11-home" in this field under the "Home" Menu item. I am really confused on what this is and would appreciate it so much if someone could just give me the readers digest on what this field does :cheesy:

      Thanks!!
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: "Page Class Suffix"

    Posted 13 years 5 months ago
    • it is used to get special styling on some pages.

      In standard joomla it adds a class to a surrounding div of the component area.
      If you have the page-suffix-feature enabled in gantry it is also added to the body tag.

      There is no list of suffixes ... it's used for special tweeks in our demo content.

      Let's say you have a rule like this in the regular css files
      #rt-main-column .block-shadow {margin-bottom: 0px;}

      You can override that by adding this on certain pages:
      .oct11-home #rt-main-column .block-shadow {margin-bottom: 15px;}

      It's a bit of an advanced feature for devs ...

Time to create page: 0.061 seconds