0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

SOLVED Gantry Frame 5 - Template hydrogen - body background-image and page-suffix

    • Felix 's Avatar
    • Felix
    • Sr. Rocketeer
    • Posts: 102
    • Thanks: 0

    SOLVED Gantry Frame 5 - Template hydrogen - body background-image and page-suffix

    Posted 9 years 3 days ago
    • Hello,

      I test gantry framework 5 template hydrogen and I have 2 questions:
      1. I can not find the setting Page suffix and I want
      2. the entire body a background-image to adjust.

      I think not both ...

      Thank you for your help

      Traudel
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Gantry Frame 5 - Template hydrogen - body background-image and page-suffix

    Posted 9 years 3 days ago
    • Could you please post a URL to your site (this can be done in the secure area tab if you prefer) so we can look for you. Without a link to page where the problem is on your site it is quite hard for us to provide the best solution due to so many variables. We try to provide file names and line numbers for code changes and if changes have already been made then our advice may be incorrect.

      1. what page suffix do you want?

      2. You can add a background image with custom CSS.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Felix 's Avatar
    • Felix
    • Sr. Rocketeer
    • Posts: 102
    • Thanks: 0

    Re: SOLVED Gantry Frame 5 - Template hydrogen - body background-image and page-suffix

    Posted 9 years 2 days ago
    • thanks for the answer..
      I test the page local, I have worked a lot with the gantry framework 4.1.29 and has worked very well. In gantry 4 I could activate the page suffix under the tab Advanced. In gantry 5 I can not find the settings for page suffix.
      I have created in the folder templates / g5_hydrogen / custom / scss / the custom.scss.
      In various pages I want background-images (body - complete) adjust.

      Traudel
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: SOLVED Gantry Frame 5 - Template hydrogen - body background-image and page-suffix

    Posted 9 years 2 days ago
    • If you mean a page suffix then you can add that on the "page display options" tab of the menu item.

      In Gantry 5 there is no need to turn on "page suffix" as in Gantry 4 template manager. There are two classes that are automatically added to the body tag of the form "itemid-999" and "outline-99". It's probably the first one that you want since it tell you the menu item if of the page. The second tell you the outline that is being used on the page. In Gantry 4 enabling page suffix used to give you "menu-alias" but in Gantry 5 it is "itemid-999" that is the equivalent.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Felix 's Avatar
    • Felix
    • Sr. Rocketeer
    • Posts: 102
    • Thanks: 0

    Re: SOLVED Gantry Frame 5 - Template hydrogen - body background-image and page-suffix

    Posted 9 years 2 days ago
    • Hello, thank you..

      how do I change the body the background? Or I want a background-image to use.
      if I in custom.scss "body {background: # ......}" nothing changes.

      Regards Traudel

      PS: the background-color I can change under the TAB Styles / Styles Base / Base Background. But I'm still trying background-images use here. I am still looking.

      OK, I found it - it is not body {background... } it is #g-page-surround {background: url("../images/......} (custom.scss)

      Thank you

      Regards Traudel
    • Last Edit: 9 years 1 day ago by Felix .

Time to create page: 0.066 seconds