Problem/Motivation

Smartmenus CSS is not loading properly.

Proposed resolution

in smartmenus.libraries.yml the path to the css theme files is incorrect. the four style themes are now in their own folders.
Lines 9-14 currently:

css:
    theme:
      /libraries/smartmenus/css/sm-blue.css: {}
      /libraries/smartmenus/css/sm-clean.css: {}
      /libraries/smartmenus/css/sm-mint.css: {}
      /libraries/smartmenus/css/sm-simple.css: {}

Lines 9-14 corrected:

css:
    theme:
      /libraries/smartmenus/css/sm-blue/sm-blue.css: {}
      /libraries/smartmenus/css/sm-clean/sm-clean.css: {}
      /libraries/smartmenus/css/sm-mint/sm-mint.css: {}
      /libraries/smartmenus/css/sm-simple/sm-simple.css: {}

Line 15 for sm-core-css.css does not need to change, as it is not in a subfolder:
/libraries/smartmenus/css/sm-core-css.css: {}

Remaining tasks

By editing the yml file, the included theme styles are now loading properly.

CommentFileSizeAuthor
#2 3175630-2.patch789 bytesRamya Balasubramanian
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jenlampton created an issue. See original summary.

Ramya Balasubramanian’s picture

Status: Active » Needs review
FileSize
789 bytes

Hi @jenlampton,
Please have a look at this patch.

jenlampton’s picture

Status: Needs review » Fixed

Thanks for your quick work @Ramya Balasubramanian, I really appreciate the speedy turn-around! You were able to write the patch 10x faster than I could test it :)

This fix has been committed to -dev and will be included in the next release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.