0
Welcome Guest! Login
0 items Join Now

How to assign override to a single post page?

    • cspm's Avatar
    • cspm
    • Hero Rocketeer
    • Posts: 375
    • Thanks: 0

    How to assign override to a single post page?

    Posted 12 years 3 months ago
    • Shazdeh's Avatar
    • Shazdeh
    • Elite Rocketeer
    • Posts: 4984
    • Thanks: 29

    Re: How to assign override to a single post page?

    Posted 12 years 3 months ago
    • Hi,
      in the overrides' Assignments screen, there are two boxes labeled Posts and Pages and in them you'll find a list of all your single posts and pages. Two assign the override to a single post or page, tick the checkbox besides it's name and click the "Add to Assigned" button and then Save the changes.
      Please see the attached screenshot, I have assigned the override to Sample Post and Sample pages. When a user visits these posts or pages, the override will be applied.
    • Please don't PM unless requested ;)
      Consider using the custom stylesheet for all your CSS customizations: gantry-framework.org/documentation/wordp...custom_stylesheet.md .
      Please provide the URL to the issue.
      And please mark the thread as solved if the issue is resolved.
    • cspm's Avatar
    • cspm
    • Hero Rocketeer
    • Posts: 375
    • Thanks: 0

    Re: How to assign override to a single post page?

    Posted 12 years 3 months ago
    • Thanks Shazdeh, how do I assign it to every post in the blog automatically? That could be hundreds of posts, with new ones posted continuously.
    • Shazdeh's Avatar
    • Shazdeh
    • Elite Rocketeer
    • Posts: 4984
    • Thanks: 29

    Re: How to assign override to a single post page?

    Posted 12 years 3 months ago
    • To apply the override on all posts, tick the checkbox beside the Posts title (see the screenshot above). This way when a user is visiting a single post (no matter what post) the override applies.
    • Please don't PM unless requested ;)
      Consider using the custom stylesheet for all your CSS customizations: gantry-framework.org/documentation/wordp...custom_stylesheet.md .
      Please provide the URL to the issue.
      And please mark the thread as solved if the issue is resolved.
    • cspm's Avatar
    • cspm
    • Hero Rocketeer
    • Posts: 375
    • Thanks: 0

    Re: How to assign override to a single post page?

    Posted 12 years 3 months ago
    • Thanks Shazdeh, I thought I did that before, but that did the trick. It also informed me on how to apply the same for custom post type entries.
    • Shazdeh's Avatar
    • Shazdeh
    • Elite Rocketeer
    • Posts: 4984
    • Thanks: 29

    Re: How to assign override to a single post page?

    Posted 12 years 3 months ago
    • Yeah, that's one of my favorite features of Gantry Framework, the overrides can be assigned to pretty much any context, which gives total control over every section of the website. 8)
    • Please don't PM unless requested ;)
      Consider using the custom stylesheet for all your CSS customizations: gantry-framework.org/documentation/wordp...custom_stylesheet.md .
      Please provide the URL to the issue.
      And please mark the thread as solved if the issue is resolved.

Time to create page: 0.062 seconds