1

I cannot find where to modify the title from:

SiteName | SiteSlogan

to

SiteName - SiteSlogan

I am using the https://drupal.org/project/bootstrap theme.

Anyone have any ideas?

1

This thing is come under $head_title variable on html.tpl.php.

So for changing this you need to override template_preprocess_html

where replace statement

$variables['head_title'] = implode(' | ', $head_title);

with

$variables['head_title'] = implode(' - ', $head_title);

I am assuming you have enough idea about overriding of templates.

  • 1
    Thanks! That worked perfect. I didn't realize it was being set in the drupal core includes/theme.inc file. – jasonflaherty May 2 '14 at 18:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.