Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I installed Dynamic Persistent Menu which has no CSS.
I put it in the Features block as I want it to be on the top.
My question is, what CSS file should I modify in order to style this menu?
Thank you
Comment | File | Size | Author |
---|---|---|---|
#2 | CSS_not_active.png | 77.93 KB | mermemladeK |
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedI would add a new custom css file just for this, call it something like dpm.css and add it via the info file:
stylesheets[all][] = css/dpm.css
Make sure its last in the stylesheets declarations in the info file, so it loads last.
Comment #2
mermemladeK CreditAttribution: mermemladeK commentedI inserted
stylesheets[all][] = css/dpm.css
in file ./domains/catalanspelmon.com/public_html/sites/all/themes/corolla/corolla.info.And I wrote the following stylesheet in /domains/catalanspelmon.com/public_html/sites/all/themes/corolla/css/dpm.css:
However my site seems to remain unchanged. I inspect the CSS and they are indeed not applied (see the attached image) to the menu elements.
Any ideas why? My idea is to do something similar to http://www.kralovedvorsko.cz/
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commented.block-dynamic_persistent_menu-menu-item
does not match any class, I think you mean.block .dynamic-persistent-menu-menu-item {}