Hi,
First of all, great module, I've been wanting to use blocks/views in a mega-menu for a long time!
I'm wondering how to start theming the modules, working off the starter themes. I'm using 'light' however I can't see any CSS for 'light' in the module's CSS files, only the other themes. Do I need to create the CSS for 'light' or am I better creating my own theme from scratch?
One of the problems which I've got at the moment is that I can't figure out what's controlling the margin around my menu blocks at the moment. If you have a look at http://demo.highfrequencytraders.com/node/2 (a demo site I'm building), you'll see the margin in question (I've made the block grey to make it visible). Where can I control this margin?
Thanks.
Comments
Comment #1
pbfleetwood commented+1
Comment #2
damienmckennaIf you use something like Web Inspector in Safari or Chrome or Firebug in Firefox you'll find that the padding is being inserted into the "qtip-content" div directly by qTip. What you ought to do is try out the newest version and create a custom style which defines your own custom settings, see the included API.txt for details; fyi I'll have another RC out hopefully today.
Comment #3
damienmckennaAm re-opening this so that I can update the README.txt file with instructions for theming.
Comment #4
damienmckennaTag.
Comment #5
erok415 commentedHi,
I still kinda nubish. I read your API.txt and have a few questions.
Q1.
Does this mean I should create a new module or add this new ...js file to the menu-minipanels directory? Excuse my ignorance, I have never created a module.
I may be going to far into this.
Basically, all I want to do is add rounded corners to the bottom left/right and not the entire container that is displayed. In the menu item settings, I can only provide 1 number which then gives a rounded corner to all corners of the container. It would be great if we could enter a series of numbers to modify each corner separately. Such as 0px 4px or 0px 4px 0px or 0px 4px 0px 4px flowing CSS standards. Just a thought.
Thanks,
E.
Comment #6
pbfleetwood commented@erok415, I've been able to style my megamenu via my theme's CSS file. I haven't touched any of the files in the module folder.
Comment #7
erok415 commentedPlease describe how you did it. All I want to do is add a rounded corner to the bottom left/right of the
Any clues on how to do this using the theme stylesheet?
E.
Comment #8
pbfleetwood commented@erok415, the following served my purpose. There are four qtip divs wrapped around the minipanel.
.qtip-content { padding: 0px !important; background-color: #f0f8ff !important; }Comment #9
erok415 commented@pbfleetwood
Outstanding! Here is what I did.
I had to remove the background color that is getting applied via qtip-light (maybe) or just the standard qtip JS file. Then I applied my styles to the
.qtip-contentas you suggested. The code is as follows.Thanks a bunch. Now my menu looks just like I intended it to.
E.
Comment #10
damienmckennaD6 needs this too.