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

XF 1.4 Changing the separator (| to -)

Discussion in 'Styling and Customization Questions' started by Harry D, Sep 28, 2014.

  1. Harry D

    Harry D Member

    Simple enough question, with a simple enough answer (I hope!)

    I want to change the divider in page titles, for example:

    My Forum | News Section
    My Forum | Username1
    etc.

    to...

    My Forum - News Section
    My Forum - Username1

    Thanks,
     
  2. EQnoble

    EQnoble Well-Known Member

    You can edit the PAGE_CONTAINER template or you can setup a template modification.

    Find:

    HTML:
        <title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
    Replace with

    HTML:
        <title><xen:if is="{$title}">{xen:raw $title} - {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>
     
  3. Harry D

    Harry D Member

    Many thanks! :)
     

Share This Page