1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Apply Changes from Parent Style

Discussion in 'Styling and Customization Questions' started by Amaury, Jan 15, 2014.

  1. Amaury

    Amaury Well-Known Member

    If I have a child style inheriting template edits from a parent style, for example, is there a way I can apply all those template edits it's inheriting to the child style?

    This would make my making styles go a lot faster since we have a Template Central style we're using for all our edits while our site exclusive styles inherit those from it.
     
    Last edited: Jan 15, 2014
  2. Steve F

    Steve F Well-Known Member

    Any style will inherit the parent style edits so long as the said templates or style properties are default. If you edit a inherited template then that template will no longer be inheriting future template edits from the parent.
     
  3. Amaury

    Amaury Well-Known Member

    That's not really what I was asking, but how can I apply all those template edits it's inheriting all at once so it's no longer inheriting? Is that possible?
     
  4. Steve F

    Steve F Well-Known Member

    You mean to export the inherited edits?
     
  5. Amaury

    Amaury Well-Known Member

    Basically, yes.
     
  6. Russ

    Russ Well-Known Member

    There's a suggestion around here for that but unfortunately it doesn't work like that currently.
     
    Amaury likes this.
  7. Steve F

    Steve F Well-Known Member

    Currently child styles cannot export the edits from a parent, thus one of the main reasons for the frameworks you see for styles.

    You can possibly trick it into exporting parent edits by making small changes to the templates or properties but that could get really time consuming. :p
     

Share This Page