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

#2 CSS_not_active.png77.93 KBmermemladeK


Jeff Burnz’s picture

I 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.

mermemladeK’s picture

new77.93 KB

I 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:

  width: 80px;
  display: inline;
  background-color: red;

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/

Jeff Burnz’s picture

.block-dynamic_persistent_menu-menu-item does not match any class, I think you mean

.block .dynamic-persistent-menu-menu-item {}