This project is not covered by Drupal’s security advisory policy.

APEX Publication is a sub-theme of APEX Theme for magazine, newspaper and journal sites. It adds a masthead strip above every page, a serif reading style and a 66-character text width.

Choose it when the date, a sign-in link and long-form reading come first.

Start here

  • Read about APEX Theme, the base theme that supplies the settings page, regions and templates
  • Install the APEX module suite, which this theme needs

What APEX Publication adds to APEX Theme

  • Masthead strip: opens every page above all other page chrome. It shows the date, in the site's time zone and language, and a "Sign in" link, or "My account" for a signed-in reader. It carries no navigation. When the "Header" region is empty, it also shows the site name and tagline.
  • Masthead landmark: the strip is a region labeled "Masthead", so the page does not get a second banner landmark.
  • Page order: otherwise the base theme's. APEX Publication replaces one part of the page, the area before the header.
  • Fonts: headings and body text use Source Serif Pro, Source Serif 4, Charter, Georgia and Times, in that order. Interface text uses Inter, then the system fonts. No font files are bundled, so the browser uses the fallbacks unless you load the fonts yourself.
  • Reading width: 66 characters. The CSS also defines a drop cap for an element with the class apex-publication-article__lead.
  • Default color scheme: editorial in light mode. The accent color follows the primary color of the active scheme. APEX Publication sets no fixed accent.
  • Three page looks: styles for a front page (pg-publication-home), a section front (pg-publication-section-index) and a series hub (pg-publication-series-project-hub).
  • Shared page chrome: the masthead, main menu, breadcrumb, title and footer columns are styled block by block, under the classes pg-publication-all-*.
  • Error pages: illustrations for the 403 and 404 pages.
  • Block placements: 17 optional block configurations. They place branding, the user menu, the main menu, the search and login overlays, the off-canvas menu, the footer menu, social icons, the copyright line, content, help, messages, the page title, breadcrumbs and local tasks.
  • Components: two Single Directory Components. apex-publication-masthead is placed by the theme. apex-publication-byline is not placed by any template, so you add it where you want it.

Limitations

The masthead has props for an issue label and a subscribe link, but the theme fills neither. To show them, override the masthead partial in your own theme.

Color schemes, regions and layouts that differ

APEX Publication declares the same 28 regions as APEX Theme, with no change. Its default color scheme is editorial. Layout choices are inherited unchanged.

What it inherits from APEX Theme

APEX Theme supplies the theme settings page, the color schemes, the layouts, the navigation and overlays, and the accessibility features. See the APEX Theme project page for those.

Installation: get started in 3 steps

  1. Install the sub-theme, its base theme and the APEX module suite with Composer:
    composer require drupal/apex_theme drupal/apex drupal/apex_publication
  2. Enable the modules and install the theme:
    drush apex:install --no-theme
    drush theme:install apex_publication
  3. Open Appearance, select "Install and set as default" for APEX Publication if it is not the default yet, then open Appearance → Settings → APEX Publication. The setting groups are "Global Site", "Header", "Back to Top" and "Loading & Transitions". Start with "Global Site".

Requirements

  • Drupal 11.3 or later, including Drupal 12
  • PHP 8.3 or later
  • APEX Theme as the base theme
  • The module sub_theme_helper from the APEX module suite. APEX Publication has no .theme file; its PHP lives in that module.

Support and maintenance

Questions, ideas, and bug reports are welcome. Please use this project’s issue queue so discussions and solutions remain available to the Drupal community.

Maintainers monitor issues, but response times depend on availability.

Flash Web Center, LLC. Drupal sites, themes and modules. Built and maintained by Alaa Haddad.

Developed and maintained by Alaa Haddad of Flash Web Center, LLC.

AI disclosure: AI tools assisted with drafting and reviewing this project description. The maintainer verified the final content against the project source.

Supporting organizations: 
Drupal development
Drupal hosting and maintenance

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Created by flashwebcenter on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases